VR-Forces 4.1 Class Documentation
environmentControlArea.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2011 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
15 
16 #include <vrvCoreQt/DtToolbar.h>
18 
19 #include <QtGui/QWidget>
20 
21 class QHBoxLayout;
22 class QLabel;
23 class QToolButton;
24 
25 namespace makVrv
26 {
27  class DtDe;
28 }
29 
30 namespace makVrf
31 {
32  class DtVrfBackendState;
33 
35  {
36 
37  Q_OBJECT
38 
39  public:
40 
42  DtToDImageWidget(QWidget* parent=0);
43 
45  virtual ~DtToDImageWidget();
46 
48  virtual void setPixmap(QPixmap p);
49 
51  virtual void mouseReleaseEvent( QMouseEvent* event );
52 
54  virtual void paintEvent(QPaintEvent *);
55 
61  virtual void createDisabledPixmap(const char* filename);
62 
63 signals:
64 
66  void clicked();
67 
68  protected:
69 
70  QPixmap myToDPixmap;
74 
75  };
76 
78 
82  {
83  public:
84 
87 
90 
92  virtual QToolBar* createToolbar(makVrv::DtDe&, QWidget* parent);
93 
94  };
95 
98  {
99  Q_OBJECT
100 
101  public:
103  DtEnvironmentControlAreaWidget( makVrv::DtDe& de, QWidget* parent = 0, Qt::WindowFlags flags = 0);
104 
107 
112  void updateEnabledStatus();
113 
114  protected:
115 
117  void setupUi(QWidget* p);
118 
120  virtual void setTimeOfDay(int hours, int mins, int secs);
121 
124  virtual bool eventFilter(QObject* obj, QEvent * event);
125 
127  virtual void slot_backendUpdated(const DtVrfBackendState&, int);
128 
129  protected slots:
130 
132  virtual void slot_onToDImageClicked();
133 
134  protected:
137  QHBoxLayout* myMainLayout;
140 
141  };
142 
144  {
145 
146  public:
147 
149 
151 
152  virtual QWidget* create( makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags);
153  };
154 }
155 

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)