dRonin  adbada4
dRonin GCS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
DialGadgetWidget Class Reference

#include <dialgadgetwidget.h>

Inheritance diagram for DialGadgetWidget:

Public Slots

void updateNeedle1 (UAVObject *object1)
 Called by the UAVObject which got updated. More...
 
void updateNeedle2 (UAVObject *object2)
 Called by the UAVObject which got updated. More...
 
void updateNeedle3 (UAVObject *object3)
 Called by the UAVObject which got updated. More...
 

Public Member Functions

 DialGadgetWidget (QWidget *parent=nullptr)
 
 ~DialGadgetWidget ()
 
void enableSmoothUpdates (bool flag)
 
void setDialFile (QString dfn, QString bg, QString fg, QString n1, QString n2, QString n3, QString n1Move, QString n2Move, QString n3Move)
 
void paint ()
 
void setNeedle1 (double value)
 
void setNeedle2 (double value)
 
void setNeedle3 (double value)
 
void setN1Min (double value)
 
void setN1Max (double value)
 
void setN1Factor (double value)
 
void setN2Min (double value)
 
void setN2Max (double value)
 
void setN2Factor (double value)
 
void setN3Min (double value)
 
void setN3Max (double value)
 
void setN3Factor (double value)
 
void connectNeedles (QString object1, QString field1, QString object2, QString field2, QString object3, QString field3)
 Connects the widget to the relevant UAVObjects. More...
 
void setDialFont (QString fontProps)
 

Protected Member Functions

void paintEvent (QPaintEvent *event)
 
void resizeEvent (QResizeEvent *event)
 

Detailed Description

Definition at line 42 of file dialgadgetwidget.h.


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