![]() |
VR-Forces 4.1 Class Documentation
|

Public Slots | |
| virtual bool | userDefinedAction (DtUserDefinedType iAction, void *usr) |
| Processes openDatabase with the usr pointer being a pointer to a QString. | |
Public Member Functions | |
| DtOpenDatabaseHandler () | |
| Default Constructor. | |
| virtual | ~DtOpenDatabaseHandler () |
| Destructor. | |
Public Member Functions inherited from DtFileDialogHandler | |
| DtFileDialogHandler () | |
| Default Constructor. | |
| virtual | ~DtFileDialogHandler () |
| Destructor. | |
| bool | accepted () const |
| const QString & | filename () const |
| Returns the filename that was selected to open. | |
| const QString & | startingDirectory () const |
| Returns the starting directory of this dialog or the last directory referenced. | |
| void | setStartingDirectory (const QString &) |
| const QString & | selectedFilter () const |
| Returns the selected filter inside the dialog. | |
| void | setSelectedFilter (const QString &) |
| virtual QWidget * | createDialog (QWidget *parent) |
| Creates the dialog associated with this handler (if there is one) | |
| virtual QWidget * | createOpenDialog (QWidget *parent) |
| virtual void | showDialog (bool b) |
| void | setChooseOnly (bool b) |
| Set to true to use only as a dialog to choose a file. | |
Public Member Functions inherited from DtEventHandler | |
| DtEventHandler () | |
| Default Constructor. | |
| virtual | ~DtEventHandler () |
| Destructor. | |
| virtual void | setEventController (DtEventController *) |
| virtual void | setInitialSelection (const QVector< DtModelKey > &d) |
| virtual QWidget * | dialog (bool createIfMissing=true, QWidget *parent=NULL) |
| If createIfMissing is true, will create the dialog based on the supplied parent window, else will simply return the dialog pointer. | |
| virtual void | reset () |
| virtual DtBaseWindow * | baseWindow () const |
| Returns the base window of the event controller. | |
| virtual void | activate () |
| Called when this event handler first becomes active. | |
| virtual void | deactivate () |
| Called when this event handler is removed as the current event. | |
| virtual void | setBaseWindow (DtBaseWindow *w) |
| Called when the base window is set for the event controller. | |
| virtual void | init () |
| Called when the handler is first created, initialize context. | |
| void | setSuspended (bool) |
| Set when something wants to suspend some aspect of this handler without deactivating it. | |
| bool | suspended () const |
| virtual void | dialogDestroyedEvent () |
| Called when dialog is destroyed. | |
Public Member Functions inherited from DtArchivableObject | |
| DtArchivableObject (QString name, DtArchivableObjectCreator fcn) | |
| This constructor will add this object to the archivable object factory. | |
| DtArchivableObject (QString name) | |
| DtArchivableObject () | |
| virtual | ~DtArchivableObject () |
| virtual QString | name () const |
| DtArchiver * | archiver () |
| Returns the archiver of this object. | |
| virtual void | read (QTextStream &s) |
| Reads/writes archiver. | |
| virtual void | write (QTextStream &s) |
| virtual void | setLevel (int i) |
| virtual int | level () const |
| virtual DtArchivableObject * | clone () |
| Allows for cloning of this object. | |
Static Public Member Functions | |
| static DtEventHandler * | create (DtEventController *owner, void *usr) |
| Static creator. | |
Protected Member Functions | |
| virtual QString | createFilterList () |
| Creates the list of open valid file types that can be put into the open dialog. | |
| virtual bool | openDatabase (QString dbName) |
| Opens the database using the application event controller tdb manager. | |
| virtual void | initFileDialog (QFileDialog *parent) |
| Creates the dialog that will be used to allow the user to open the database. | |
| virtual bool | completeOpen () |
| virtual bool | completeOpen (QString fileName) |
| Opens the database and sets the current filename. | |
| virtual const char * | eventSignalName () |
Protected Member Functions inherited from DtFileDialogHandler | |
| virtual void | accept () |
| Called when the user presses the OK button. | |
| virtual void | cancel () |
| Called if the users chooses to cancel the open dialog. | |
Additional Inherited Members | |
Signals inherited from DtEventHandler | |
| void | closedDialog () |
Protected Attributes inherited from DtFileDialogHandler | |
| bool | myAccepted |
| QString | myFilename |
| QString | myStartingDirectory |
| bool | myChooseOnly |
| QString | mySelectedFilter |
| DtOpenDatabaseHandler::DtOpenDatabaseHandler | ( | ) |
Default Constructor.
|
virtual |
Destructor.
|
static |
Static creator.
|
virtualslot |
Processes openDatabase with the usr pointer being a pointer to a QString.
|
protectedvirtual |
Creates the list of open valid file types that can be put into the open dialog.
Implements DtFileDialogHandler.
|
protectedvirtual |
Opens the database using the application event controller tdb manager.
|
protectedvirtual |
Creates the dialog that will be used to allow the user to open the database.
Reimplemented from DtFileDialogHandler.
|
protectedvirtual |
Implements DtFileDialogHandler.
|
protectedvirtual |
Opens the database and sets the current filename.
|
inlineprotectedvirtual |
Reimplemented from DtFileDialogHandler.
References DtFileOpenDatatabaseWidgetEvent.