VR-Forces 4.2 Class Documentation
DtSessionOptionsWidget.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: DtSessionOptionsWidget.h,v $ $Revision: 1.1 $ $State: Exp $
7 *******************************************************************************/
8 
11 
12 #pragma once
13 
14 #include <vrvUtil/signalslib.h>
15 
18 
19 #include <QtGui/QWidget>
20 
24 
25 class QCheckBox;
26 class QRadioButton;
27 class QGroupBox;
28 class QHBoxLayout;
29 class QLabel;
30 class QLineEdit;
31 class QPushButton;
32 
33 namespace makVrv
34 {
35  class DtDe;
36 }
37 
38 namespace makVrf
39 {
40  class DtSessionOptionsWidgetLogic;
41 
44  {
45  Q_OBJECT
46 
47  public:
48 
50  DtSessionOptionsWidget(QWidget* parent = NULL, const Qt::WindowFlags& flags = 0 );
51 
53  virtual ~DtSessionOptionsWidget();
54 
55  protected:
56 
57  void setupGui();
58 
59  virtual void setAutoJoinSession(bool);
60  virtual bool autoJoinSession() const;
61 
62  virtual void setAskToJoinSession(bool);
63  virtual bool askToJoinSession() const;
64 
65  virtual void setAlwaysJoinSessionWithSessionDatabase(bool);
66  virtual bool alwaysJoinSessionWithSessionDatabase() const;
67 
68  virtual void setAlwaysJoinSessionOpenDatabase(bool);
69  virtual bool alwaysJoinSessionOpenDatabase() const;
70 
71  virtual void setZoomToScenarioExtentsOnLoad(bool);
72  virtual bool zoomToScenarioExtentsOnLoad() const;
73 
74  virtual void setShowSessionDialogs(bool);
75  virtual bool showSessionDialogs() const;
76 
77  virtual void setShowCorrelationWarningDialogs(bool);
78  virtual bool showCorrelationWarningDialogs() const;
79 
80  virtual void setShowSessionStartupDialog(bool);
81  virtual bool showSessionStartupDialog() const;
82 
83  virtual void setShowScenarioDescriptionDialog(bool);
84  virtual bool showScenarioDescriptionDialog() const;
85 
86  protected slots:
88  virtual void onOptionChanged();
89 
90  private:
93 
95  DtSessionOptionsWidget& operator=(const DtSessionOptionsWidget& rhs);
96 
97  public:
99 
104 
110  };
111 }

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)