LibrePCB Developers Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ComponentSymbolVariantListWidget Class Referencefinal

The ComponentSymbolVariantListWidget class. More...

#include <componentsymbolvariantlistwidget.h>

Inherits QWidget.

+ Collaboration diagram for ComponentSymbolVariantListWidget:

Public Member Functions

 ComponentSymbolVariantListWidget (QWidget *parent=nullptr) noexcept
 
 ComponentSymbolVariantListWidget (const ComponentSymbolVariantListWidget &other)=delete
 
 ~ComponentSymbolVariantListWidget () noexcept
 
void setReferences (UndoStack *undoStack, ComponentSymbolVariantList *list, IF_ComponentSymbolVariantEditorProvider *editorProvider) noexcept
 
ComponentSymbolVariantListWidgetoperator= (const ComponentSymbolVariantListWidget &rhs)=delete
 

Private Member Functions

void btnEditClicked (const QVariant &data) noexcept
 
void viewDoubleClicked (const QModelIndex &index) noexcept
 
void editVariant (const Uuid &uuid) noexcept
 

Private Attributes

QScopedPointer
< ComponentSymbolVariantListModel
mModel
 
QScopedPointer
< EditableTableWidget
mView
 
ComponentSymbolVariantListmSymbolVariantList
 
UndoStackmUndoStack
 
IF_ComponentSymbolVariantEditorProvidermEditorProvider
 

Detailed Description

Constructor & Destructor Documentation

ComponentSymbolVariantListWidget ( QWidget *  parent = nullptr)
explicitnoexcept

+ Here is the call graph for this function:

Member Function Documentation

void setReferences ( UndoStack undoStack,
ComponentSymbolVariantList list,
IF_ComponentSymbolVariantEditorProvider editorProvider 
)
noexcept
void btnEditClicked ( const QVariant &  data)
privatenoexcept

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void viewDoubleClicked ( const QModelIndex &  index)
privatenoexcept

+ Here is the caller graph for this function:

void editVariant ( const Uuid uuid)
privatenoexcept

+ Here is the call graph for this function:

Member Data Documentation

QScopedPointer<ComponentSymbolVariantListModel> mModel
private
QScopedPointer<EditableTableWidget> mView
private
ComponentSymbolVariantList* mSymbolVariantList
private
UndoStack* mUndoStack
private
IF_ComponentSymbolVariantEditorProvider* mEditorProvider
private

The documentation for this class was generated from the following files: