|
LibEngsas
|
This class is used to let the user enter some settings related to the database.The widget is displayed at two places. First it is used at the. More...
#include <edbsettings.h>
Inheritance diagram for EDBSettings:
Collaboration diagram for EDBSettings:Public Slots | |
| bool | finish () |
| bool | saveSettings (QString &error) |
| void | reloadSettings () |
Public Slots inherited from ESetupWizardWidget | |
| virtual bool | finish () |
| virtual bool | saveSettings (QString &error)=0 |
Public Slots inherited from ESettingsWidget | |
| virtual bool | saveSettings (QString &error) |
| Called to save all presented settings. More... | |
Public Slots inherited from EWidget | |
| virtual EngSaS::AvailableActions | enableActions () |
| Will be called by EMainWindow::setCentralWidget() to enable and disable standard actions. More... | |
| virtual QString | fileFilters (EngSaS::FileFilter reason) |
| virtual bool | load (QFile *file, QString &error) |
| virtual bool | save (QFile *file, QString &error) |
| virtual bool | fileNew (QString &error) |
| virtual bool | print (QString &error) |
| virtual bool | undo (QString &error) |
| virtual bool | redo (QString &error) |
| virtual bool | cut (QString &error) |
| virtual bool | copy (QString &error) |
| virtual bool | paste (QString &error) |
| virtual bool | reload (QString &error) |
| virtual void | reloadSettings () |
| Used to reload settings the settings. More... | |
Public Member Functions | |
| EDBSettings (QStringList drivers=QStringList(), ESetupWizardObject *newObject=0, QWidget *parent=0, Qt::WindowFlags fl=0) | |
| ~EDBSettings () | |
Public Member Functions inherited from ESetupWizardWidget | |
| ESetupWizardWidget (ESetupWizardObject *newObject, QWidget *parent=0, Qt::WindowFlags flags=0) | |
| virtual | ~ESetupWizardWidget () |
| ESetupWizardObject * | wizardObject () |
Public Member Functions inherited from ESettingsWidget | |
| ESettingsWidget (QWidget *parent=0, Qt::WindowFlags flags=0) | |
| ESettingsWidget (QString name, QWidget *parent=0, Qt::WindowFlags flags=0) | |
| QString | name () const |
| void | setName (QString newName) |
| ESettingsModelItem * | toModelItem () |
| Converts the ESettingsWidget into an ESettingsModelItem. More... | |
Public Member Functions inherited from EWidget | |
| EWidget (QWidget *parent=0, Qt::WindowFlags flags=0) | |
| virtual | ~EWidget () |
| void | setWindowTitle (const QString &title) |
| void | connectByPass (QObject *object) |
| Connects all standard signals. More... | |
Private Attributes | |
| Ui::EDBSettings * | ui |
Additional Inherited Members | |
Signals inherited from EWidget | |
| 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) |
| To add managed dock widgets, use addManagedDockWidget() instead. More... | |
| 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 EWidget | |
| 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 () |
Protected Member Functions inherited from EWidget | |
| void | addManagedDockWidget (QDockWidget *widget, const Qt::DockWidgetArea &area, QString actionLabel=QString(), QString actionParent=QString()) |
Adds an dock widget via addNewDockWidget() and adds widget to the list of managed dock widgets. More... | |
Protected Attributes inherited from ESettingsWidget | |
| QString | myName |
Properties inherited from ESettingsWidget | |
| QString | name |
This class is used to let the user enter some settings related to the database.
The widget is displayed at two places. First it is used at the.
| EDBSettings::EDBSettings | ( | QStringList | drivers = QStringList(), |
| ESetupWizardObject * | newObject = 0, |
||
| QWidget * | parent = 0, |
||
| Qt::WindowFlags | fl = 0 |
||
| ) |
You can specify which database drivers are displayed at the dropdown box with drivers. If nothing is specified, it uses QSqlDatabase::drivers(). if newObject is null, the createDatabaseBox is hidden, because the widget runs in
Here is the call graph for this function:| EDBSettings::~EDBSettings | ( | ) |
|
slot |
if create database and/or create user is chosen, this function executes needed commands. it assumes, that the user has the privileges to use the database, if he only select create database
Here is the call graph for this function:
|
slot |
Here is the call graph for this function:
|
slot |
Here is the caller graph for this function:
|
private |
1.8.8