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

#include <pfdqmlgadgetconfiguration.h>

Inheritance diagram for PfdQmlGadgetConfiguration:
Core::IUAVGadgetConfiguration

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
 
IUAVGadgetConfigurationclone ()
 
- 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
 

Detailed Description

Definition at line 23 of file pfdqmlgadgetconfiguration.h.

Constructor & Destructor Documentation

PfdQmlGadgetConfiguration::PfdQmlGadgetConfiguration ( QString  classId,
QSettings *  qSettings = nullptr,
QObject *  parent = nullptr 
)
explicit

Loads a saved configuration or defaults if non exist.

Definition at line 23 of file pfdqmlgadgetconfiguration.cpp.

Member Function Documentation

IUAVGadgetConfiguration * PfdQmlGadgetConfiguration::clone ( )
virtual

Clones a configuration.

Implements Core::IUAVGadgetConfiguration.

Definition at line 43 of file pfdqmlgadgetconfiguration.cpp.

QString PfdQmlGadgetConfiguration::qmlFile ( ) const
inline

Definition at line 32 of file pfdqmlgadgetconfiguration.h.

void PfdQmlGadgetConfiguration::saveConfig ( QSettings *  qSettings) const
virtual

Saves a configuration.

Reimplemented from Core::IUAVGadgetConfiguration.

Definition at line 56 of file pfdqmlgadgetconfiguration.cpp.

void PfdQmlGadgetConfiguration::setQmlFile ( const QString &  fileName)
inline

Definition at line 30 of file pfdqmlgadgetconfiguration.h.

QVariantMap PfdQmlGadgetConfiguration::settings ( ) const
inline

Definition at line 33 of file pfdqmlgadgetconfiguration.h.


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