VR-Forces 4.3 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrfGuiObjectInformationQt
resourceInformationPage.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtResourceInformationPage.h,v $ $Revision: 1.1 $ $State: Exp $
7
******************************************************************************/
8
12
13
#pragma once
14
15
#include <
vrfGuiObjectInformationQt/vrfGuiObjectInformationQt.h
>
16
#include <
vrfGuiObjectInformationQt/informationDialogPage.h
>
17
18
class
QLabel
;
19
class
QLineEdit
;
20
class
QIntValidator;
21
class
QHBoxLayout;
22
class
QPushButton
;
23
24
namespace
makVrf
25
{
26
namespace
makVrfGuiObjectInformationQt
27
{
28
class
DT_DLL_VRFGUIOBJECTINFORMATIONQT
DtResourceInformationPage
:
public
DtInformationDialogPage
29
{
30
Q_OBJECT
31
32
public
:
33
35
DtResourceInformationPage
(
makVrv::DtDe
& de,
QWidget
* parent, Qt::WindowFlags f = Qt::SubWindow);
36
38
virtual
~
DtResourceInformationPage
();
39
40
virtual
void
setUpdateRate(
int
);
41
virtual
int
updateRate()
const
;
42
44
virtual
QIcon icon();
45
47
virtual
QString title();
48
50
virtual
const
std::string& pageClassName()
const
;
51
53
static
const
std::string& thePageClassName();
54
55
virtual
DtInformationDialogPageLogic
* createLogic();
56
57
protected
slots:
58
virtual
void
onSetUpdateRate();
59
60
protected
:
61
virtual
ShowStatus
setupGui(
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
62
63
virtual
void
activate();
64
65
public
:
66
QHBoxLayout*
myUpdateRateLayout
;
67
QLabel
*
myLabel1
;
68
QLabel
*
myLabel2
;
69
QLineEdit
*
myUpdateRate
;
70
QPushButton
*
myApply
;
71
QIntValidator*
myUpdateValidator
;
72
};
73
74
typedef
makVrv::DtPageCreatorTemplate<DtResourceInformationPage>
75
DtResourceInformationPageCreator
;
76
}
77
}
Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)