#include <TdkDlgController.h>
Inheritance diagram for TdkDlgController:
All Dialogs Common Methods | |
Methods common to all controllers. | |
void | showWindow (const bool isDialog=true) |
Shows the dialog. | |
void | closeWindow () |
Close the dialog. | |
virtual void | setInitialState ()=0 |
Sets dialog to initial state. | |
virtual string | dlgName ()=0 |
Retrieves the definition dialog name. | |
TdkDlg * | getDialog () |
Retrieves the pointer to controlled dialog. | |
void | setDialog (TdkDlg *newDialog) |
Sets the controlled dialog. | |
virtual int | getActionId (const string &action) |
Retrieves the action id int value correspondent to action string paramater. | |
void | removeDialog () |
Removes the controlled dialog. | |
TdkInterfaceController * | getInterfaceController () |
Retrieves the dialogs interface controller. | |
static void | setDlgFactoryNames (const map< string, string > &fctNames) |
Updates the factories names map. | |
static map< string, string > & | getDlgFactoryNames () |
Retrieves the factories names map. | |
Public Member Functions | |
Constructor and Destructor Methods | |
Methods related to instantiation and destruction. | |
TdkDlgController (TdkDlg *dlg) | |
Constructor. | |
virtual | ~TdkDlgController () |
Virtual destructor. | |
Static Public Attributes | |
static map< string, string > | _dlgFactoryNames |
Factories names map. | |
Protected Attributes | |
TdkDlg * | _dlg |
Pointer to controlled dialog. | |
TdkInterfaceController * | _pic |
Pointer to dialog's interface controller. |
TODO: 1) 2) 3)
TdkDlgController::TdkDlgController | ( | TdkDlg * | dlg | ) | [inline] |
Constructor.
dlg | Pointer to connect database dialog. |
TdkDlgController::~TdkDlgController | ( | ) | [inline, virtual] |
Virtual destructor.
void TdkDlgController::showWindow | ( | const bool | isDialog = true |
) | [inline] |
Shows the dialog.
void TdkDlgController::closeWindow | ( | ) | [inline] |
Close the dialog.
virtual void TdkDlgController::setInitialState | ( | ) | [pure virtual] |
Sets dialog to initial state.
Implemented in TdkAddThemeDlgController, TdkAddViewDlgController, TdkConnectedViewsDlgController, TdkDatabaseDlgController, TdkImportDataDlgController, TdkImportRasterDlgController, TdkMainDlgController, TdkProjectionDlgController, and TdkVisualDlgController.
virtual string TdkDlgController::dlgName | ( | ) | [pure virtual] |
Retrieves the definition dialog name.
Implemented in TdkAddThemeDlgController, TdkAddViewDlgController, TdkConnectedViewsDlgController, TdkDatabaseDlgController, TdkImportDataDlgController, TdkImportRasterDlgController, TdkMainDlgController, TdkProjectionDlgController, and TdkVisualDlgController.
TdkDlg * TdkDlgController::getDialog | ( | ) | [inline] |
Retrieves the pointer to controlled dialog.
void TdkDlgController::setDialog | ( | TdkDlg * | newDialog | ) | [inline] |
Sets the controlled dialog.
newDialog | Dialog to be controlled. |
int TdkDlgController::getActionId | ( | const string & | action | ) | [inline, virtual] |
Retrieves the action id int value correspondent to action string paramater.
Reimplemented in TdkAddThemeDlgController, and TdkDatabaseDlgController.
void TdkDlgController::setDlgFactoryNames | ( | const map< string, string > & | fctNames | ) | [inline, static] |
Updates the factories names map.
fctNames | Map of factories names. |
map< string, string > & TdkDlgController::getDlgFactoryNames | ( | ) | [inline, static] |
Retrieves the factories names map.
void TdkDlgController::removeDialog | ( | ) | [inline] |
Removes the controlled dialog.
TdkInterfaceController * TdkDlgController::getInterfaceController | ( | ) | [inline] |
Retrieves the dialogs interface controller.
map<string, string> TdkDlgController::_dlgFactoryNames [static] |
Factories names map.
TdkDlg* TdkDlgController::_dlg [protected] |
Pointer to controlled dialog.
TdkInterfaceController* TdkDlgController::_pic [protected] |
Pointer to dialog's interface controller.