API Documentation
|
A decorated dial class that allows the user to set the lighting direction. More...
#include <SunDial.h>
Public Member Functions | |
Vector< 2, fltp04 > | centerPoint () const |
Vector< 2, fltp04 > | knobLocation () const |
fltp04 | knobRadius () const |
virtual void | mouseMoveEvent (QMouseEvent *ev) override |
virtual void | mousePressEvent (QMouseEvent *ev) override |
virtual void | mouseReleaseEvent (QMouseEvent *) override |
fltp04 | outerRadius () const |
void | setBackgroundColor (QColor inner, QColor outer) |
void | setKnobColor (QColor inner, QColor outer) |
QSize | sizeHint () const override |
SunDial (QWidget *parent=nullptr) | |
Public Attributes | |
Resource< Vector< 2, fltp04 > > | location |
Protected Member Functions | |
void | paintEvent (QPaintEvent *paint_event) override |
Protected Attributes | |
bool | m_dragging |
QColor | m_inner_color |
fltp04 | m_inner_radius |
QColor | m_knob_inner_color |
QColor | m_knob_outer_color |
fltp04 | m_knob_radius |
QColor | m_outer_color |
A decorated dial class that allows the user to set the lighting direction.
SunDial | ( | QWidget * | parent = nullptr | ) |
|
inline |
|
overridevirtual |
|
overridevirtual |
|
inlineoverridevirtual |
fltp04 outerRadius | ( | ) | const |
|
overrideprotected |
void setBackgroundColor | ( | QColor | inner, |
QColor | outer ) |
void setKnobColor | ( | QColor | inner, |
QColor | outer ) |
|
inlineoverride |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |