VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
commonWgt
navigationWidget.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2003 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: navigationWidget.h,v $ $Revision: 1.12 $ $State: Exp $
7
*******************************************************************************/
8
11
12
#ifndef QTNAVIGATIONWIDGET_H
13
#define QTNAVIGATIONWIDGET_H
14
15
#include "
commonWgt/commonWgtDefines.h
"
16
#include "commonWgt/ui_navigationWidgetUi.h"
17
18
class
QPushButton
;
19
20
class
DT_DLL_commonWgt
DtNavigationWidget
:
public
QWidget
21
{
22
Q_OBJECT
23
24
public
:
25
26
DtNavigationWidget
(
QWidget
* parent = NULL,
const
Qt::WindowFlags& = 0);
27
28
virtual
~
DtNavigationWidget
();
29
virtual
bool
init
();
30
33
virtual
void
setUseAccelerators(
bool
b);
34
36
static
DtNavigationWidget
* create(
QWidget
* parent,
37
const
Qt::WindowFlags& flags);
38
40
virtual
void
setZoomToExtents(
bool
b);
41
virtual
bool
zoomToExtents()
const
;
42
45
virtual
void
setRightToLeft(
bool
b =
true
);
46
47
signals:
49
void
zoomToExtentsChanged(
bool
);
50
51
protected
:
52
virtual
void
setVariable(
QPushButton
*);
53
virtual
void
setFixed(
QPushButton
*,
int
r,
int
c);
54
55
public
slots:
57
virtual
void
setContinuousNavigation(
bool
b);
58
59
public
:
60
Ui::QtNavigationWidgetUi
myUiImpl
;
61
62
protected
:
63
bool
myZoomToExtents
;
64
};
65
66
#endif
67
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
)