#include <TdkMainDlgController.h>
Inheritance diagram for TdkMainDlgController:

Behavioral Methods | |
| Methods related connect database dialog behavior. | |
| virtual void | setInitialState () |
| Sets the initial state of the dialog. | |
| virtual std::string | dlgName () |
| Retrieves dialog's definiton name. | |
| virtual void | update (TdkSubject *changedObject) |
| This method is called when the user interacts with the dialog. | |
| virtual void | databaseOkClicked () |
| Action called on database connection dialog ok button clicked. | |
| virtual void | init () |
| Initializes the controller. | |
| virtual void | viewItemChanged () |
| Action called on view selected item changes. | |
| virtual void | themeItemChanged () |
| Action called on theme selected item changes. | |
| virtual void | themeItemVisibilityChanged () |
| Action called on theme item visibility changes. | |
| virtual void | drawClicked () |
| Action called on draw button clicked. | |
| virtual void | closeDB () |
| Action called when database connections closed. | |
| virtual void | createLayerItem (TdkLayer *layer) |
| Creates a layer tree legend item. | |
| virtual void | createThemeItem (TdkTheme *theme) |
| Creates a theme tree legend item. | |
| virtual TdkViewTreeLegendItem * | createViewItem (TdkView *view) |
| Creates a view tree legend item. | |
| virtual void | execDbListPopupMnu () |
| Shows database popup menu. | |
| virtual void | execViewListPopupMenu () |
| Shows view popup menu. | |
| virtual TdkApplicationController *& | getAppController () |
| virtual void | removeView () |
| Removes the selected view. | |
| virtual void | removeTheme () |
| Removes the selected theme. | |
| virtual void | loadProject (const std::string &name) throw (TdkException) |
| Loads the project named 'name'. | |
| virtual void | loadLayerTree () |
| Loads the layers tree legend. | |
| virtual void | loadViewTree () |
| Loads the views tree legend. | |
| virtual void | createProject (const std::string &name) |
| Creates a project named 'name'. | |
| virtual void | resetView () |
| Fit current view. | |
Public Member Functions | |
Constructor and Destructor Methods | |
Methods related to instantiation and destruction. | |
| TdkMainDlgController (TdkMainDlg *mainDlg) | |
| Constructor. | |
| virtual | ~TdkMainDlgController () |
| Virtual destructor. | |
Protected Member Functions | |
| virtual TdkApplicationController * | createApplicationController () |
Protected Attributes | |
| TdkApplicationController * | _appController |
| Pointer to TdkApplicationController. | |
TODO: 1) 2) 3)
| TdkMainDlgController::TdkMainDlgController | ( | TdkMainDlg * | mainDlg | ) |
Constructor.
| dlg | Pointer to raster import dialog. |
| TdkMainDlgController::~TdkMainDlgController | ( | ) | [virtual] |
Virtual destructor.
| void TdkMainDlgController::setInitialState | ( | ) | [virtual] |
| std::string TdkMainDlgController::dlgName | ( | ) | [virtual] |
Retrieves dialog's definiton name.
Implements TdkDlgController.
| void TdkMainDlgController::update | ( | TdkSubject * | changedObject | ) | [virtual] |
This method is called when the user interacts with the dialog.
| changedObject | Object that signals a change. |
Implements TdkObserver.
Reimplemented in TdkMainDlgControllerDecorator.
| void TdkMainDlgController::databaseOkClicked | ( | ) | [virtual] |
Action called on database connection dialog ok button clicked.
| void TdkMainDlgController::init | ( | ) | [virtual] |
| void TdkMainDlgController::viewItemChanged | ( | ) | [virtual] |
Action called on view selected item changes.
| void TdkMainDlgController::themeItemChanged | ( | ) | [virtual] |
Action called on theme selected item changes.
| void TdkMainDlgController::themeItemVisibilityChanged | ( | ) | [virtual] |
Action called on theme item visibility changes.
| void TdkMainDlgController::drawClicked | ( | ) | [virtual] |
Action called on draw button clicked.
| void TdkMainDlgController::closeDB | ( | ) | [virtual] |
Action called when database connections closed.
| void TdkMainDlgController::createLayerItem | ( | TdkLayer * | layer | ) | [virtual] |
Creates a layer tree legend item.
| layer | Layer to be created in layers tree legend. |
| void TdkMainDlgController::createThemeItem | ( | TdkTheme * | theme | ) | [virtual] |
Creates a theme tree legend item.
| theme | Theme to be created in views tree legend. |
| TdkViewTreeLegendItem * TdkMainDlgController::createViewItem | ( | TdkView * | view | ) | [virtual] |
Creates a view tree legend item.
| view | View to be created in views tree legend. |
| void TdkMainDlgController::execDbListPopupMnu | ( | ) | [virtual] |
Shows database popup menu.
| void TdkMainDlgController::execViewListPopupMenu | ( | ) | [virtual] |
Shows view popup menu.
| TdkApplicationController *& TdkMainDlgController::getAppController | ( | ) | [virtual] |
| void TdkMainDlgController::removeView | ( | ) | [virtual] |
Removes the selected view.
| void TdkMainDlgController::removeTheme | ( | ) | [virtual] |
Removes the selected theme.
| void TdkMainDlgController::loadProject | ( | const std::string & | name | ) | throw (TdkException) [protected, virtual] |
Loads the project named 'name'.
| Project's | name. |
| void TdkMainDlgController::loadLayerTree | ( | ) | [protected, virtual] |
Loads the layers tree legend.
| void TdkMainDlgController::loadViewTree | ( | ) | [protected, virtual] |
Loads the views tree legend.
| void TdkMainDlgController::createProject | ( | const std::string & | name | ) | [protected, virtual] |
Creates a project named 'name'.
| Project's | name. |
| void TdkMainDlgController::resetView | ( | ) | [protected, virtual] |
Fit current view.
| TdkApplicationController * TdkMainDlgController::createApplicationController | ( | ) | [protected, virtual] |
Pointer to TdkApplicationController.
1.5.2