The GuiApplication class.
More...
#include <guiapplication.h>
Inherits QObject.
|
| bool | eventFilter (QObject *watched, QEvent *event) noexcept override |
| |
◆ GuiApplication() [1/3]
◆ GuiApplication() [2/3]
◆ GuiApplication() [3/3]
◆ ~GuiApplication()
◆ getWorkspace()
◆ getQuickAccess()
◆ openFile()
| void openFile |
( |
const FilePath & |
fp, |
|
|
QWidget * |
parent |
|
) |
| |
|
noexcept |
◆ switchWorkspace()
| void switchWorkspace |
( |
QWidget * |
parent | ) |
|
|
noexcept |
◆ execWorkspaceSettingsDialog()
| void execWorkspaceSettingsDialog |
( |
QWidget * |
parent | ) |
|
|
noexcept |
◆ addExampleProjects()
| void addExampleProjects |
( |
QWidget * |
parent | ) |
|
|
noexcept |
◆ getLocalLibraries()
◆ getRemoteLibraries()
◆ getLibraries()
| const QVector< std::shared_ptr< LibraryEditor > > & getLibraries |
( |
| ) |
|
|
inlinenoexcept |
◆ getLibrary()
◆ openLibrary()
◆ closeLibrary()
| void closeLibrary |
( |
const FilePath & |
libDir | ) |
|
|
noexcept |
◆ requestClosingAllLibraries()
| bool requestClosingAllLibraries |
( |
| ) |
|
|
noexcept |
◆ getProjects()
| const QVector< std::shared_ptr< ProjectEditor > > & getProjects |
( |
| ) |
|
|
inlinenoexcept |
◆ createProject()
| void createProject |
( |
const FilePath & |
parentDir, |
|
|
bool |
eagleImport, |
|
|
QWidget * |
parent |
|
) |
| |
|
noexcept |
◆ openProject()
Open a project with the editor.
- Parameters
-
| fp | The filepath to the *.lpp project file to open. If invalid, a file dialog will be shown to select it. |
| parent | Parent widget for dialogs. |
- Returns
- The pointer to the opened project editor (nullptr on error)
◆ closeProject()
| void closeProject |
( |
int |
index | ) |
|
|
noexcept |
◆ requestClosingAllProjects()
| bool requestClosingAllProjects |
( |
| ) |
|
|
noexcept |
◆ getNotifications()
◆ createNewWindow()
| void createNewWindow |
( |
int |
id = -1, |
|
|
int |
projectIndex = -1 |
|
) |
| |
|
noexcept |
◆ getWindowCount()
| int getWindowCount |
( |
| ) |
const |
|
noexcept |
◆ stopWindowStateAutosaveTimer()
| void stopWindowStateAutosaveTimer |
( |
| ) |
|
|
noexcept |
◆ exec()
◆ quit()
| void quit |
( |
QPointer< QWidget > |
parent | ) |
|
|
noexcept |
◆ operator=()
◆ statusBarMessageChanged
| void statusBarMessageChanged |
( |
const QString & |
message, |
|
|
int |
timeoutMs |
|
) |
| |
|
signal |
◆ librariesContainStandardComponentsChanged
| void librariesContainStandardComponentsChanged |
( |
bool |
contains | ) |
|
|
signal |
◆ eventFilter()
| bool eventFilter |
( |
QObject * |
watched, |
|
|
QEvent * |
event |
|
) |
| |
|
overrideprotectednoexcept |
◆ openProjectsPassedByCommandLine()
| void openProjectsPassedByCommandLine |
( |
| ) |
|
|
privatenoexcept |
◆ openProjectPassedByOs()
| void openProjectPassedByOs |
( |
const QString & |
file, |
|
|
bool |
silent = false |
|
) |
| |
|
privatenoexcept |
◆ openProjectLibraryUpdater()
| void openProjectLibraryUpdater |
( |
const FilePath & |
project | ) |
|
|
privatenoexcept |
◆ getCurrentWindow()
| std::shared_ptr< MainWindow > getCurrentWindow |
( |
| ) |
|
|
privatenoexcept |
◆ updateLibrariesContainStandardComponents()
| void updateLibrariesContainStandardComponents |
( |
| ) |
|
|
privatenoexcept |
◆ updateNoLibrariesInstalledNotification()
| void updateNoLibrariesInstalledNotification |
( |
| ) |
|
|
privatenoexcept |
◆ updateDesktopIntegrationNotification()
| void updateDesktopIntegrationNotification |
( |
| ) |
|
|
privatenoexcept |
◆ mWorkspace
◆ mLibrariesContainStandardComponents
| bool mLibrariesContainStandardComponents |
|
private |
◆ mNotifications
◆ mNotificationNoLibrariesInstalled
| std::shared_ptr<Notification> mNotificationNoLibrariesInstalled |
|
private |
◆ mNotificationDesktopIntegration
| std::shared_ptr<Notification> mNotificationDesktopIntegration |
|
private |
◆ mQuickAccessModel
◆ mLocalLibraries
◆ mRemoteLibraries
◆ mLibrariesFilter
◆ mProjects
◆ mLibraries
◆ mProjectLibraryUpdater
◆ mWindows
◆ mSaveOpenedWindowsCountdown
| QTimer mSaveOpenedWindowsCountdown |
|
private |
The documentation for this class was generated from the following files: