VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
timezoneFormatWidget.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2021 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
14 
15 #include <QtWidgets/QWidget>
16 
17 class QRadioButton;
18 class QLabel;
19 class QComboBox;
20 class QGridLayout;
21 class QLineEdit;
22 class QFrame;
23 class QRadioButton;
24 
25 namespace makVrv
26 {
27  class DtDe;
28 };
29 
30 namespace makVrf
31 {
32  class DtTimezoneFormatWidget;
33 
37  {
38  Q_OBJECT
39 
40  public:
42  DtTimezoneFormatWidget(makVrv::DtDe& de, QWidget* parent = 0, Qt::WindowFlags f = 0);
43 
45  virtual ~DtTimezoneFormatWidget();
46 
47  virtual void setTimezone(const std::string&);
48 
50  virtual void setFormatsSet(const std::string&);
51 
53  virtual void setDateAndTimeFormatting(const std::string&);
54 
55  protected slots:
56  virtual void timezoneTypeChanged();
57  virtual void dateTimeFormatChanged();
58  virtual void formatsSetChanged();
59  virtual void timezoneChanged();
60 
61  protected:
62  virtual void refreshTimezones();
63  virtual void slot_timezoneChanged(const std::string& oldTz, const std::string& newTz);
64 
65  public:
73  QGridLayout* myMainLayout;
74  QRadioButton* myLocalTime;
75  QRadioButton* myFixedTime;
76 
77  protected:
81  };
82 
85  {
86  public:
89 
91  static void registerInstance(makVrv::DtDe&, DtTimezoneFormatWidgetCreator*);
92 
93  virtual DtTimezoneFormatWidget* create(QWidget* parent);
94 
95  protected:
97  };
98 }
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
QLabel * myTimeDisplayLabel
Definition: timezoneFormatWidget.h:66
QComboBox * myFormatsSetCombo
Definition: timezoneFormatWidget.h:72
QLabel * myFormatSetsLabel
Definition: timezoneFormatWidget.h:71
QLabel * myTimezoneLabel
Definition: timezoneFormatWidget.h:67
QComboBox * myTimezoneCombo
Definition: timezoneFormatWidget.h:69
QRadioButton * myFixedTime
Definition: timezoneFormatWidget.h:75
QGridLayout * myMainLayout
Definition: timezoneFormatWidget.h:73
Creator for DtTimezoneFormatWidget.
Definition: timezoneFormatWidget.h:84
makVrv::DtSignalConnectionManager myConnectionManager
Definition: timezoneFormatWidget.h:79
Contains makVrv::DtVirtualBaseClass class.
QRadioButton * myLocalTime
Definition: timezoneFormatWidget.h:74
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
makVrv::DtDe & myDe
Definition: timezoneFormatWidget.h:78
#define DT_DLL_VRFGUICOMMONQT
Definition: vrfGuiCommonQt.h:20
A widget for configuring the environment.
Definition: timezoneFormatWidget.h:36
Base class to provide boost signal/slot management.
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:70
bool myHasCustomDateTimeFormat
Definition: timezoneFormatWidget.h:80
QLabel * myTimeFormatLabel
Definition: timezoneFormatWidget.h:68
makVrv::DtDe & myDe
Definition: timezoneFormatWidget.h:96
QComboBox * myDateTimeFormat
Definition: timezoneFormatWidget.h:70

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)