dRonin
adbada4
dRonin GCS
|
#include <pfdqmlgadgetconfiguration.h>
Public Member Functions | |
PfdQmlGadgetConfiguration (QString classId, QSettings *qSettings=nullptr, QObject *parent=nullptr) | |
void | setQmlFile (const QString &fileName) |
QString | qmlFile () const |
QVariantMap | settings () const |
void | saveConfig (QSettings *settings) const |
IUAVGadgetConfiguration * | clone () |
Public Member Functions inherited from Core::IUAVGadgetConfiguration | |
IUAVGadgetConfiguration (QString classId, QObject *parent=nullptr) | |
QString | classId () |
QString | name () |
void | setName (QString name) |
QString | provisionalName () |
void | setProvisionalName (QString name) |
bool | locked () const |
void | setLocked (bool locked) |
virtual void | saveConfig () const |
virtual void | saveConfig (QSettings *settings, UAVConfigInfo *) const |
Definition at line 23 of file pfdqmlgadgetconfiguration.h.
|
explicit |
Loads a saved configuration or defaults if non exist.
Definition at line 23 of file pfdqmlgadgetconfiguration.cpp.
|
virtual |
Clones a configuration.
Implements Core::IUAVGadgetConfiguration.
Definition at line 43 of file pfdqmlgadgetconfiguration.cpp.
|
inline |
Definition at line 32 of file pfdqmlgadgetconfiguration.h.
|
virtual |
Saves a configuration.
Reimplemented from Core::IUAVGadgetConfiguration.
Definition at line 56 of file pfdqmlgadgetconfiguration.cpp.
|
inline |
Definition at line 30 of file pfdqmlgadgetconfiguration.h.
|
inline |
Definition at line 33 of file pfdqmlgadgetconfiguration.h.