![]() |
LibrePCB Developers Documentation
|
The PackageCategoryEditorWidget class. More...
#include <packagecategoryeditorwidget.h>
Public Slots | |
bool | save () noexcept override |
![]() | |
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 | 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 |
Public Member Functions | |
PackageCategoryEditorWidget ()=delete | |
PackageCategoryEditorWidget (const PackageCategoryEditorWidget &other)=delete | |
PackageCategoryEditorWidget (const Context &context, const FilePath &fp, QWidget *parent=nullptr) | |
~PackageCategoryEditorWidget () noexcept | |
QSet< Feature > | getAvailableFeatures () const noexcept override |
PackageCategoryEditorWidget & | operator= (const PackageCategoryEditorWidget &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 void | connectEditor (UndoStackActionGroup &undoStackActionGroup, ExclusiveActionGroup &toolsActionGroup, QToolBar &commandToolBar, StatusBar &statusBar) noexcept |
virtual void | disconnectEditor () noexcept |
EditorWidgetBase & | operator= (const EditorWidgetBase &rhs)=delete |
Private Member Functions | |
void | updateMetadata () noexcept |
QString | commitMetadata () 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 |
void | btnChooseParentCategoryClicked () noexcept |
void | btnResetParentCategoryClicked () noexcept |
void | updateCategoryLabel () noexcept |
Private Attributes | |
QScopedPointer< Ui::PackageCategoryEditorWidget > | mUi |
std::unique_ptr< PackageCategory > | mCategory |
tl::optional< Uuid > | mParentUuid |
The PackageCategoryEditorWidget class.
|
delete |
|
delete |
PackageCategoryEditorWidget | ( | const Context & | context, |
const FilePath & | fp, | ||
QWidget * | parent = nullptr |
||
) |
|
noexcept |
|
overridevirtualnoexcept |
Implements EditorWidgetBase.
|
delete |
|
overrideslotnoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
inlineoverrideprivatevirtualnoexcept |
Implements EditorWidgetBase.
|
overrideprivatevirtual |
Implements EditorWidgetBase.
|
private |
|
private |
|
overrideprivatevirtual |
Implements EditorWidgetBase.
|
overrideprivatevirtualnoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
void fixMsg | ( | const MsgNameNotTitleCase & | msg | ) |
void fixMsg | ( | const MsgMissingAuthor & | msg | ) |
|
private |
|
private |
|
private |