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

An About dialog for your application in EngSaS-Layout. More...

#include <eaboutdialog.h>

+ Inheritance diagram for EAboutDialog:
+ Collaboration diagram for EAboutDialog:

Public Member Functions

 EAboutDialog (QPixmap logo, QString name, QString version, QUrl url, EAboutModel *model, QWidget *parent=0, Qt::WindowFlags flags=0)
 
void setLogo (QPixmap logo)
 Sets the application logo on the right side of the dialog. More...
 
void setName (QString name)
 Sets the name of the application on the top. More...
 
void setVersion (QString version)
 Sets the version of the application. More...
 
void setApplicationUrl (QUrl url)
 Sets the application url. More...
 
void setModel (EAboutModel *model)
 
- Public Member Functions inherited from EDialog
 EDialog (QString objName, QWidget *parent=0, Qt::WindowFlags flags=0)
 Creates a EDialog instance with objectName() set to objName. More...
 
 EDialog (QWidget *parent=0, Qt::WindowFlags flags=0)
 
virtual ~EDialog ()
 
void setWindowTitle (const QString &title)
 Sets the window title and prepends the QApplication::applicationName(). More...
 
void setObjectName (const QString &name)
 Set's the objectname and calls loadGeometry() afterwards. More...
 
void loadGeometry ()
 Can be called to restore geometry of this object. More...
 
void connectByPass (QObject *object)
 Connects all standard signals. More...
 

Private Slots

void openLink (QString url)
 

Private Member Functions

void setupTextLabel ()
 

Private Attributes

QString myName
 
QString myVersion
 
QUrl myUrl
 
Ui::EAboutDialog * ui
 

Additional Inherited Members

- Public Slots inherited from EDialog
virtual void reloadSettings ()
 Used to reload settings the settings. More...
 
- Signals inherited from EDialog
void error (const QString &message)
 
void warning (const QString &message)
 
void information (const QString &message)
 
void reloadEnableActions ()
 Request reloading of enabled actions in EMainWindow. 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)
 
void reloadSettingsRequest ()
 Indicates, that a reload of the settings is needed. More...
 
void doReloadSettings ()
 Emitted to bring the reload request back to the farest child. More...
 
- Protected Slots inherited from EDialog
virtual void errorByPass (const QString &message)
 
virtual void warningByPass (const QString &message)
 
virtual void informationByPass (const QString &message)
 
virtual void reloadEnableActionsByPass ()
 
virtual void addMenuByPass (QMenu *newMenu, const QString &parent, QString before=QString())
 
virtual void addActionByPass (QAction *newAction, const QString &parent, QString before=QString())
 
virtual void addToolBarByPass (QToolBar *newToolBar, Qt::ToolBarArea area=Qt::TopToolBarArea)
 
virtual void addNewDockWidgetByPass (QDockWidget *widget, const Qt::DockWidgetArea &area)
 
virtual void setCentralWidgetByPass (QWidget *centralWidget)
 
virtual void showSettingsByPass ()
 
virtual void showHelpByPass (const QString &page)
 
virtual void showStatusWidgetByPass (QWidget *widget)
 
virtual void reloadSettingsRequestByPass ()
 
void setHelp (QString page, EPushButton *helpButton=0)
 Call this function to setup helpButton as a help button. More...
 
- Protected Member Functions inherited from EDialog
QString helpPage ()
 
void closeEvent (QCloseEvent *event)
 

Detailed Description

An About dialog for your application in EngSaS-Layout.

The given EAboutModel is delete by the dialog.

Constructor & Destructor Documentation

EAboutDialog::EAboutDialog ( QPixmap  logo,
QString  name,
QString  version,
QUrl  url,
EAboutModel model,
QWidget *  parent = 0,
Qt::WindowFlags  flags = 0 
)

+ Here is the call graph for this function:

Member Function Documentation

void EAboutDialog::openLink ( QString  url)
privateslot

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void EAboutDialog::setApplicationUrl ( QUrl  url)

Sets the application url.

The url can be absolute or relative to engsas.de. In last case the beginning points to the page related to current chosen language, like shown in the example below.

// set the url to http://en.engsas.de/meganizer in english
// and http://www.engsas.de/meganizer in german translation
setRelativeUrl("meganizer")

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void EAboutDialog::setLogo ( QPixmap  logo)

Sets the application logo on the right side of the dialog.

+ Here is the caller graph for this function:

void EAboutDialog::setModel ( EAboutModel model)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void EAboutDialog::setName ( QString  name)

Sets the name of the application on the top.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void EAboutDialog::setupTextLabel ( )
private

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void EAboutDialog::setVersion ( QString  version)

Sets the version of the application.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

QString EAboutDialog::myName
private
QUrl EAboutDialog::myUrl
private
QString EAboutDialog::myVersion
private
Ui::EAboutDialog* EAboutDialog::ui
private

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