VR-Forces 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  virtual void enableControls();
65 
66  public:
74  QGridLayout* myMainLayout;
75  QRadioButton* myLocalTime;
76  QRadioButton* myFixedTime;
77 
78  protected:
82  };
83 
86  {
87  public:
90 
92  static void registerInstance(makVrv::DtDe&, DtTimezoneFormatWidgetCreator*);
93 
94  virtual DtTimezoneFormatWidget* create(QWidget* parent);
95 
96  protected:
98  };
99 }
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:67
QComboBox * myFormatsSetCombo
Definition: timezoneFormatWidget.h:73
QLabel * myFormatSetsLabel
Definition: timezoneFormatWidget.h:72
QLabel * myTimezoneLabel
Definition: timezoneFormatWidget.h:68
QComboBox * myTimezoneCombo
Definition: timezoneFormatWidget.h:70
QRadioButton * myFixedTime
Definition: timezoneFormatWidget.h:76
QGridLayout * myMainLayout
Definition: timezoneFormatWidget.h:74
Creator for DtTimezoneFormatWidget.
Definition: timezoneFormatWidget.h:85
makVrv::DtSignalConnectionManager myConnectionManager
Definition: timezoneFormatWidget.h:80
Contains makVrv::DtVirtualBaseClass class.
QRadioButton * myLocalTime
Definition: timezoneFormatWidget.h:75
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
makVrv::DtDe & myDe
Definition: timezoneFormatWidget.h:79
#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:72
bool myHasCustomDateTimeFormat
Definition: timezoneFormatWidget.h:81
QLabel * myTimeFormatLabel
Definition: timezoneFormatWidget.h:69
makVrv::DtDe & myDe
Definition: timezoneFormatWidget.h:97
QComboBox * myDateTimeFormat
Definition: timezoneFormatWidget.h:71

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)