![]() |
LibrePCB Developers Documentation
|
Specialized base class for all library editor tabs. More...
#include <libraryeditortab.h>
Inheritance diagram for LibraryEditorTab:
Collaboration diagram for LibraryEditorTab:Public Member Functions | |
| LibraryEditorTab ()=delete | |
| LibraryEditorTab (const LibraryEditorTab &other)=delete | |
| LibraryEditorTab (LibraryEditor &editor, QObject *parent=nullptr) noexcept | |
| virtual | ~LibraryEditorTab () noexcept |
| virtual FilePath | getDirectoryPath () const noexcept=0 |
| LibraryEditorTab & | operator= (const LibraryEditorTab &rhs)=delete |
Public Member Functions inherited from WindowTab | |
| WindowTab ()=delete | |
| WindowTab (const WindowTab &other)=delete | |
| WindowTab (GuiApplication &app, QObject *parent=nullptr) noexcept | |
| virtual | ~WindowTab () noexcept |
| virtual ui::TabData | getUiData () const noexcept=0 |
| virtual void | setUiData (const ui::TabData &data) noexcept |
| virtual void | activate () noexcept |
| virtual void | deactivate () noexcept |
| virtual void | trigger (ui::TabAction a) noexcept |
| virtual slint::Image | renderScene (float width, float height, int scene) noexcept |
| virtual bool | processScenePointerEvent (const QPointF &pos, slint::private_api::PointerEvent e) noexcept |
| virtual bool | processSceneScrolled (const QPointF &pos, slint::private_api::PointerScrollEvent e) noexcept |
| virtual bool | processSceneKeyEvent (const slint::private_api::KeyEvent &e) noexcept |
| virtual bool | requestClose () noexcept |
| Request to close the tab. | |
| WindowTab & | operator= (const WindowTab &rhs)=delete |
Protected Member Functions | |
| bool | isPathOutsideLibDir () const noexcept |
| bool | hasUnsavedChanges () const noexcept |
| void | scheduleChecks () noexcept |
| void | runChecks () noexcept |
| virtual std::optional< std::pair< RuleCheckMessageList, QSet< SExpression > > > | runChecksImpl ()=0 |
| virtual bool | autoFixImpl (const std::shared_ptr< const RuleCheckMessage > &msg, bool checkOnly)=0 |
| virtual void | messageApprovalChanged (const SExpression &approval, bool approved) noexcept=0 |
| virtual void | notifyDerivedUiDataChanged () noexcept=0 |
| QString | getWorkspaceSettingsUserName () const noexcept |
Protected Attributes | |
| LibraryEditor & | mEditor |
| std::unique_ptr< UndoStack > | mUndoStack |
| bool | mManualModificationsMade |
| QSet< SExpression > | mSupportedApprovals |
| QSet< SExpression > | mDisappearedApprovals |
| std::shared_ptr< RuleCheckMessagesModel > | mCheckMessages |
| slint::SharedString | mCheckError |
| QTimer | mRuleCheckDelayTimer |
Protected Attributes inherited from WindowTab | |
| GuiApplication & | mApp |
Private Member Functions | |
| bool | autoFixHandler (const std::shared_ptr< const RuleCheckMessage > &msg, bool checkOnly) noexcept |
Additional Inherited Members | |
Signals inherited from WindowTab | |
| void | panelPageRequested (ui::PanelPage p) |
| void | closeRequested () |
| void | closeEnforced () |
| void | statusBarMessageChanged (const QString &message, int timeoutMs) |
| void | cursorCoordinatesChanged (const Point &pos, const LengthUnit &unit) |
Public Attributes inherited from WindowTab | |
| Signal< WindowTab > | onUiDataChanged |
Specialized base class for all library editor tabs.
|
delete |
|
delete |
|
explicitnoexcept |
Here is the call graph for this function:
|
virtualnoexcept |
Here is the call graph for this function:
|
pure virtualnoexcept |
Implemented in ComponentCategoryTab, PackageCategoryTab, LibraryTab, and SymbolTab.
Here is the caller graph for this function:
|
delete |
|
protectednoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
protectednoexcept |
Here is the caller graph for this function:
|
protectednoexcept |
Here is the caller graph for this function:
|
protectednoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
protectedpure virtual |
Implemented in ComponentCategoryTab, PackageCategoryTab, LibraryTab, and SymbolTab.
Here is the caller graph for this function:
|
protectedpure virtual |
Implemented in ComponentCategoryTab, PackageCategoryTab, LibraryTab, and SymbolTab.
|
protectedpure virtualnoexcept |
Implemented in ComponentCategoryTab, PackageCategoryTab, LibraryTab, and SymbolTab.
Here is the caller graph for this function:
|
protectedpure virtualnoexcept |
Implemented in ComponentCategoryTab, PackageCategoryTab, LibraryTab, and SymbolTab.
Here is the caller graph for this function:
|
protectednoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
privatenoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |