VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
tmqt
tmNavigationMenu.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 2003 MAK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
/*********************************************************************
6
** $RCSfile: tmNavigationMenu.h,v $ $Revision: 1.8 $ $State: Exp $
7
*********************************************************************/
8
11
12
#ifndef DTTMNAVIGATIONMENU_H
13
#define DTTMNAVIGATIONMENU_H
14
15
#include "
commonWgt/popupMenu.h
"
16
17
#include "
tmqt/tmqtDefines.h
"
18
class
DT_DLL_tmqt
DtTMNavigationMenu
:
public
DtPopupMenu
19
{
20
Q_OBJECT
21
22
public
:
23
DtTMNavigationMenu
(
QWidget
* parent,
bool
display =
true
);
24
virtual
~
DtTMNavigationMenu
();
25
27
protected
:
28
virtual
QString
menuName
();
29
43
44
virtual
bool
initMenuItems
();
45
47
virtual
bool
initActionGroups
();
48
49
signals:
50
void
navigationAction(
int
);
51
52
public
slots:
54
virtual
void
processNavigationAction();
55
58
virtual
void
validate
();
59
60
public
:
61
static
DtPopupMenu
* create(
QWidget
* parent,
bool
display =
true
);
62
static
void
setOnlyValidWithTerrainDatabase(
bool
b);
63
64
protected
:
65
virtual
DtActionGroup
*
getActionGroupForType
(
DtMenuItemType
iType);
66
67
protected
:
68
DtActionGroup
*
myNavigationActionGroup
;
69
DtActionGroup
*
myNavigationZoomActionGroup
;
70
71
static
bool
myOnlyValidWithTerrainDatabase
;
72
};
73
74
#endif
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)