Omnidome
Fulldome Mapping Software Toolkit
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Slots | Signals | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
omni::ui::Dial Class Reference

Circular dial widget with range value and editor. More...

#include <Dial.h>

Inheritance diagram for omni::ui::Dial:
Inheritance graph
[legend]
Collaboration diagram for omni::ui::Dial:
Collaboration graph
[legend]

Public Types

typedef mixin::Editor< Dial,
QDoubleSpinBox > 
mixin_editor_type
 Editor mixin type. More...
 
typedef mixin::RangedValue
< Dial, double > 
mixin_range_type
 Ranged value mixin type. More...
 
typedef
mixin_range_type::value_type 
value_type
 
- Public Types inherited from omni::ui::mixin::RangedValue< Dial, double >
typedef Range< double > range_type
 
typedef Step< double > step_type
 
typedef double value_type
 
- Public Types inherited from omni::ui::mixin::Range< double >
typedef double value_type
 
- Public Types inherited from omni::ui::mixin::Step< double >
typedef double value_type
 

Public Slots

void setShowTicks (bool)
 Set show ticks. More...
 
void setSuffix (QString const &)
 Set suffix string. More...
 
void setLetter (QChar)
 Set letter. More...
 
void setSingleStep (double)
 Set single step value. More...
 
void setPageStep (double)
 Set page step value. More...
 
void setMinimum (double)
 Set minimum value. More...
 
void setMaximum (double)
 Set maximum value. More...
 
void setRange (double, double)
 Set range. More...
 
void setValue (int)
 Set value from integer. More...
 
void setValue (double)
 Set value. More...
 
void setEditorVisible (bool)
 Set visibility of editor. More...
 

Signals

void valueChanged ()
 
void rangeChanged ()
 

Public Member Functions

 Dial (QWidget *=nullptr)
 Construct with optional parent widget. More...
 
 Dial (value_type _value, value_type _minimum, value_type _maximum, QWidget *=nullptr)
 Construct with value and minimum and maximum values. More...
 
 ~Dial ()
 Destructor. More...
 
QString const & suffix () const
 Return suffix string. More...
 
QChar letter () const
 Return letter shown in background. More...
 
ColorSet const & colorSet () const
 Return color set. More...
 
bool isMoving () const
 Is moving when mouse button is pressed. More...
 
bool showTicks () const
 Show ticks. More...
 
- Public Member Functions inherited from omni::ui::mixin::RangedValue< Dial, double >
 RangedValue ()
 Default constructor. More...
 
 RangedValue (value_type _value, value_type _minimum, value_type _maximum, value_type _singleStep=1.0, value_type _pageStep=10.0)
 Constructor from user defined value and range. More...
 
qreal ratio () const
 Returns ratio of current value. More...
 
value_type value () const
 Return value. More...
 
value_type defaultValue () const
 Return default value. More...
 
value_type pivot () const
 Return pivot value. More...
 
void increase ()
 Increate value by single step value. More...
 
void decrease ()
 Decrease value by single step value. More...
 
void setValue (value_type _value)
 Set new value and emit value changed event. More...
 
void reset ()
 Reset value to default value. More...
 
void setDefaultValue (value_type _value)
 Set new default value. More...
 
void setPivot (value_type _pivot)
 Set pivot value (0.0 by default) More...
 
- Public Member Functions inherited from omni::ui::mixin::Range< double >
 Range (value_type _minimum=0.0, value_type _maximum=100.0)
 
qreal ratio (value_type _v) const
 Return ratio of value v. More...
 
value_type range () const
 Return range (difference between maximum and minimum) More...
 
value_type minimum () const
 Return minimum value. More...
 
value_type maximum () const
 Return maximum value. More...
 
void setMinimum (value_type _minimum)
 Set new minimum value and value and emit rangeChanged event. More...
 
void disableMinimum ()
 Disable minimum by setting the value to infinite. More...
 
void setMaximum (value_type _maximum)
 Set new maximum value and value and emit rangeChanged event. More...
 
void disableMaximum ()
 Disable maximum by setting maximum to infinite value. More...
 
void setRange (value_type _minimum, value_type _maximum)
 Set range and validate. More...
 
void disableRange ()
 Disable range by setting minimum and maximum to infinite value. More...
 
bool minimumUsed () const
 
bool maximumUsed () const
 
- Public Member Functions inherited from omni::ui::mixin::Step< double >
 Step (value_type _singleStep=1.0, value_type _pageStep=10.0, bool _snap=false)
 Construct with a single step, page step value. More...
 
qreal snapped (value_type _v) const
 Return snapped value. More...
 
bool snap () const
 Snap value (align to single step value) More...
 
void setSnap (bool _snap)
 Set boolean if value is to be snapped. More...
 
value_type singleStep () const
 Return value for single step. More...
 
value_type pageStep () const
 Return value for page step. More...
 
void setSingleStep (value_type _singleStep)
 Set new single step value. More...
 
void setPageStep (value_type _pageStep)
 Set new value for page step. More...
 

Protected Member Functions

void resizeEvent (QResizeEvent *)
 Re-paint on resize. More...
 
void paintEvent (QPaintEvent *)
 
void mousePressEvent (QMouseEvent *)
 
void mouseReleaseEvent (QMouseEvent *)
 
void mouseMoveEvent (QMouseEvent *)
 
void mouseDoubleClickEvent (QMouseEvent *)
 Double click in center shows editor, double click on border reset to default value. More...
 
void keyPressEvent (QKeyEvent *)
 Show editor when enter key is pressed. More...
 
void valueChangedEvent ()
 Value changed event which is emitted on changed value. More...
 
void rangeChangedEvent ()
 Handler to emit rangeChanged signal in derived widgets. More...
 
- Protected Member Functions inherited from omni::ui::mixin::RangedValue< Dial, double >
void apply (WIDGET *_widget) const
 Apply ranged value to widget. More...
 
void for_each_step (F f)
 Functor to apply for each step. More...
 
void validate ()
 Validate minimum, maximum and value. More...
 
- Protected Member Functions inherited from omni::ui::mixin::Range< double >
void apply (WIDGET *_widget) const
 Apply range to widget. More...
 
void apply (WIDGET *_widget, V _value) const
 Applay range to widget and set value. More...
 
- Protected Member Functions inherited from omni::ui::mixin::Step< double >
void for_each_step (MIN _min, MAX _max, F f)
 Functor to be applied for each step between min and maximum. More...
 
- Protected Member Functions inherited from omni::ui::mixin::Editor< Dial, QDoubleSpinBox >
 Editor (widget_type *_widget)
 
T * createEditor ()
 Create editor with type. More...
 
editor_type const * editor () const
 Return pointer editor (const version) More...
 
editor_typeeditor ()
 Return pointer editor. More...
 
T * editorAs ()
 Return editor as type T. More...
 
T const * editorAs () const
 Return editor as type T (const version) More...
 
virtual void setEditorVisible (bool _visible)
 Set editor visibility and set focus. More...
 
void showEditor ()
 Show editor and set focus. More...
 
void hideEditor ()
 Hide editor. More...
 

Private Member Functions

void init ()
 
void editorSetup ()
 
double radius () const
 
double getValue (QPoint const &)
 Get value from point on widget. More...
 
void paintTick (QPainter &, double _value, double _length)
 Draw a tick with value and length. More...
 

Private Attributes

bool isMoving_ = false
 
bool showTicks_ = true
 
QChar letter_ = 'X'
 
QString suffix_
 
QLabel * valueLabel_
 
ColorSet colorSet_
 
QPointF pos_
 

Additional Inherited Members

- Protected Types inherited from omni::ui::mixin::Editor< Dial, QDoubleSpinBox >
typedef Dial widget_type
 Widget type. More...
 
typedef QDoubleSpinBox editor_type
 Editor widget type, e.g. QDoubleSpinBox. More...
 

Detailed Description

Circular dial widget with range value and editor.

Member Typedef Documentation

Editor mixin type.

Ranged value mixin type.

Constructor & Destructor Documentation

omni::ui::Dial::Dial ( QWidget *  _parent = nullptr)

Construct with optional parent widget.

30  :
31  QWidget(_parent),
32  mixin_range_type(0, 0, 100),
33  mixin_editor_type(this),
34  colorSet_(this)
35  {
36  init();
37  }
mixin::RangedValue< Dial, double > mixin_range_type
Ranged value mixin type.
Definition: Dial.h:44
void init()
Definition: Dial.cpp:75
ColorSet colorSet_
Definition: Dial.h:137
mixin::Editor< Dial, QDoubleSpinBox > mixin_editor_type
Editor mixin type.
Definition: Dial.h:41
omni::ui::Dial::Dial ( value_type  _value,
value_type  _minimum,
value_type  _maximum,
QWidget *  _parent = nullptr 
)

Construct with value and minimum and maximum values.

42  :
43  QWidget(_parent),
44  mixin_range_type(_value, _minimum, _maximum),
45  mixin_editor_type(this),
46  colorSet_(this)
47  {
48  init();
49  }
mixin::RangedValue< Dial, double > mixin_range_type
Ranged value mixin type.
Definition: Dial.h:44
void init()
Definition: Dial.cpp:75
ColorSet colorSet_
Definition: Dial.h:137
mixin::Editor< Dial, QDoubleSpinBox > mixin_editor_type
Editor mixin type.
Definition: Dial.h:41
omni::ui::Dial::~Dial ( )

Destructor.

52  {}

Member Function Documentation

ColorSet const & omni::ui::Dial::colorSet ( ) const

Return color set.

167  {
168  return colorSet_;
169  }
ColorSet colorSet_
Definition: Dial.h:137
void omni::ui::Dial::editorSetup ( )
privatevirtual

Implements omni::ui::mixin::Editor< Dial, QDoubleSpinBox >.

102  {
103  auto _editor = this->editorAs<editor_type>();
104 
105  connect(_editor, SIGNAL(valueChanged(double)), this,
106  SLOT(setValue(double)));
107  _editor->setFrame(false);
108  _editor->setAlignment(Qt::AlignRight);
109  _editor->setButtonSymbols(QAbstractSpinBox::PlusMinus);
110  mixin_range_type::apply(_editor);
112  }
void valueChanged()
void valueChangedEvent()
Value changed event which is emitted on changed value.
Definition: Dial.cpp:171
void setValue(int)
Set value from integer.
Definition: Dial.cpp:132
void apply(WIDGET *_widget) const
Apply ranged value to widget.
Definition: RangedValue.h:136
double omni::ui::Dial::getValue ( QPoint const &  _point)
private

Get value from point on widget.

288  {
289  auto _v = QVector2D(_point - rect().center()).normalized();
290  float _angle = atan2(_v.x(), -_v.y()) / M_PI * 0.5;
291 
292  _angle = (_angle + 0.5) * (maximum() - minimum()) + minimum();
293  return _angle;
294  }
value_type maximum() const
Return maximum value.
Definition: Range.h:60
value_type minimum() const
Return minimum value.
Definition: Range.h:54
void omni::ui::Dial::init ( )
private
76  {
77  setMinimumSize(32 / devicePixelRatio(), 96 / devicePixelRatio());
78  setMaximumSize(16000, 320 / devicePixelRatio());
79 
80  valueLabel_ = new QLabel(this);
81  valueLabel_->setAlignment(Qt::AlignCenter);
82  valueLabel_->setStyleSheet("background : transparent; color: #808080;");
83 
84  mixin_editor_type::createEditor<>();
85 
87  }
void valueChangedEvent()
Value changed event which is emitted on changed value.
Definition: Dial.cpp:171
QLabel * valueLabel_
Definition: Dial.h:136
bool omni::ui::Dial::isMoving ( ) const

Is moving when mouse button is pressed.

60  {
61  return isMoving_;
62  }
bool isMoving_
Definition: Dial.h:132
void omni::ui::Dial::keyPressEvent ( QKeyEvent *  _event)
protected

Show editor when enter key is pressed.

263  {
264  if (((_event->key() == Qt::Key_Enter) ||
265  (_event->key() == Qt::Key_Return)))
266  {
267  setEditorVisible(!editor()->hasFocus());
268  }
269 
270  float _step = singleStep();
271 
272  if (_event->modifiers() & Qt::ShiftModifier) {
273  _step = 1.0;
274  }
275  if (_event->modifiers() & Qt::ControlModifier) {
276  _step = pageStep();
277  }
278 
279  if (_event->key() == Qt::Key_Left) {
280  setValue(value() - _step);
281  }
282  if (_event->key() == Qt::Key_Right) {
283  setValue(value() + _step);
284  }
285  }
editor_type const * editor() const
Return pointer editor (const version)
Definition: Editor.h:58
value_type value() const
Return value.
Definition: RangedValue.h:65
value_type pageStep() const
Return value for page step.
Definition: Step.h:73
void setEditorVisible(bool)
Set visibility of editor.
Definition: Dial.cpp:89
value_type singleStep() const
Return value for single step.
Definition: Step.h:67
void setValue(int)
Set value from integer.
Definition: Dial.cpp:132
QChar omni::ui::Dial::letter ( ) const

Return letter shown in background.

void omni::ui::Dial::mouseDoubleClickEvent ( QMouseEvent *  event)
protected

Double click in center shows editor, double click on border reset to default value.

249  {
250  float _d = QVector2D(rect().center() - event->pos()).length();
251 
252  if ((_d < radius()) && (_d > radius()*0.6)) {
253  setValue(minimum());
254  }
255  // Show editor when click in the middle
256  if (_d < radius()*0.4) {
257  setEditorVisible(!editor()->isVisible());
258  } else {
259  setEditorVisible(false);
260  }
261  }
editor_type const * editor() const
Return pointer editor (const version)
Definition: Editor.h:58
double radius() const
Definition: Dial.cpp:353
void setEditorVisible(bool)
Set visibility of editor.
Definition: Dial.cpp:89
void setValue(int)
Set value from integer.
Definition: Dial.cpp:132
value_type minimum() const
Return minimum value.
Definition: Range.h:54
void omni::ui::Dial::mouseMoveEvent ( QMouseEvent *  e)
protected
219  {
220  if (isMoving_)
221  {
222  if (!minimumUsed() || !maximumUsed())
223  {
224  auto _center = rect().center();
225 
226  if ((pos_.x() > _center.x()) &&
227  (e->pos().x() <= _center.x()) &&
228  (e->pos().y() > _center.y()))
229  {
232  }
233 
234  if ((pos_.x() <= _center.x()) &&
235  (e->pos().x() > _center.x()) &&
236  (e->pos().y() > _center.y()))
237  {
240  }
241  }
242 
243  pos_ = e->pos();
244  setValue(getValue(e->pos()));
245  }
246  }
bool minimumUsed() const
Definition: Range.h:110
value_type value() const
Return value.
Definition: RangedValue.h:65
double getValue(QPoint const &)
Get value from point on widget.
Definition: Dial.cpp:287
value_type range() const
Return range (difference between maximum and minimum)
Definition: Range.h:49
void setValue(value_type _value)
Set new value and emit value changed event.
Definition: RangedValue.h:105
bool maximumUsed() const
Definition: Range.h:115
QPointF pos_
Definition: Dial.h:141
void setValue(int)
Set value from integer.
Definition: Dial.cpp:132
bool isMoving_
Definition: Dial.h:132
void omni::ui::Dial::mousePressEvent ( QMouseEvent *  e)
protected
195  {
196  setFocus();
197 
198  float _d = QVector2D(rect().center() - e->pos()).length();
199  isMoving_ = (_d < radius()) && (_d > radius()*0.6);
200 
201  if (isMoving_)
202  {
203  pos_ = e->pos();
204  setValue(getValue(e->pos()));
205  }
206  }
double getValue(QPoint const &)
Get value from point on widget.
Definition: Dial.cpp:287
double radius() const
Definition: Dial.cpp:353
QPointF pos_
Definition: Dial.h:141
void setValue(int)
Set value from integer.
Definition: Dial.cpp:132
bool isMoving_
Definition: Dial.h:132
void omni::ui::Dial::mouseReleaseEvent ( QMouseEvent *  e)
protected
209  {
210  if (isMoving_)
211  {
212  pos_ = e->pos();
213  setValue(getValue(e->pos()));
214  }
215  isMoving_ = false;
216  }
double getValue(QPoint const &)
Get value from point on widget.
Definition: Dial.cpp:287
QPointF pos_
Definition: Dial.h:141
void setValue(int)
Set value from integer.
Definition: Dial.cpp:132
bool isMoving_
Definition: Dial.h:132
void omni::ui::Dial::paintEvent ( QPaintEvent *  e)
protected
297  {
298  auto && _rect = rect();
299  QPointF _center = _rect.center();
300 
301  double _r = radius() - radius() / 50.0;
302  QPainter _p(this);
303  _p.setRenderHint(QPainter::Antialiasing);
304  _p.setBrush(colorSet().button());
305  _p.setPen(hasFocus() ? QPen(colorSet().dark(),
306  radius() / 50.0) : Qt::NoPen);
307 
308  _p.drawEllipse(_center, _r, _r);
309 
310  QPainterPath _ellipsePath, _piePath;
311  _ellipsePath.addEllipse(_center, _r, _r);
312  _ellipsePath.addEllipse(_center, _r * 0.75, _r * 0.75);
313  auto && _pieRect = _ellipsePath.boundingRect().adjusted(-2, -2, 2, 2);
314 
315  _p.setBrush(
316  hasFocus() ?
317  colorSet().highlight() :
318  colorSet().dark());
319 
320  QPainterPath _arc(_center);
321  _arc.arcTo(_pieRect, -90, -ratio() * 360);
322  _arc.lineTo(_center);
323  _arc.closeSubpath();
324 
325  _piePath = _arc & _ellipsePath;
326  _p.drawPath(_piePath);
327 
328  if (showTicks())
329  {
330  mixin_range_type::for_each_step([&](int _step, double i,
331  bool _isPage)
332  {
333  _p.setPen(QPen(i >= mixin_range_type::value() ?
334  colorSet().shadow() :
335  colorSet().windowText(), 1));
336  paintTick(_p, i, _isPage ? 0.25 : 0.125);
337  });
338  }
339 
340  _p.setPen(QPen(colorSet().shadow(), _r / 50.0));
341  paintTick(_p, mixin_range_type::value(), 0.333);
342  paintTick(_p, 0.0, 0.25);
343 
344 
345  // Draw big letter in the middle
346  _p.setPen(QPen(QColor("#3d3d3d"), 2));
347  QFont _font = font();
348  _font.setPixelSize(_r);
349  _p.setFont(_font);
350  _p.drawText(_rect, Qt::AlignCenter, letter_);
351  }
value_type value() const
Return value.
Definition: RangedValue.h:65
bool showTicks() const
Show ticks.
Definition: Dial.cpp:54
QChar letter_
Definition: Dial.h:134
double radius() const
Definition: Dial.cpp:353
void paintTick(QPainter &, double _value, double _length)
Draw a tick with value and length.
Definition: Dial.cpp:360
ColorSet const & colorSet() const
Return color set.
Definition: Dial.cpp:166
qreal ratio() const
Returns ratio of current value.
Definition: RangedValue.h:59
void for_each_step(F f)
Functor to apply for each step.
Definition: RangedValue.h:145
void omni::ui::Dial::paintTick ( QPainter &  _p,
double  _value,
double  _length 
)
private

Draw a tick with value and length.

361  {
362  auto && _rect = rect();
363  auto _center = QVector2D(_rect.center());
364 
365  auto _theta = mixin::Range<value_type>::ratio(_value) * M_PI * 2.0;
366 
367  QVector2D _a(-sin(_theta), cos(_theta));
368  _a *= radius() - radius() / 50.0;
369  QVector2D _b = _a * (1.0 - _length);
370  _a += _center;
371  _b += _center;
372 
373  _p.drawLine(_a.toPointF(), _b.toPointF());
374  }
double radius() const
Definition: Dial.cpp:353
qreal ratio(value_type _v) const
Return ratio of value v.
Definition: Range.h:43
double omni::ui::Dial::radius ( ) const
private
354  {
355  double _r = width() > height() ? height() : width();
356 
357  return _r * 0.5;
358  }
void omni::ui::Dial::rangeChanged ( )
signal
void omni::ui::Dial::rangeChangedEvent ( )
protectedvirtual

Handler to emit rangeChanged signal in derived widgets.

Reimplemented from omni::ui::mixin::Range< double >.

179  {
180  emit rangeChanged();
181 
182  update();
183  }
void rangeChanged()
void omni::ui::Dial::resizeEvent ( QResizeEvent *  e)
protected

Re-paint on resize.

186  {
187  valueLabel_->setGeometry(rect());
188  if (editor()) {
189  editor()->move(rect().center() -
190  QPoint(editor()->width()*0.5,editor()->height()*0.5));
191  }
192  }
editor_type const * editor() const
Return pointer editor (const version)
Definition: Editor.h:58
QLabel * valueLabel_
Definition: Dial.h:136
void omni::ui::Dial::setEditorVisible ( bool  _visible)
slot

Set visibility of editor.

90  {
92 
93  valueLabel_->setVisible(!_visible);
94 
95  if (!_visible)
96  {
97  setFocus();
98  return;
99  }
100  }
virtual void setEditorVisible(bool _visible)
Set editor visibility and set focus.
Definition: Editor.h:82
QLabel * valueLabel_
Definition: Dial.h:136
void omni::ui::Dial::setLetter ( QChar  c)
slot

Set letter.

115  {
116  letter_ = c;
117  update();
118  }
QChar letter_
Definition: Dial.h:134
void omni::ui::Dial::setMaximum ( double  _max)
slot

Set maximum value.

143  {
145  }
void setMaximum(value_type _maximum)
Set new maximum value and value and emit rangeChanged event.
Definition: Range.h:80
void omni::ui::Dial::setMinimum ( double  _min)
slot

Set minimum value.

138  {
140  }
void setMinimum(value_type _minimum)
Set new minimum value and value and emit rangeChanged event.
Definition: Range.h:66
void omni::ui::Dial::setPageStep ( double  _pageStep)
slot

Set page step value.

160  {
162 
163  update();
164  }
void setPageStep(value_type _pageStep)
Set new value for page step.
Definition: Step.h:85
void omni::ui::Dial::setRange ( double  _min,
double  _max 
)
slot

Set range.

148  {
149  mixin_range_type::setRange(_min, _max);
150  }
void setRange(value_type _minimum, value_type _maximum)
Set range and validate.
Definition: Range.h:94
void omni::ui::Dial::setShowTicks ( bool  _showTicks)
slot

Set show ticks.

70  {
71  showTicks_ = _showTicks;
72  update();
73  }
bool showTicks_
Definition: Dial.h:133
void omni::ui::Dial::setSingleStep ( double  _singleStep)
slot

Set single step value.

153  {
154  mixin_range_type::setSingleStep(_singleStep);
155 
156  update();
157  }
void setSingleStep(value_type _singleStep)
Set new single step value.
Definition: Step.h:79
void omni::ui::Dial::setSuffix ( QString const &  _s)
slot

Set suffix string.

121  {
122  suffix_ = _s;
123  valueLabel_->setText(QString("%1%2").arg(int(value())).arg(suffix()));
124  update();
125  }
value_type value() const
Return value.
Definition: RangedValue.h:65
QLabel * valueLabel_
Definition: Dial.h:136
QString suffix_
Definition: Dial.h:135
QString const & suffix() const
Return suffix string.
Definition: Dial.cpp:64
void omni::ui::Dial::setValue ( int  _value)
slot

Set value from integer.

133  {
135  }
void setValue(value_type _value)
Set new value and emit value changed event.
Definition: RangedValue.h:105
void omni::ui::Dial::setValue ( double  _value)
slot

Set value.

128  {
130  }
void setValue(value_type _value)
Set new value and emit value changed event.
Definition: RangedValue.h:105
bool omni::ui::Dial::showTicks ( ) const

Show ticks.

55  {
56  return showTicks_;
57  }
bool showTicks_
Definition: Dial.h:133
QString const & omni::ui::Dial::suffix ( ) const

Return suffix string.

65  {
66  return suffix_;
67  }
QString suffix_
Definition: Dial.h:135
void omni::ui::Dial::valueChanged ( )
signal
void omni::ui::Dial::valueChangedEvent ( )
protectedvirtual

Value changed event which is emitted on changed value.

Reimplemented from omni::ui::mixin::RangedValue< Dial, double >.

172  {
173  valueLabel_->setText(QString("%1%2").arg(int(value())).arg(suffix()));
174  emit valueChanged();
175  update();
176  }
value_type value() const
Return value.
Definition: RangedValue.h:65
void valueChanged()
QLabel * valueLabel_
Definition: Dial.h:136
QString const & suffix() const
Return suffix string.
Definition: Dial.cpp:64

Field Documentation

ColorSet omni::ui::Dial::colorSet_
private
bool omni::ui::Dial::isMoving_ = false
private
QChar omni::ui::Dial::letter_ = 'X'
private
QPointF omni::ui::Dial::pos_
private
bool omni::ui::Dial::showTicks_ = true
private
QString omni::ui::Dial::suffix_
private
QLabel* omni::ui::Dial::valueLabel_
private

The documentation for this class was generated from the following files: