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

Behavioral Methods | |
| Methods related connect database dialog behavior. | |
| virtual void | setInitialState () |
| Sets the initial state of the dialog. | |
| virtual void | update (TdkSubject *changedObject) |
| This method is called when the user interacts with the dialog. | |
| virtual std::string | dlgName () |
| Retrieves dialog's definiton name. | |
| virtual TdkLayer * | getCreatedLayer () |
| Retrieves the generated layer. | |
| virtual void | setDbIdx (const int &idx) |
| Updates database driver idx. | |
| virtual void | openFileClick () |
| Action called on open file button clicked. | |
| virtual void | okClicked () |
| Action called on ok button clicked. | |
| virtual std::string | getOpenFileName () |
| Retrieves the import data file name. | |
Public Member Functions | |
Constructor and Destructor Methods | |
Methods related to instantiation and destruction. | |
| TdkImportDataDlgController (TdkImportDataDlg *dlg) | |
| Constructor. | |
| virtual | ~TdkImportDataDlgController () |
| Virtual destructor. | |
Protected Attributes | |
| TdkLayer * | _createdLayer |
| Pointer to created layer. | |
| TeProjection * | _projection |
| Pointer to TeProjection. | |
| int | _dbIdx |
| Database driver identifier in connections poll. | |
TODO: 1) 2) 3)
| TdkImportDataDlgController::TdkImportDataDlgController | ( | TdkImportDataDlg * | dlg | ) |
Constructor.
| dlg | Pointer to data import dialog. |
| TdkImportDataDlgController::~TdkImportDataDlgController | ( | ) | [virtual] |
Virtual destructor.
| void TdkImportDataDlgController::setInitialState | ( | ) | [virtual] |
| void TdkImportDataDlgController::update | ( | TdkSubject * | changedObject | ) | [virtual] |
This method is called when the user interacts with the dialog.
| changedObject | Object that signals a change. |
Implements TdkObserver.
| std::string TdkImportDataDlgController::dlgName | ( | ) | [virtual] |
Retrieves dialog's definiton name.
Implements TdkDlgController.
| TdkLayer * TdkImportDataDlgController::getCreatedLayer | ( | ) | [virtual] |
Retrieves the generated layer.
| void TdkImportDataDlgController::setDbIdx | ( | const int & | idx | ) | [virtual] |
Updates database driver idx.
| idx | Database driver identifier. |
| void TdkImportDataDlgController::openFileClick | ( | ) | [protected, virtual] |
Action called on open file button clicked.
| void TdkImportDataDlgController::okClicked | ( | ) | [protected, virtual] |
Action called on ok button clicked.
changes the cursor
Inserts an item in treeview
changes the cursor
changes the cursor
| std::string TdkImportDataDlgController::getOpenFileName | ( | ) | [protected, virtual] |
Retrieves the import data file name.
TdkLayer* TdkImportDataDlgController::_createdLayer [protected] |
Pointer to created layer.
TeProjection* TdkImportDataDlgController::_projection [protected] |
Pointer to TeProjection.
int TdkImportDataDlgController::_dbIdx [protected] |
Database driver identifier in connections poll.
1.5.2