API Documentation
Loading...
Searching...
No Matches
SunDial Class Reference

#include <SunDial.h>

Inheritance diagram for SunDial:
[legend]
Collaboration diagram for SunDial:
[legend]

Public Member Functions

 SunDial (QWidget *parent=nullptr)
 
virtual void mousePressEvent (QMouseEvent *ev) override
 
Vector< 2, fltp04centerPoint () const
 
Vector< 2, fltp04knobLocation () const
 
fltp04 knobRadius () const
 
fltp04 outerRadius () const
 
QSize sizeHint () const override
 
virtual void mouseReleaseEvent (QMouseEvent *) override
 
void setKnobColor (QColor inner, QColor outer)
 
void setBackgroundColor (QColor inner, QColor outer)
 
virtual void mouseMoveEvent (QMouseEvent *ev) override
 

Public Attributes

Resource< Vector< 2, fltp04 > > location
 

Protected Member Functions

void paintEvent (QPaintEvent *paint_event) override
 

Protected Attributes

fltp04 m_inner_radius
 
QColor m_outer_color
 
QColor m_inner_color
 
QColor m_knob_inner_color
 
QColor m_knob_outer_color
 
fltp04 m_knob_radius
 
bool m_dragging
 

Constructor & Destructor Documentation

◆ SunDial()

SunDial ( QWidget * parent = nullptr)

Member Function Documentation

◆ centerPoint()

Vector< 2, fltp04 > centerPoint ( ) const

◆ knobLocation()

Vector< 2, fltp04 > knobLocation ( ) const

◆ knobRadius()

fltp04 knobRadius ( ) const
inline

◆ mouseMoveEvent()

void mouseMoveEvent ( QMouseEvent * ev)
overridevirtual

◆ mousePressEvent()

void mousePressEvent ( QMouseEvent * ev)
overridevirtual

◆ mouseReleaseEvent()

virtual void mouseReleaseEvent ( QMouseEvent * )
inlineoverridevirtual

◆ outerRadius()

fltp04 outerRadius ( ) const

◆ paintEvent()

void paintEvent ( QPaintEvent * paint_event)
overrideprotected

◆ setBackgroundColor()

void setBackgroundColor ( QColor inner,
QColor outer )

◆ setKnobColor()

void setKnobColor ( QColor inner,
QColor outer )

◆ sizeHint()

QSize sizeHint ( ) const
inlineoverride

Member Data Documentation

◆ location

Resource<Vector<2, fltp04> > location

◆ m_dragging

bool m_dragging
protected

◆ m_inner_color

QColor m_inner_color
protected

◆ m_inner_radius

fltp04 m_inner_radius
protected

◆ m_knob_inner_color

QColor m_knob_inner_color
protected

◆ m_knob_outer_color

QColor m_knob_outer_color
protected

◆ m_knob_radius

fltp04 m_knob_radius
protected

◆ m_outer_color

QColor m_outer_color
protected

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