LibrePCB Developers Documentation
ComponentSymbolVariantEditDialog Class Referencefinal

The ComponentSymbolVariantEditDialog class. More...

#include <componentsymbolvarianteditdialog.h>

Inherits QDialog.

+ Collaboration diagram for ComponentSymbolVariantEditDialog:

Public Member Functions

 ComponentSymbolVariantEditDialog ()=delete
 
 ComponentSymbolVariantEditDialog (const ComponentSymbolVariantEditDialog &other)=delete
 
 ComponentSymbolVariantEditDialog (const workspace::Workspace &ws, const Component &cmp, ComponentSymbolVariant &symbVar, QWidget *parent=nullptr) noexcept
 
 ~ComponentSymbolVariantEditDialog () noexcept
 
ComponentSymbolVariantEditDialogoperator= (const ComponentSymbolVariantEditDialog &rhs)=delete
 

Private Member Functions

void accept () noexcept override
 
void updateGraphicsItems () noexcept
 

Private Attributes

const workspace::WorkspacemWorkspace
 
const ComponentmComponent
 
ComponentSymbolVariantmOriginalSymbVar
 
ComponentSymbolVariant mSymbVar
 
QScopedPointer< GraphicsScenemGraphicsScene
 
QScopedPointer< DefaultGraphicsLayerProvidermGraphicsLayerProvider
 
std::shared_ptr< LibraryElementCachemLibraryElementCache
 
QScopedPointer< Ui::ComponentSymbolVariantEditDialog > mUi
 
QList< std::shared_ptr< Symbol > > mSymbols
 
QList< std::shared_ptr< SymbolGraphicsItem > > mGraphicsItems
 

Detailed Description

Constructor & Destructor Documentation

◆ ComponentSymbolVariantEditDialog() [1/3]

◆ ComponentSymbolVariantEditDialog() [2/3]

◆ ComponentSymbolVariantEditDialog() [3/3]

ComponentSymbolVariantEditDialog ( const workspace::Workspace ws,
const Component cmp,
ComponentSymbolVariant symbVar,
QWidget *  parent = nullptr 
)
noexcept
+ Here is the call graph for this function:

◆ ~ComponentSymbolVariantEditDialog()

Member Function Documentation

◆ operator=()

◆ accept()

void accept ( )
overrideprivatenoexcept
+ Here is the call graph for this function:

◆ updateGraphicsItems()

void updateGraphicsItems ( )
privatenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ mWorkspace

const workspace::Workspace& mWorkspace
private

◆ mComponent

const Component& mComponent
private

◆ mOriginalSymbVar

ComponentSymbolVariant& mOriginalSymbVar
private

◆ mSymbVar

ComponentSymbolVariant mSymbVar
private

◆ mGraphicsScene

QScopedPointer<GraphicsScene> mGraphicsScene
private

◆ mGraphicsLayerProvider

QScopedPointer<DefaultGraphicsLayerProvider> mGraphicsLayerProvider
private

◆ mLibraryElementCache

std::shared_ptr<LibraryElementCache> mLibraryElementCache
private

◆ mUi

QScopedPointer<Ui::ComponentSymbolVariantEditDialog> mUi
private

◆ mSymbols

QList<std::shared_ptr<Symbol> > mSymbols
private

◆ mGraphicsItems

QList<std::shared_ptr<SymbolGraphicsItem> > mGraphicsItems
private

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