![]() |
LibrePCB Developers Documentation
|
The MainWindow class. More...
#include <mainwindow.h>
Inherits QObject.
Collaboration diagram for MainWindow:Signals | |
| void | aboutToClose () |
Public Member Functions | |
| MainWindow ()=delete | |
| MainWindow (const MainWindow &other)=delete | |
| MainWindow (GuiApplication &app, slint::ComponentHandle< ui::AppWindow > win, int id, QObject *parent=nullptr) noexcept | |
| ~MainWindow () noexcept | |
| int | getId () const noexcept |
| bool | isCurrentWindow () const noexcept |
| void | makeCurrentWindow () noexcept |
| void | showPanelPage (ui::PanelPage page) noexcept |
| void | popUpNotifications () noexcept |
| void | showStatusBarMessage (const QString &message, int timeoutMs) |
| void | setCurrentLibrary (int index) noexcept |
| void | setCurrentProject (int index) noexcept |
| MainWindow & | operator= (const MainWindow &rhs)=delete |
Private Member Functions | |
| slint::CloseRequestResponse | closeRequested () noexcept |
| void | trigger (ui::Action a) noexcept |
| void | triggerSection (int section, ui::WindowSectionAction a) noexcept |
| void | triggerTab (int section, int tab, ui::TabAction a) noexcept |
| void | triggerLibrary (slint::SharedString path, ui::LibraryAction a) noexcept |
| void | triggerLibraryElement (slint::SharedString path, ui::LibraryElementAction a) noexcept |
| void | triggerProject (int index, ui::ProjectAction a) noexcept |
| void | triggerSchematic (int project, int schematic, ui::SchematicAction a) noexcept |
| void | triggerBoard (int project, int board, ui::BoardAction a) noexcept |
| void | openLibraryTab (const FilePath &fp, bool wizardMode) noexcept |
| void | openComponentCategoryTab (LibraryEditor &editor, const FilePath &fp, bool copyFrom) noexcept |
| void | openPackageCategoryTab (LibraryEditor &editor, const FilePath &fp, bool copyFrom) noexcept |
| void | openSymbolTab (LibraryEditor &editor, const FilePath &fp, bool copyFrom) noexcept |
| void | openPackageTab (LibraryEditor &editor, const FilePath &fp) noexcept |
| void | openComponentTab (LibraryEditor &editor, const FilePath &fp) noexcept |
| void | openDeviceTab (LibraryEditor &editor, const FilePath &fp) noexcept |
| void | openSchematicTab (int projectIndex, int index) noexcept |
| void | openBoard2dTab (int projectIndex, int index) noexcept |
| void | openBoard3dTab (int projectIndex, int index) noexcept |
| void | splitSection (int index, bool makeCurrent) noexcept |
| void | updateHomeTabSection () noexcept |
| void | addTab (std::shared_ptr< WindowTab > tab) noexcept |
| template<typename T > | |
| bool | switchToTab () noexcept |
| template<typename T > | |
| bool | switchToLibraryElementTab (const FilePath &fp) noexcept |
| template<typename T > | |
| bool | switchToProjectTab (int prjIndex, int objIndex) noexcept |
Private Attributes | |
| const int | mId |
| const QString | mSettingsPrefix |
| GuiApplication & | mApp |
| slint::ComponentHandle< ui::AppWindow > | mWindow |
| QWidget * | mWidget |
| std::shared_ptr< UiObjectList< WindowSection, ui::WindowSectionData > > | mSections |
| std::unique_ptr< ProjectReadmeRenderer > | mProjectPreviewRenderer |
| std::unique_ptr< MainWindowTestAdapter > | mTestAdapter |
Friends | |
| class | MainWindowTestAdapter |
The MainWindow class.
|
delete |
|
delete |
|
explicitnoexcept |
Here is the call graph for this function:
|
noexcept |
|
inlinenoexcept |
|
noexcept |
|
noexcept |
|
noexcept |
Here is the caller graph for this function:
|
noexcept |
Here is the call graph for this function:| void showStatusBarMessage | ( | const QString & | message, |
| int | timeoutMs | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
noexcept |
|
noexcept |
|
delete |
|
signal |
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:
|
privatenoexcept |
Here is the call graph for this function:
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
Here is the call graph for this function:
|
privatenoexcept |
Here is the call graph for this function:
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
Here is the call graph for this function:
|
privatenoexcept |
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:
|
privatenoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
privatenoexcept |
Here is the caller graph for this function:
|
privatenoexcept |
Here is the caller graph for this function:
|
privatenoexcept |
Here is the caller graph for this function:
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
Here is the call graph for this function:
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
friend |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |