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

The ComponentSymbolVariantItemListEditorWidget class. More...

#include <componentsymbolvariantitemlisteditorwidget.h>

Inherits QWidget.

+ Collaboration diagram for ComponentSymbolVariantItemListEditorWidget:

Signals

void edited ()
 
void triggerGraphicsItemsUpdate ()
 

Public Member Functions

 ComponentSymbolVariantItemListEditorWidget (QWidget *parent=nullptr) noexcept
 
 ComponentSymbolVariantItemListEditorWidget (const ComponentSymbolVariantItemListEditorWidget &other)=delete
 
 ~ComponentSymbolVariantItemListEditorWidget () noexcept
 
void setReferences (const workspace::Workspace &ws, const IF_GraphicsLayerProvider &layerProvider, ComponentSymbolVariantItemList &items, const std::shared_ptr< const LibraryElementCache > &symbolCache, UndoStack *undoStack) noexcept
 
ComponentSymbolVariantItemListEditorWidgetoperator= (const ComponentSymbolVariantItemListEditorWidget &rhs)=delete
 

Private Member Functions

void itemListEdited (const ComponentSymbolVariantItemList &list, int index, const std::shared_ptr< const ComponentSymbolVariantItem > &item, ComponentSymbolVariantItemList::Event event) noexcept
 
void itemEdited (const ComponentSymbolVariantItemList &list, int index, const std::shared_ptr< const ComponentSymbolVariantItem > &item, ComponentSymbolVariantItem::Event event) noexcept
 
void btnSymbolBrowseClicked (const QVariant &data) noexcept
 

Private Attributes

QScopedPointer
< ComponentSymbolVariantItemListModel
mModel
 
QScopedPointer
< EditableTableWidget
mView
 
const workspace::WorkspacemWorkspace
 
const IF_GraphicsLayerProvidermLayerProvider
 
ComponentSymbolVariantItemList::OnEditedSlot mOnItemListEditedSlot
 
ComponentSymbolVariantItemList::OnElementEditedSlot mOnItemEditedSlot
 

Detailed Description

Constructor & Destructor Documentation

ComponentSymbolVariantItemListEditorWidget ( QWidget *  parent = nullptr)
explicitnoexcept

+ Here is the call graph for this function:

Member Function Documentation

void setReferences ( const workspace::Workspace ws,
const IF_GraphicsLayerProvider layerProvider,
ComponentSymbolVariantItemList items,
const std::shared_ptr< const LibraryElementCache > &  symbolCache,
UndoStack undoStack 
)
noexcept
void edited ( )
signal

+ Here is the caller graph for this function:

void triggerGraphicsItemsUpdate ( )
signal

+ Here is the caller graph for this function:

void itemListEdited ( const ComponentSymbolVariantItemList list,
int  index,
const std::shared_ptr< const ComponentSymbolVariantItem > &  item,
ComponentSymbolVariantItemList::Event  event 
)
privatenoexcept
void itemEdited ( const ComponentSymbolVariantItemList list,
int  index,
const std::shared_ptr< const ComponentSymbolVariantItem > &  item,
ComponentSymbolVariantItem::Event  event 
)
privatenoexcept
void btnSymbolBrowseClicked ( const QVariant &  data)
privatenoexcept

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

QScopedPointer<ComponentSymbolVariantItemListModel> mModel
private
QScopedPointer<EditableTableWidget> mView
private
const workspace::Workspace* mWorkspace
private
const IF_GraphicsLayerProvider* mLayerProvider
private
ComponentSymbolVariantItemList::OnEditedSlot mOnItemListEditedSlot
private

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