VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtIntersectorSettingsWidget.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCoreQt/vrvCoreQt.h>
14 #include <QtGui/QWidget>
15 
16 class QCheckBox;
17 class QLabel;
18 class QColor;
19 
20 namespace makVrv
21 {
22  class DtSliderDoubleSpinboxWidget;
23  class DtColorPushButton;
24 
31  {
32  Q_OBJECT
33 
34  public:
35 
38  DtDe& de, QWidget* parent, Qt::WindowFlags flags = Qt::Widget);
39 
41  virtual ~DtIntersectorSettingsWidget();
42 
44  virtual void setIntersectorDrawEnabled( bool enabled );
45 
47  virtual void setIntersectorDrawnDuration( float duration );
48 
50  virtual void setFailedIntersectorColor( const DtColorValue& color );
51 
54  virtual void setOddSegmentIntersectorColor( const DtColorValue& color );
55 
58  virtual void setEvenSegmentIntersectorColor( const DtColorValue& color );
59 
60  protected slots:
62 
63  virtual void on_intersectorDrawEnabledChanged(int enabled);
64  virtual void on_intersectorDrawnDurationChanged(double duration);
65  virtual void on_failedIntersectorColorValueChanged(const QColor&);
66  virtual void on_oddSegmentIntersectorColorValueChanged(const QColor&);
67  virtual void on_evenIntersectorColorValueChanged(const QColor&);
68 
69  //XXX Need to figure out colors
70 
72 
74 
75  protected:
76 
79  void setupGui();
80 
83  void connectToSignals();
84 
87  void enableIntersectorParameters( bool enabled );
88  protected:
89 
91 
93 
96 
103 
104  };
105 }

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)