LibEngsas
Public Member Functions | Protected Slots | Private Attributes | List of all members
EPartMainWindow Class Reference

Used as a standard main window for the standalone application of an EPart. More...

#include <epartmainwindow.h>

+ Inheritance diagram for EPartMainWindow:
+ Collaboration diagram for EPartMainWindow:

Public Member Functions

 EPartMainWindow (QWidget *parent=0, Qt::WindowFlags flags=0)
 
EPart::InitState init (EPart *part, ECmdLineArgs *args)
 
- Public Member Functions inherited from EMainWindow
 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 ()
 
- Protected Slots inherited from EMainWindow
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

EPartpart
 

Additional Inherited Members

- Signals inherited from EMainWindow
void doReloadSettings ()
 
- Protected Member Functions inherited from EMainWindow
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)
 
EWidgetgetCentralWidget ()
 
void controleMenuStati ()
 
void controleMenuStati (QMenu *menu)
 
void addToRecentlyUsed (QString absoluteFilePath)
 
- Protected Attributes inherited from EMainWindow
QMenuBar * menubar
 
QStatusBar * statusbar
 
QMenu * fileMenu
 
QMenu * fileRecentlyUsedMenu
 
QMenu * editMenu
 
QMenu * viewMenu
 
QMenu * otherMenu
 
QMenu * helpMenu
 
EActionfileNewAction
 
EActionfileOpenAction
 
EActionfileSaveAction
 
EActionfileSaveAsAction
 
EActionfilePrintAction
 
EActionfileExitAction
 
EActioneditUndoAction
 
EActioneditRedoAction
 
EActioneditCutAction
 
EActioneditCopyAction
 
EActioneditPasteAction
 
EActioneditSetupWizardAction
 
EActioneditSettingsAction
 
EActionviewReloadAction
 
EActionhelpHelpAction
 
EActionhelpDependenciesAction
 
EActionhelpAboutAction
 
EHelpCenterhelpCenter
 
EHelpCenterSetup helpCenterSetup
 
QList< QAction * > recentlyUsedActions
 
QAction * recentylUsedSeperator
 
QSignalMapper * recentlyUsedMapper
 

Detailed Description

Used as a standard main window for the standalone application of an EPart.

See also
Epart

Constructor & Destructor Documentation

EPartMainWindow::EPartMainWindow ( QWidget *  parent = 0,
Qt::WindowFlags  flags = 0 
)

Member Function Documentation

void EPartMainWindow::editSettings ( )
protectedslot

+ Here is the call graph for this function:

void EPartMainWindow::editSetupWizard ( )
protectedslot

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void EPartMainWindow::helpAbout ( )
protectedslot

+ Here is the call graph for this function:

void EPartMainWindow::helpDependencies ( )
protectedslot

+ Here is the call graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

EPart* EPartMainWindow::part
private

The documentation for this class was generated from the following files: