VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
terrainEventHandler
openDatabaseHandler.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2003 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: openDatabaseHandler.h,v $ $Revision: 1.10 $ $State: Exp $
7
*******************************************************************************/
8
11
12
#ifndef OPENDATABASEHANDLER_H_
13
#define OPENDATABASEHANDLER_H_
14
15
#include "
tmEventHandler/fileDialogHandler.h
"
16
#include "
tmqt/eventSignaller.h
"
17
18
class
QFileDialog
;
19
20
#include "
terrainEventHandler/terrainEventHandlerDefines.h
"
21
class
DT_DLL_terrainEventHandler
DtOpenDatabaseHandler
:
public
DtFileDialogHandler
22
{
23
Q_OBJECT
24
25
public
:
26
28
DtOpenDatabaseHandler
();
29
31
virtual
~
DtOpenDatabaseHandler
();
32
33
public
:
35
static
DtEventHandler
* create(
DtEventController
* owner,
void
* usr);
36
37
public
slots:
40
virtual
bool
userDefinedAction
(
DtUserDefinedType
iAction,
void
* usr);
41
42
protected
:
45
virtual
QString
createFilterList
();
46
48
virtual
bool
openDatabase(QString dbName);
49
51
virtual
void
initFileDialog
(
QFileDialog
* parent);
52
53
virtual
bool
completeOpen
();
54
56
virtual
bool
completeOpen
(QString fileName);
57
virtual
const
char
*
eventSignalName
() {
return
DtFileOpenDatatabaseWidgetEvent
; };
58
};
59
60
#endif //MAPAREASELECTIONHANDLER_H_
61
62
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)