LibEngsas
|
Used as a standard main window for the standalone application of an EPart. More...
#include <epartmainwindow.h>
Public Member Functions | |
EPartMainWindow (QWidget *parent=0, Qt::WindowFlags flags=0) | |
EPart::InitState | init (EPart *part, ECmdLineArgs *args) |
![]() | |
EMainWindow (QWidget *parent=0, Qt::WindowFlags flags=0) | |
virtual | ~EMainWindow () |
void | setWindowTitle (const QString &title) |
Protected Slots | |
void | editSetupWizard () |
void | editSettings () |
void | helpDependencies () |
void | helpAbout () |
![]() | |
virtual void | fileNew () |
virtual void | fileOpen () |
virtual void | fileOpen (QString absoluteFilePath) |
virtual void | fileSave () |
virtual void | fileSaveAs () |
virtual void | fileDoSave (QString file) |
Function called by fileSave() and fileSaveAs() to actually do save data. More... | |
virtual void | filePrint () |
virtual void | fileExit () |
virtual void | editCut () |
virtual void | editCopy () |
virtual void | editPaste () |
virtual void | editUndo () |
virtual void | editRedo () |
virtual void | editSetupWizard () |
Implement this function to call showSetupWizard() properly. More... | |
virtual void | editSettings () |
Connect to the Settings action in Edit menu. More... | |
virtual void | viewReload () |
void | helpHelp () |
Calls helpHelp(QString) with empty string to open standard help. More... | |
virtual void | helpHelp (QString file) |
Starts the helpcenter and tries to load the given file . More... | |
virtual void | helpDependencies () |
Calls showDependencies() with a NULL-Pointer. More... | |
virtual void | helpAbout () |
Calls showAbout() with empty values, should therefore be implemented at your subclass. More... | |
virtual void | reloadSettings () |
Reload your settings here. More... | |
void | enableActions (EngSaS::AvailableActions enabledActions) |
void | connectESlots (QObject *object) |
void | errorByPass (const QString &message) |
void | warningByPass (const QString &message) |
void | informationByPass (const QString &message) |
void | reloadEnableActionsByPass () |
Forwards the reloading of enabled actions signal. More... | |
void | addMenuByPass (QMenu *newMenu, const QString &parent, QString before=QString()) |
void | addActionByPass (QAction *newAction, const QString &parent, QString before=QString()) |
void | addToolBarByPass (QToolBar *newToolBar, Qt::ToolBarArea area=Qt::TopToolBarArea) |
void | addNewDockWidgetByPass (QDockWidget *widget, const Qt::DockWidgetArea &area) |
void | setCentralWidgetByPass (QWidget *centralWidget) |
void | showSettingsByPass () |
void | showHelpByPass (const QString &page) |
void | showStatusWidgetByPass (QWidget *widget) |
void | reloadSettingsRequestByPass () |
void | clearRecentlyUsed () |
Clears the list of recently used files. More... | |
Private Attributes | |
EPart * | part |
Additional Inherited Members | |
![]() | |
void | doReloadSettings () |
![]() | |
void | showSetupWizard (EngSaS::SetupWizardObjects objects, bool msgOnNotNeeded=false, QIcon logo=QIcon(), QString applicationName=QString()) |
Uses ESetupWizard to guide the user through the setup process. More... | |
void | showSettings (ESettingsModel *model) |
Uses ESettingsDialog to present the settings given in the model . More... | |
void | showDependencies (EDependencyModel *model) |
Show the standard EDepenenciesDialog. More... | |
void | showAbout (QPixmap logo, QString name, QString version, QUrl url, EAboutModel *model) |
Shows the standard EAboutDialog as about dialog. More... | |
void | setupHelpCenter (EHelpCenterSetup setup) |
Call this function in your subclass to setup the EHelpCenter. More... | |
void | closeEvent (QCloseEvent *event) |
void | restoreWindowState () |
void | error (const QString &message) |
void | warning (const QString &message) |
void | information (const QString &message) |
void | reloadEnableActions () |
Indicates, that a reload of the enabled actions is needed. More... | |
void | addMenu (QMenu *newMenu, const QString &parent, QString before=QString()) |
void | addAction (QAction *newAction, const QString &parent, QString before=QString()) |
void | addToolBar (QToolBar *newToolBar, Qt::ToolBarArea area=Qt::TopToolBarArea) |
void | addNewDockWidget (QDockWidget *widget, const Qt::DockWidgetArea &area) |
void | setCentralWidget (QWidget *centralWidget) |
void | showSettings () |
void | showHelp (const QString &page) |
void | showStatusWidget (QWidget *widget) |
EWidget * | getCentralWidget () |
void | controleMenuStati () |
void | controleMenuStati (QMenu *menu) |
void | addToRecentlyUsed (QString absoluteFilePath) |
![]() | |
QMenuBar * | menubar |
QStatusBar * | statusbar |
QMenu * | fileMenu |
QMenu * | fileRecentlyUsedMenu |
QMenu * | editMenu |
QMenu * | viewMenu |
QMenu * | otherMenu |
QMenu * | helpMenu |
EAction * | fileNewAction |
EAction * | fileOpenAction |
EAction * | fileSaveAction |
EAction * | fileSaveAsAction |
EAction * | filePrintAction |
EAction * | fileExitAction |
EAction * | editUndoAction |
EAction * | editRedoAction |
EAction * | editCutAction |
EAction * | editCopyAction |
EAction * | editPasteAction |
EAction * | editSetupWizardAction |
EAction * | editSettingsAction |
EAction * | viewReloadAction |
EAction * | helpHelpAction |
EAction * | helpDependenciesAction |
EAction * | helpAboutAction |
EHelpCenter * | helpCenter |
EHelpCenterSetup | helpCenterSetup |
QList< QAction * > | recentlyUsedActions |
QAction * | recentylUsedSeperator |
QSignalMapper * | recentlyUsedMapper |
Used as a standard main window for the standalone application of an EPart.
EPartMainWindow::EPartMainWindow | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | flags = 0 |
||
) |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
EPart::InitState EPartMainWindow::init | ( | EPart * | part, |
ECmdLineArgs * | args | ||
) |
ePartName
the file name of an epart, this may be meganizer.so as an example. It should be relativ to ELibrary::ePartDir().
|
private |