![]() |
LibrePCB Developers Documentation
|
The ComponentCategoryEditorWidget class. More...
#include <componentcategoryeditorwidget.h>
Public Slots | |
bool | save () noexceptoverride |
![]() | |
virtual bool | save () noexcept |
virtual bool | rotateCw () noexcept |
virtual bool | rotateCcw () noexcept |
virtual bool | remove () noexcept |
virtual bool | zoomIn () noexcept |
virtual bool | zoomOut () noexcept |
virtual bool | zoomAll () noexcept |
virtual bool | abortCommand () noexcept |
virtual bool | editGridProperties () noexcept |
Public Member Functions | |
ComponentCategoryEditorWidget ()=delete | |
ComponentCategoryEditorWidget (const ComponentCategoryEditorWidget &other)=delete | |
ComponentCategoryEditorWidget (const Context &context, const FilePath &fp, QWidget *parent=nullptr) | |
~ComponentCategoryEditorWidget () noexcept | |
ComponentCategoryEditorWidget & | operator= (const ComponentCategoryEditorWidget &rhs)=delete |
template<> | |
void | fixMsg (const MsgNameNotTitleCase &msg) |
template<> | |
void | fixMsg (const MsgMissingAuthor &msg) |
![]() | |
EditorWidgetBase ()=delete | |
EditorWidgetBase (const EditorWidgetBase &other)=delete | |
EditorWidgetBase (const Context &context, const FilePath &fp, QWidget *parent=nullptr) | |
virtual | ~EditorWidgetBase () noexcept |
const FilePath & | getFilePath () const noexcept |
bool | isDirty () const noexcept |
virtual bool | hasGraphicalEditor () const noexcept |
virtual void | setUndoStackActionGroup (UndoStackActionGroup *group) noexcept |
virtual void | setToolsActionGroup (ExclusiveActionGroup *group) noexcept |
virtual void | setCommandToolBar (QToolBar *toolbar) noexcept |
EditorWidgetBase & | operator= (const EditorWidgetBase &rhs)=delete |
Private Member Functions | |
void | updateMetadata () noexcept |
QString | commitMetadata () noexcept |
bool | isInterfaceBroken () const noexceptoverride |
bool | runChecks (LibraryElementCheckMessageList &msgs) const override |
template<typename MessageType > | |
void | fixMsg (const MessageType &msg) |
template<typename MessageType > | |
bool | fixMsgHelper (std::shared_ptr< const LibraryElementCheckMessage > msg, bool applyFix) |
bool | processCheckMessage (std::shared_ptr< const LibraryElementCheckMessage > msg, bool applyFix) override |
void | btnChooseParentCategoryClicked () noexcept |
void | btnResetParentCategoryClicked () noexcept |
void | updateCategoryLabel () noexcept |
Private Attributes | |
QScopedPointer < Ui::ComponentCategoryEditorWidget > | mUi |
QScopedPointer< ComponentCategory > | mCategory |
tl::optional< Uuid > | mParentUuid |
The ComponentCategoryEditorWidget class.
|
delete |
|
delete |
ComponentCategoryEditorWidget | ( | const Context & | context, |
const FilePath & | fp, | ||
QWidget * | parent = nullptr |
||
) |
|
noexcept |
|
delete |
|
overrideslotnoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
inlineoverrideprivatevirtualnoexcept |
Implements EditorWidgetBase.
|
overrideprivatevirtual |
Implements EditorWidgetBase.
|
private |
|
private |
|
overrideprivatevirtual |
Implements EditorWidgetBase.
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
void fixMsg | ( | const MsgNameNotTitleCase & | msg | ) |
void fixMsg | ( | const MsgMissingAuthor & | msg | ) |
|
private |
|
private |
|
private |