LibrePCB Developers Documentation
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< ComponentSymbolVariantListModelmModel
 
QScopedPointer< EditableTableWidgetmView
 
ComponentSymbolVariantListmSymbolVariantList
 
UndoStackmUndoStack
 
IF_ComponentSymbolVariantEditorProvidermEditorProvider
 

Detailed Description

Constructor & Destructor Documentation

◆ ComponentSymbolVariantListWidget() [1/2]

ComponentSymbolVariantListWidget ( QWidget *  parent = nullptr)
explicitnoexcept
+ Here is the call graph for this function:

◆ ComponentSymbolVariantListWidget() [2/2]

◆ ~ComponentSymbolVariantListWidget()

Member Function Documentation

◆ setReferences()

void setReferences ( UndoStack undoStack,
ComponentSymbolVariantList list,
IF_ComponentSymbolVariantEditorProvider editorProvider 
)
noexcept

◆ operator=()

◆ btnEditClicked()

void btnEditClicked ( const QVariant &  data)
privatenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ viewDoubleClicked()

void viewDoubleClicked ( const QModelIndex &  index)
privatenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ editVariant()

void editVariant ( const Uuid uuid)
privatenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ mModel

QScopedPointer<ComponentSymbolVariantListModel> mModel
private

◆ mView

QScopedPointer<EditableTableWidget> mView
private

◆ mSymbolVariantList

ComponentSymbolVariantList* mSymbolVariantList
private

◆ mUndoStack

UndoStack* mUndoStack
private

◆ mEditorProvider

IF_ComponentSymbolVariantEditorProvider* mEditorProvider
private

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