9 changed files with 0 additions and 157 deletions
@ -1,57 +0,0 @@
@@ -1,57 +0,0 @@
|
||||
/****************************************************************************
|
||||
* |
||||
* (c) 2009-2016 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
|
||||
* |
||||
* QGroundControl is licensed according to the terms in the file |
||||
* COPYING.md in the root of the source code directory. |
||||
* |
||||
****************************************************************************/ |
||||
|
||||
#include "MixersComponent.h" |
||||
#include "ParameterManager.h" |
||||
|
||||
MixersComponent::MixersComponent(Vehicle* vehicle, AutoPilotPlugin* autopilot, QObject* parent) |
||||
: VehicleComponent(vehicle, autopilot, parent) |
||||
, _name(tr("Mixers")) |
||||
{ |
||||
} |
||||
|
||||
QString MixersComponent::name(void) const |
||||
{ |
||||
return _name; |
||||
} |
||||
|
||||
QString MixersComponent::description(void) const |
||||
{ |
||||
return tr("Mixers tuning is used to blah, blah, blah... [WIP]"); |
||||
} |
||||
|
||||
QString MixersComponent::iconResource(void) const |
||||
{ |
||||
return QStringLiteral("/qmlimages/TuningComponentIcon.png"); |
||||
} |
||||
|
||||
bool MixersComponent::requiresSetup(void) const |
||||
{ |
||||
return false; |
||||
} |
||||
|
||||
bool MixersComponent::setupComplete(void) const |
||||
{ |
||||
return true; |
||||
} |
||||
|
||||
QStringList MixersComponent::setupCompleteChangedTriggerList(void) const |
||||
{ |
||||
return QStringList(); |
||||
} |
||||
|
||||
QUrl MixersComponent::setupSource(void) const |
||||
{ |
||||
return QUrl::fromUserInput(QStringLiteral("qrc:/qml/MixersComponent.qml")); |
||||
} |
||||
|
||||
QUrl MixersComponent::summaryQmlSource(void) const |
||||
{ |
||||
return QUrl(); |
||||
} |
@ -1,41 +0,0 @@
@@ -1,41 +0,0 @@
|
||||
/****************************************************************************
|
||||
* |
||||
* (c) 2009-2016 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
|
||||
* |
||||
* QGroundControl is licensed according to the terms in the file |
||||
* COPYING.md in the root of the source code directory. |
||||
* |
||||
****************************************************************************/ |
||||
|
||||
#ifndef MixersComponent_H |
||||
#define MixersComponent_H |
||||
|
||||
#include "VehicleComponent.h" |
||||
|
||||
// Mixers Tuning vehicle component
|
||||
class MixersComponent : public VehicleComponent |
||||
{ |
||||
Q_OBJECT |
||||
|
||||
public: |
||||
MixersComponent(Vehicle* vehicle, AutoPilotPlugin* autopilot, QObject* parent = NULL); |
||||
|
||||
// Virtuals from VehicleComponent
|
||||
QStringList setupCompleteChangedTriggerList(void) const final; |
||||
|
||||
// Virtuals from VehicleComponent
|
||||
QString name(void) const final; |
||||
QString description(void) const final; |
||||
QString iconResource(void) const final; |
||||
bool requiresSetup(void) const final; |
||||
bool setupComplete(void) const final; |
||||
QUrl setupSource(void) const final; |
||||
QUrl summaryQmlSource(void) const final; |
||||
bool allowSetupWhileArmed(void) const final { return true; } |
||||
|
||||
private: |
||||
const QString _name; |
||||
QVariantList _summaryItems; |
||||
}; |
||||
|
||||
#endif |
@ -1,38 +0,0 @@
@@ -1,38 +0,0 @@
|
||||
/**************************************************************************** |
||||
* |
||||
* (c) 2009-2016 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> |
||||
* |
||||
* QGroundControl is licensed according to the terms in the file |
||||
* COPYING.md in the root of the source code directory. |
||||
* |
||||
****************************************************************************/ |
||||
|
||||
import QtQuick 2.3 |
||||
import QtQuick.Controls 1.2 |
||||
|
||||
import QGroundControl.FactSystem 1.0 |
||||
import QGroundControl.FactControls 1.0 |
||||
import QGroundControl.Palette 1.0 |
||||
import QGroundControl.Controls 1.0 |
||||
import QGroundControl.ScreenTools 1.0 |
||||
|
||||
// Mixer Tuning setup page |
||||
SetupPage { |
||||
id: tuningPage |
||||
pageComponent: tuningPageComponent |
||||
|
||||
Component { |
||||
id: tuningPageComponent |
||||
|
||||
Column { |
||||
width: availableWidth |
||||
spacing: _margins |
||||
|
||||
FactPanelController { id: controller; factPanel: tuningPage.viewPanel } |
||||
|
||||
QGCPalette { id: palette; colorGroupEnabled: true } |
||||
|
||||
QGCLabel { text: qsTr("Lot of Qml code goes here...") } |
||||
} // Column |
||||
} // Component |
||||
} // SetupView |
Loading…
Reference in new issue