VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtObserverModePersistenceWidget.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
11 
12 #pragma once
13 
14 #include <vrvCoreQt/vrvCoreQt.h>
16 #include <QtWidgets/QWidget>
17 #include <QtWidgets/QDialog>
18 
19 class QButtonGroup;
20 class QPushButton;
21 
22 namespace makVrv
23 {
29  {
30  Q_OBJECT
31 
32  public:
34  DtObserverModePersistenceWidget(DtDe& de, QWidget* parent = 0, Qt::WindowFlags f = 0);
35 
38 
39  virtual void restoreSelected( bool fromFactory );
40  virtual void restoreAll( bool fromFactory );
41 
42  protected:
43  virtual void on_myRestoreButton_clicked();
44  virtual void on_myRestoreFactoryButton_clicked();
45 
46  };
47 
51  {
52  Q_OBJECT
53 
54  public:
55  DtRestoreTypeDialog(bool fromFactory, QWidget* parent = 0,
56  Qt::WindowFlags f = Qt::Tool);
57  virtual ~DtRestoreTypeDialog();
58 
59  void setupGui();
60 
61  protected:
62  virtual void accept();
63 
64  protected:
65  QButtonGroup* myRestoreTypeButtons;
67 
68  };
69 }
70 
71 
Dialog for asking user to restore the factory observer settings.
Definition: DtObserverModePersistenceWidget.h:50
A widget that displays a persistence GUI in some way Operations presented are import, export, save, and restore.
Definition: DtPersistenceToolbarWidget.h:26
bool myRestoreFromFactory
Definition: DtObserverModePersistenceWidget.h:66
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
Contains DLL export macros.
QButtonGroup * myRestoreTypeButtons
Definition: DtObserverModePersistenceWidget.h:65
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
This class overrides the DtPersistenceToolbarWidget to provide specific functionality needed by the D...
Definition: DtObserverModePersistenceWidget.h:27

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)