![]() |
LibrePCB Developers Documentation
|
The ComponentEditorWidget class. More...
#include <componenteditorwidget.h>
Inheritance diagram for ComponentEditorWidget:
Collaboration diagram for ComponentEditorWidget:Public Slots | |
| bool | save () noexcept override |
Public Slots inherited from EditorWidgetBase | |
| virtual bool | save () noexcept |
| virtual bool | selectAll () noexcept |
| virtual bool | cut () noexcept |
| virtual bool | copy () noexcept |
| virtual bool | paste () noexcept |
| virtual bool | move (Qt::ArrowType direction) noexcept |
| virtual bool | rotate (const librepcb::Angle &rotation) noexcept |
| virtual bool | mirror (Qt::Orientation orientation) noexcept |
| virtual bool | flip (Qt::Orientation orientation) noexcept |
| virtual bool | moveAlign () noexcept |
| virtual bool | snapToGrid () noexcept |
| virtual bool | remove () noexcept |
| virtual bool | editProperties () noexcept |
| virtual bool | zoomIn () noexcept |
| virtual bool | zoomOut () noexcept |
| virtual bool | zoomAll () noexcept |
| virtual bool | toggle3D () noexcept |
| virtual bool | abortCommand () noexcept |
| virtual bool | processGenerateOutline () noexcept |
| virtual bool | processGenerateCourtyard () noexcept |
| virtual bool | importDxf () noexcept |
| virtual bool | exportImage () noexcept |
| virtual bool | exportPdf () noexcept |
| virtual bool | print () noexcept |
| virtual bool | editGridProperties () noexcept |
| virtual bool | increaseGridInterval () noexcept |
| virtual bool | decreaseGridInterval () noexcept |
| virtual bool | toggleBackgroundImage () noexcept |
Private Member Functions | |
| void | updateMetadata () noexcept |
| QString | commitMetadata () noexcept |
| bool | openComponentSymbolVariantEditor (std::shared_ptr< ComponentSymbolVariant > variant) noexcept override |
| void | memorizeComponentInterface () noexcept |
| bool | isInterfaceBroken () const noexcept override |
| bool | runChecks (RuleCheckMessageList &msgs) const override |
| template<typename MessageType > | |
| void | fixMsg (const MessageType &msg) |
| template<typename MessageType > | |
| bool | fixMsgHelper (std::shared_ptr< const RuleCheckMessage > msg, bool applyFix) |
| bool | processRuleCheckMessage (std::shared_ptr< const RuleCheckMessage > msg, bool applyFix) override |
| void | ruleCheckApproveRequested (std::shared_ptr< const RuleCheckMessage > msg, bool approve) noexcept override |
Private Attributes | |
| QScopedPointer< Ui::ComponentEditorWidget > | mUi |
| QScopedPointer< CategoryListEditorWidget > | mCategoriesEditorWidget |
| std::shared_ptr< Component > | mComponent |
| bool | mOriginalIsSchematicOnly |
| QSet< Uuid > | mOriginalSignalUuids |
| ComponentSymbolVariantList | mOriginalSymbolVariants |
Additional Inherited Members | |
Public Types inherited from EditorWidgetBase | |
| enum | Tool |
| enum class | Feature |
Signals inherited from EditorWidgetBase | |
| void | dirtyChanged (bool dirty) |
| void | elementEdited (const librepcb::FilePath &fp) |
| void | interfaceBrokenChanged (bool broken) |
| void | errorsAvailableChanged (bool hasErrors) |
| void | availableFeaturesChanged (const QSet< librepcb::editor::EditorWidgetBase::Feature > &features) |
Protected Member Functions inherited from EditorWidgetBase | |
| void | setupInterfaceBrokenWarningWidget (QWidget &widget) noexcept |
| void | setupErrorNotificationWidget (QWidget &widget) noexcept |
| virtual bool | toolChangeRequested (Tool newTool, const QVariant &mode) noexcept |
| void | setMessageApproved (LibraryBaseElement &element, std::shared_ptr< const RuleCheckMessage > msg, bool approve) noexcept |
| virtual bool | execGraphicsExportDialog (GraphicsExportDialog::Output output, const QString &settingsKey) noexcept |
| void | undoStackStateModified () noexcept |
| void | setStatusBarMessage (const QString &message, int timeoutMs=-1) noexcept |
| const QStringList & | getLibLocaleOrder () const noexcept |
| QString | getWorkspaceSettingsUserName () noexcept |
Protected Member Functions inherited from IF_RuleCheckHandler | |
| IF_RuleCheckHandler () noexcept | |
| IF_RuleCheckHandler (const IF_RuleCheckHandler &) noexcept | |
| virtual | ~IF_RuleCheckHandler () noexcept |
Protected Attributes inherited from EditorWidgetBase | |
| Context | mContext |
| FilePath | mFilePath |
| std::shared_ptr< TransactionalFileSystem > | mFileSystem |
| QScopedPointer< UndoStack > | mUndoStack |
| UndoStackActionGroup * | mUndoStackActionGroup |
| ExclusiveActionGroup * | mToolsActionGroup |
| StatusBar * | mStatusBar |
| QScopedPointer< ToolBarProxy > | mCommandToolBarProxy |
| bool | mManualModificationsMade |
| Modifications bypassing the undo stack. | |
| bool | mIsInterfaceBroken |
| QString | mStatusBarMessage |
| QSet< SExpression > | mSupportedApprovals |
| QSet< SExpression > | mDisappearedApprovals |
The ComponentEditorWidget class.
|
delete |
|
delete |
| ComponentEditorWidget | ( | const Context & | context, |
| const FilePath & | fp, | ||
| QWidget * | parent = nullptr |
||
| ) |
|
noexcept |
|
overridevirtualnoexcept |
Implements EditorWidgetBase.
|
delete |
|
overrideslotnoexcept |
Here is the call graph for this function:
|
privatenoexcept |
|
privatenoexcept |
Here is the call graph for this function:
|
overrideprivatevirtualnoexcept |
|
privatenoexcept |
|
overrideprivatevirtualnoexcept |
|
overrideprivatevirtual |
Implements EditorWidgetBase.
|
private |
|
private |
|
overrideprivatevirtual |
Implements EditorWidgetBase.
|
overrideprivatevirtualnoexcept |
Implements IF_RuleCheckHandler.
| void fixMsg | ( | const MsgNameNotTitleCase & | msg | ) |
Here is the call graph for this function:| void fixMsg | ( | const MsgMissingAuthor & | msg | ) |
| void fixMsg | ( | const MsgMissingCategories & | msg | ) |
| void fixMsg | ( | const MsgMissingComponentDefaultValue & | msg | ) |
| void fixMsg | ( | const MsgMissingSymbolVariant & | msg | ) |
Here is the call graph for this function:| void fixMsg | ( | const MsgNonFunctionalComponentSignalInversionSign & | msg | ) |
Here is the call graph for this function:| void fixMsg | ( | const MsgNoPinsInSymbolVariantConnected & | msg | ) |
Here is the call graph for this function:
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |