dRonin
adbada4
dRonin GCS
|
#include <dtfcconfiguration.h>
Public Member Functions | |
DtfcConfiguration (QWidget *parent=nullptr) | |
~DtfcConfiguration () | |
Public Member Functions inherited from ConfigTaskWidget | |
ConfigTaskWidget (QWidget *parent=nullptr) | |
virtual | ~ConfigTaskWidget () |
void | disableMouseWheelEvents () |
bool | eventFilter (QObject *obj, QEvent *evt) |
void | saveObjectToSD (UAVObject *obj) |
UAVObjectManager * | getObjectManager () |
ConfigTaskWidget::getObjectManager Utility function to get a pointer to the object manager. More... | |
UAVObjectUtilManager * | getObjectUtilManager () |
ConfigTaskWidget::getObjectUtilManager Utility function to get a pointer to the object manager utilities. More... | |
void | addUAVObject (QString objectName, QList< int > *reloadGroups=NULL) |
void | addUAVObject (UAVObject *objectName, QList< int > *reloadGroups=NULL) |
void | addWidget (QWidget *widget) |
void | addUAVObjectToWidgetRelation (QString object, QString field, QWidget *widget, int index=0, double scale=1, bool isLimited=false, bool useUnits=false, QList< int > *defaultReloadGroups=nullptr, quint32 instID=0, bool oneWayBind=false) |
Add an UAVObject field to widget relation to the management system Note: This is the instance called for objrelation dynamic properties. More... | |
void | addConnectionsButton (QPushButton *button) |
addConnectionsButton Add connection diagram button More... | |
void | addWidgetToDefaultReloadGroups (QWidget *widget, QList< int > *groups) |
bool | addShadowWidget (QString object, QString field, QWidget *widget, int index=0, double scale=1, bool isLimited=false, bool useUnits=false, QList< int > *defaultReloadGroups=NULL, quint32 instID=0) |
void | autoLoadWidgets () |
void | loadAllLimits () |
bool | isAutopilotConnected () |
ConfigTaskWidget::isAutopilotConnected Checks if the autopilot is connected. More... | |
bool | isDirty () |
void | setDirty (bool value) |
bool | allObjectsUpdated () |
void | setOutOfLimitsStyle (QString style) |
void | addHelpButton (QPushButton *button, QString url) |
void | forceShadowUpdates () |
ConfigTaskWidget::forceShadowUpdates. More... | |
void | forceConnectedState () |
void | setNotMandatory (QString object) |
virtual void | tabSwitchingAway () |
Additional Inherited Members | |
Public Types inherited from ConfigTaskWidget | |
enum | buttonTypeEnum { none, save_button, apply_button, reload_button, default_button, help_button, reboot_button, connections_button } |
enum | metadataSetEnum { ALL_METADATA, SETTINGS_METADATA_ONLY, NONSETTINGS_METADATA_ONLY } |
Public Slots inherited from ConfigTaskWidget | |
void | onAutopilotDisconnect () |
void | onAutopilotConnect () |
void | invalidateObjects () |
void | apply () |
void | save () |
Signals inherited from ConfigTaskWidget | |
void | widgetContentsChanged (QWidget *widget) |
void | populateWidgetsRequested () |
void | refreshWidgetsValuesRequested () |
void | updateObjectsFromWidgetsRequested () |
void | autoPilotConnected () |
void | autoPilotDisconnected () |
void | defaultRequested (int group) |
Static Public Member Functions inherited from ConfigTaskWidget | |
static double | listMean (QList< double > list) |
static double | listVar (QList< double > list) |
Protected Slots inherited from ConfigTaskWidget | |
virtual void | disableObjUpdates () |
virtual void | enableObjUpdates () |
virtual void | clearDirty () |
virtual void | widgetsContentsChanged () |
virtual void | populateWidgets () |
virtual void | refreshWidgetsValues (UAVObject *obj=NULL) |
virtual void | updateObjectsFromWidgets () |
virtual void | helpButtonPressed () |
Protected Member Functions inherited from ConfigTaskWidget | |
virtual void | enableControls (bool enable) |
void | checkWidgetsLimits (QWidget *widget, UAVObjectField *field, int index, bool hasLimits, bool useUnits, QVariant value, double scale) |
virtual QVariant | getVariantFromWidget (QWidget *widget, double scale, bool usesUnits=false) |
virtual bool | setWidgetFromVariant (QWidget *widget, QVariant value, double scale, QString units="") |
virtual QString | getOptionFromChecked (QWidget *widget, bool checked) |
Determine which enum option based on checkbox. More... | |
virtual bool | getCheckedFromOption (QWidget *widget, QString option) |
Determine whether checkbox should be checked. More... | |
bool | resetWidgetToDefault (QWidget *widget) |
resetWidgetToDefault Resets the widget to the default value for the associated field More... | |
void | setWidgetProperty (QWidget *widget, const char *prop, const QVariant &value) |
setWidgetProperty Sets a dynamic property on a widget and forces a re-evaluation of it's stylesheet Normally the stylesheet isn't re-evaluated when dynamic properties are changed More... | |
void | setWidgetEnabled (QWidget *widget, bool enabled=true) |
setWidgetEnabled Enable/disable a widget controlled by a UAVO relation More... | |
Protected Attributes inherited from ConfigTaskWidget | |
UAVObjectUtilManager * | utilMngr |
Definition at line 40 of file dtfcconfiguration.h.