VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
tmqt
tmObjectsMenu.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 2004 MAK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
/*********************************************************************
6
** $RCSfile: tmObjectsMenu.h,v $ $Revision: 1.17 $ $State: Exp $
7
*********************************************************************/
8
11
12
#ifndef DTTMOBJECTSMENU_H
13
#define DTTMOBJECTSMENU_H
14
15
#include "
commonWgt/popupMenu.h
"
16
#include "
vrfGuiCore/menuItems.h
"
17
18
class
DtTMMapArea
;
19
class
DtModelData
;
20
21
#include "
tmqt/tmqtDefines.h
"
22
class
DT_DLL_tmqt
DtTMObjectsMenu
:
public
DtPopupMenu
23
{
24
Q_OBJECT
25
26
public
:
27
DtTMObjectsMenu
(
QWidget
* parent,
bool
display =
true
);
28
virtual
~
DtTMObjectsMenu
();
29
31
protected
:
32
virtual
QString
menuName
();
33
38
virtual
bool
initMenuItems
();
39
41
virtual
bool
initActionGroups
();
42
43
public
:
44
static
DtPopupMenu
* create(
QWidget
* parent,
bool
display =
true
);
45
46
protected
slots:
47
virtual
void
processEditValid();
48
virtual
void
processDeleteValid();
49
virtual
void
processToggleFreehandPointEdit();
50
51
public
slots:
52
virtual
void
processViewShowAllObjects();
53
virtual
void
processViewHideAllObjects();
54
virtual
void
processShowObjects(
bool
show);
55
56
protected
:
57
virtual
DtActionGroup
*
getActionGroupForType
(
DtMenuItemType
iType);
58
60
virtual
DtTMMapArea
* mapArea()
const
;
61
virtual
bool
createMenuItems
();
62
63
virtual
void
initConnections
();
64
65
protected
:
66
DtActionGroup
*
myObjectsActionGroup
;
67
71
DtActionGroup
*
myObjectDisplayGroup
;
72
};
73
74
#endif
Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)