VR-Forces Development_Version 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
vrvCoreQt
DtObserverModePersistenceWidget.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtObserverModePersistenceWidget.h,v $ $Revision: 1.12 $ $State: Exp $
7
******************************************************************************/
8
14
15
#pragma once
16
17
#include <
vrvCoreQt/vrvCoreQt.h
>
18
#include <
vrvCoreQt/DtPersistenceToolbarWidget.h
>
19
#include <QtGui/QWidget>
20
#include <QtGui/QDialog>
21
22
class
QButtonGroup;
23
class
QPushButton
;
24
25
namespace
makVrv
26
{
30
class
DT_DLL_VRVCOREQT
DtObserverModePersistenceWidget
31
:
public
DtPersistenceToolbarWidget
32
{
33
Q_OBJECT
34
35
public
:
37
DtObserverModePersistenceWidget
(
DtDe
& de,
QWidget
* parent = 0, Qt::WindowFlags f = 0);
38
40
virtual
~
DtObserverModePersistenceWidget
();
41
42
virtual
void
restoreSelected(
bool
fromFactory );
43
virtual
void
restoreAll(
bool
fromFactory );
44
45
protected
:
46
virtual
void
on_myRestoreButton_clicked();
47
virtual
void
on_myRestoreFactoryButton_clicked();
48
49
};
50
53
class
DT_DLL_VRVCOREQT
DtRestoreTypeDialog
:
public
QDialog
54
{
55
Q_OBJECT
56
57
public
:
58
DtRestoreTypeDialog
(
bool
fromFactory,
QWidget
* parent = 0,
59
Qt::WindowFlags f = Qt::Tool);
60
virtual
~
DtRestoreTypeDialog
();
61
62
void
setupGui();
63
64
protected
:
65
virtual
void
accept();
66
67
protected
:
68
QButtonGroup*
myRestoreTypeButtons
;
69
bool
myRestoreFromFactory
;
70
71
};
72
}
73
74
Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)