25 changed files with 1651 additions and 352 deletions
@ -0,0 +1,148 @@
@@ -0,0 +1,148 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
||||
<?fileVersion 4.0.0?> |
||||
|
||||
<cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage"> |
||||
<storageModule moduleId="org.eclipse.cdt.core.settings"> |
||||
<cconfiguration id="org.eclipse.cdt.core.default.config.989472769"> |
||||
<storageModule buildSystemId="org.eclipse.cdt.core.defaultConfigDataProvider" id="org.eclipse.cdt.core.default.config.989472769" moduleId="org.eclipse.cdt.core.settings" name="Configuration"> |
||||
<externalSettings/> |
||||
<extensions> |
||||
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/> |
||||
<extension id="org.eclipse.cdt.core.PE" point="org.eclipse.cdt.core.BinaryParser"/> |
||||
</extensions> |
||||
</storageModule> |
||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/> |
||||
<storageModule moduleId="scannerConfiguration"> |
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile"/> |
||||
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile"> |
||||
<buildOutputProvider> |
||||
<openAction enabled="true" filePath=""/> |
||||
<parser enabled="true"/> |
||||
</buildOutputProvider> |
||||
<scannerInfoProvider id="specsFile"> |
||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/> |
||||
<parser enabled="true"/> |
||||
</scannerInfoProvider> |
||||
</profile> |
||||
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile"> |
||||
<buildOutputProvider> |
||||
<openAction enabled="true" filePath=""/> |
||||
<parser enabled="true"/> |
||||
</buildOutputProvider> |
||||
<scannerInfoProvider id="makefileGenerator"> |
||||
<runAction arguments="-E -P -v -dD" command="" useDefault="true"/> |
||||
<parser enabled="true"/> |
||||
</scannerInfoProvider> |
||||
</profile> |
||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile"> |
||||
<buildOutputProvider> |
||||
<openAction enabled="true" filePath=""/> |
||||
<parser enabled="true"/> |
||||
</buildOutputProvider> |
||||
<scannerInfoProvider id="specsFile"> |
||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/> |
||||
<parser enabled="true"/> |
||||
</scannerInfoProvider> |
||||
</profile> |
||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP"> |
||||
<buildOutputProvider> |
||||
<openAction enabled="true" filePath=""/> |
||||
<parser enabled="true"/> |
||||
</buildOutputProvider> |
||||
<scannerInfoProvider id="specsFile"> |
||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/> |
||||
<parser enabled="true"/> |
||||
</scannerInfoProvider> |
||||
</profile> |
||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"> |
||||
<buildOutputProvider> |
||||
<openAction enabled="true" filePath=""/> |
||||
<parser enabled="true"/> |
||||
</buildOutputProvider> |
||||
<scannerInfoProvider id="specsFile"> |
||||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/> |
||||
<parser enabled="true"/> |
||||
</scannerInfoProvider> |
||||
</profile> |
||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile"> |
||||
<buildOutputProvider> |
||||
<openAction enabled="true" filePath=""/> |
||||
<parser enabled="true"/> |
||||
</buildOutputProvider> |
||||
<scannerInfoProvider id="specsFile"> |
||||
<runAction arguments="-c 'gcc -E -P -v -dD "${plugin_state_location}/${specs_file}"'" command="sh" useDefault="true"/> |
||||
<parser enabled="true"/> |
||||
</scannerInfoProvider> |
||||
</profile> |
||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP"> |
||||
<buildOutputProvider> |
||||
<openAction enabled="true" filePath=""/> |
||||
<parser enabled="true"/> |
||||
</buildOutputProvider> |
||||
<scannerInfoProvider id="specsFile"> |
||||
<runAction arguments="-c 'g++ -E -P -v -dD "${plugin_state_location}/specs.cpp"'" command="sh" useDefault="true"/> |
||||
<parser enabled="true"/> |
||||
</scannerInfoProvider> |
||||
</profile> |
||||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC"> |
||||
<buildOutputProvider> |
||||
<openAction enabled="true" filePath=""/> |
||||
<parser enabled="true"/> |
||||
</buildOutputProvider> |
||||
<scannerInfoProvider id="specsFile"> |
||||
<runAction arguments="-c 'gcc -E -P -v -dD "${plugin_state_location}/specs.c"'" command="sh" useDefault="true"/> |
||||
<parser enabled="true"/> |
||||
</scannerInfoProvider> |
||||
</profile> |
||||
</storageModule> |
||||
<storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"> |
||||
<buildTargets> |
||||
<target name="Qt Release Build" path="" targetID="org.eclipse.cdt.make.MakeTargetBuilder"> |
||||
<buildCommand>mingw32-make</buildCommand> |
||||
<buildArguments/> |
||||
<buildTarget>release</buildTarget> |
||||
<stopOnError>false</stopOnError> |
||||
<useDefaultCommand>false</useDefaultCommand> |
||||
<runAllBuilders>true</runAllBuilders> |
||||
</target> |
||||
<target name="Qt Debug Build" path="" targetID="org.eclipse.cdt.make.MakeTargetBuilder"> |
||||
<buildCommand>mingw32-make</buildCommand> |
||||
<buildArguments/> |
||||
<buildTarget>debug</buildTarget> |
||||
<stopOnError>false</stopOnError> |
||||
<useDefaultCommand>false</useDefaultCommand> |
||||
<runAllBuilders>true</runAllBuilders> |
||||
</target> |
||||
</buildTargets> |
||||
</storageModule> |
||||
<storageModule moduleId="org.eclipse.cdt.core.pathentry"> |
||||
<pathentry base-path="C:/Qt/2010.04/qt/include" include="" kind="inc" path="" system="true"/> |
||||
<pathentry base-path="C:/Qt/2010.04/qt/include" include="ActiveQt" kind="inc" path="" system="true"/> |
||||
<pathentry base-path="C:/Qt/2010.04/qt/include" include="phonon" kind="inc" path="" system="true"/> |
||||
<pathentry base-path="C:/Qt/2010.04/qt/include" include="phonon_compat" kind="inc" path="" system="true"/> |
||||
<pathentry base-path="C:/Qt/2010.04/qt/include" include="Qt" kind="inc" path="" system="true"/> |
||||
<pathentry base-path="C:/Qt/2010.04/qt/include" include="Qt3Support" kind="inc" path="" system="true"/> |
||||
<pathentry base-path="C:/Qt/2010.04/qt/include" include="QtAssistant" kind="inc" path="" system="true"/> |
||||
<pathentry base-path="C:/Qt/2010.04/qt/include" include="QtCore" kind="inc" path="" system="true"/> |
||||
<pathentry base-path="C:/Qt/2010.04/qt/include" include="QtDBus" kind="inc" path="" system="true"/> |
||||
<pathentry base-path="C:/Qt/2010.04/qt/include" include="QtDeclarative" kind="inc" path="" system="true"/> |
||||
<pathentry base-path="C:/Qt/2010.04/qt/include" include="QtDesigner" kind="inc" path="" system="true"/> |
||||
<pathentry base-path="C:/Qt/2010.04/qt/include" include="QtGui" kind="inc" path="" system="true"/> |
||||
<pathentry base-path="C:/Qt/2010.04/qt/include" include="QtHelp" kind="inc" path="" system="true"/> |
||||
<pathentry base-path="C:/Qt/2010.04/qt/include" include="QtMultimedia" kind="inc" path="" system="true"/> |
||||
<pathentry base-path="C:/Qt/2010.04/qt/include" include="QtNetwork" kind="inc" path="" system="true"/> |
||||
<pathentry base-path="C:/Qt/2010.04/qt/include" include="QtOpenGL" kind="inc" path="" system="true"/> |
||||
<pathentry base-path="C:/Qt/2010.04/qt/include" include="QtOpenVG" kind="inc" path="" system="true"/> |
||||
<pathentry base-path="C:/Qt/2010.04/qt/include" include="QtScript" kind="inc" path="" system="true"/> |
||||
<pathentry base-path="C:/Qt/2010.04/qt/include" include="QtScriptTools" kind="inc" path="" system="true"/> |
||||
<pathentry base-path="C:/Qt/2010.04/qt/include" include="QtSql" kind="inc" path="" system="true"/> |
||||
<pathentry base-path="C:/Qt/2010.04/qt/include" include="QtSvg" kind="inc" path="" system="true"/> |
||||
<pathentry base-path="C:/Qt/2010.04/qt/include" include="QtTest" kind="inc" path="" system="true"/> |
||||
<pathentry base-path="C:/Qt/2010.04/qt/include" include="QtUiTools" kind="inc" path="" system="true"/> |
||||
<pathentry base-path="C:/Qt/2010.04/qt/include" include="QtWebKit" kind="inc" path="" system="true"/> |
||||
<pathentry base-path="C:/Qt/2010.04/qt/include" include="QtXml" kind="inc" path="" system="true"/> |
||||
<pathentry base-path="C:/Qt/2010.04/qt/include" include="QtXmlPatterns" kind="inc" path="" system="true"/> |
||||
</storageModule> |
||||
</cconfiguration> |
||||
</storageModule> |
||||
</cproject> |
@ -0,0 +1,88 @@
@@ -0,0 +1,88 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<projectDescription> |
||||
<name>qgroundcontrol</name> |
||||
<comment></comment> |
||||
<projects> |
||||
</projects> |
||||
<buildSpec> |
||||
<buildCommand> |
||||
<name>com.trolltech.qtcppproject.QtMakefileGenerator</name> |
||||
<arguments> |
||||
</arguments> |
||||
</buildCommand> |
||||
<buildCommand> |
||||
<name>org.eclipse.cdt.make.core.makeBuilder</name> |
||||
<triggers>clean,full,incremental,</triggers> |
||||
<arguments> |
||||
<dictionary> |
||||
<key>org.eclipse.cdt.core.errorOutputParser</key> |
||||
<value>org.eclipse.cdt.core.GASErrorParser;org.eclipse.cdt.core.GCCErrorParser;org.eclipse.cdt.core.GLDErrorParser;org.eclipse.cdt.core.GmakeErrorParser;org.eclipse.cdt.core.VCErrorParser;org.eclipse.cdt.core.CWDLocator;org.eclipse.cdt.core.MakeErrorParser;</value> |
||||
</dictionary> |
||||
<dictionary> |
||||
<key>org.eclipse.cdt.make.core.append_environment</key> |
||||
<value>true</value> |
||||
</dictionary> |
||||
<dictionary> |
||||
<key>org.eclipse.cdt.make.core.build.arguments</key> |
||||
<value></value> |
||||
</dictionary> |
||||
<dictionary> |
||||
<key>org.eclipse.cdt.make.core.build.command</key> |
||||
<value>mingw32-make</value> |
||||
</dictionary> |
||||
<dictionary> |
||||
<key>org.eclipse.cdt.make.core.build.target.auto</key> |
||||
<value>debug</value> |
||||
</dictionary> |
||||
<dictionary> |
||||
<key>org.eclipse.cdt.make.core.build.target.clean</key> |
||||
<value>clean</value> |
||||
</dictionary> |
||||
<dictionary> |
||||
<key>org.eclipse.cdt.make.core.build.target.inc</key> |
||||
<value>debug</value> |
||||
</dictionary> |
||||
<dictionary> |
||||
<key>org.eclipse.cdt.make.core.enableAutoBuild</key> |
||||
<value>false</value> |
||||
</dictionary> |
||||
<dictionary> |
||||
<key>org.eclipse.cdt.make.core.enableCleanBuild</key> |
||||
<value>true</value> |
||||
</dictionary> |
||||
<dictionary> |
||||
<key>org.eclipse.cdt.make.core.enableFullBuild</key> |
||||
<value>true</value> |
||||
</dictionary> |
||||
<dictionary> |
||||
<key>org.eclipse.cdt.make.core.enabledIncrementalBuild</key> |
||||
<value>true</value> |
||||
</dictionary> |
||||
<dictionary> |
||||
<key>org.eclipse.cdt.make.core.environment</key> |
||||
<value>QMAKESPEC=win32-g++|PATH=C:\\Qt\\2010.04\\qt\\bin;${env_var:PATH}|</value> |
||||
</dictionary> |
||||
<dictionary> |
||||
<key>org.eclipse.cdt.make.core.stopOnError</key> |
||||
<value>false</value> |
||||
</dictionary> |
||||
<dictionary> |
||||
<key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key> |
||||
<value>false</value> |
||||
</dictionary> |
||||
</arguments> |
||||
</buildCommand> |
||||
<buildCommand> |
||||
<name>org.eclipse.cdt.make.core.ScannerConfigBuilder</name> |
||||
<arguments> |
||||
</arguments> |
||||
</buildCommand> |
||||
</buildSpec> |
||||
<natures> |
||||
<nature>org.eclipse.cdt.core.cnature</nature> |
||||
<nature>org.eclipse.cdt.core.ccnature</nature> |
||||
<nature>org.eclipse.cdt.make.core.makeNature</nature> |
||||
<nature>org.eclipse.cdt.make.core.ScannerConfigNature</nature> |
||||
<nature>com.trolltech.qtcppproject.QtNature</nature> |
||||
</natures> |
||||
</projectDescription> |
@ -0,0 +1,10 @@
@@ -0,0 +1,10 @@
|
||||
#include "WaypointGlobal.h" |
||||
|
||||
#include <QPointF> |
||||
|
||||
WaypointGlobal::WaypointGlobal(const QPointF coordinate): |
||||
Waypoint(id, x, y, z, yaw, autocontinue, current, orbit, holdTime) |
||||
{ |
||||
coordinateWP = coordinate; |
||||
|
||||
} |
@ -0,0 +1,29 @@
@@ -0,0 +1,29 @@
|
||||
#ifndef WAYPOINTGLOBAL_H |
||||
#define WAYPOINTGLOBAL_H |
||||
|
||||
#include "Waypoint.h" |
||||
#include <QPointF> |
||||
|
||||
class WaypointGlobal: public Waypoint { |
||||
Q_OBJECT |
||||
|
||||
public: |
||||
WaypointGlobal(const QPointF coordinate); |
||||
|
||||
public slots: |
||||
|
||||
// void set_latitud(double latitud);
|
||||
// void set_longitud(double longitud);
|
||||
// double get_latitud();
|
||||
// double get_longitud();
|
||||
|
||||
private: |
||||
QPointF coordinateWP; |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}; |
||||
|
||||
#endif // WAYPOINTGLOBAL_H
|
@ -0,0 +1,155 @@
@@ -0,0 +1,155 @@
|
||||
#include "WaypointGlobalView.h" |
||||
#include "ui_WaypointGlobalView.h" |
||||
|
||||
#include <math.h> |
||||
|
||||
WaypointGlobalView::WaypointGlobalView(Waypoint* wp,QWidget *parent) : |
||||
QWidget(parent), |
||||
ui(new Ui::WaypointGlobalView) |
||||
{ |
||||
ui->setupUi(this); |
||||
this->wp = wp; |
||||
|
||||
ui->m_orbitalSpinBox->hide(); |
||||
|
||||
connect(ui->m_orbitalSpinBox, SIGNAL(valueChanged(double)), wp, SLOT(setOrbit(double))); |
||||
connect(ui->m_heigthSpinBox, SIGNAL(valueChanged(double)), wp, SLOT(setZ(double))); |
||||
|
||||
connect(ui->m_orbitCheckBox, SIGNAL(stateChanged(int)), this, SLOT(changeOrbitalState(int))); |
||||
|
||||
|
||||
// Read values and set user interface
|
||||
updateValues(); |
||||
|
||||
|
||||
// connect(m_ui->xSpinBox, SIGNAL(valueChanged(double)), wp, SLOT(setX(double)));
|
||||
// connect(m_ui->ySpinBox, SIGNAL(valueChanged(double)), wp, SLOT(setY(double)));
|
||||
// connect(m_ui->zSpinBox, SIGNAL(valueChanged(double)), wp, SLOT(setZ(double)));
|
||||
|
||||
// //hidden degree to radian conversion of the yaw angle
|
||||
// connect(m_ui->yawSpinBox, SIGNAL(valueChanged(int)), this, SLOT(setYaw(int)));
|
||||
// connect(this, SIGNAL(setYaw(double)), wp, SLOT(setYaw(double)));
|
||||
|
||||
// connect(m_ui->upButton, SIGNAL(clicked()), this, SLOT(moveUp()));
|
||||
// connect(m_ui->downButton, SIGNAL(clicked()), this, SLOT(moveDown()));
|
||||
// connect(m_ui->removeButton, SIGNAL(clicked()), this, SLOT(remove()));
|
||||
|
||||
// connect(m_ui->autoContinue, SIGNAL(stateChanged(int)), this, SLOT(changedAutoContinue(int)));
|
||||
// connect(m_ui->selectedBox, SIGNAL(stateChanged(int)), this, SLOT(changedCurrent(int)));
|
||||
|
||||
//
|
||||
// connect(m_ui->holdTimeSpinBox, SIGNAL(valueChanged(int)), wp, SLOT(setHoldTime(int)));
|
||||
} |
||||
|
||||
WaypointGlobalView::~WaypointGlobalView() |
||||
{ |
||||
delete ui; |
||||
} |
||||
|
||||
void WaypointGlobalView::updateValues() |
||||
{ |
||||
ui->m_latitudtextEdit->setText(getLatitudString(wp->getY())); |
||||
ui->m_longitudtextEdit->setText(getLongitudString(wp->getX())); |
||||
ui->idWP_label->setText(QString("%1").arg(wp->getId()));\
|
||||
|
||||
} |
||||
|
||||
void WaypointGlobalView::changeEvent(QEvent *e) |
||||
{ |
||||
switch (e->type()) { |
||||
case QEvent::LanguageChange: |
||||
ui->retranslateUi(this); |
||||
break; |
||||
default: |
||||
break; |
||||
} |
||||
} |
||||
|
||||
void WaypointGlobalView::remove() |
||||
{ |
||||
emit removeWaypoint(wp); |
||||
delete this; |
||||
} |
||||
|
||||
QString WaypointGlobalView::getLatitudString(float latitud) |
||||
{ |
||||
QString tempNS =""; |
||||
QString stringLatitudTemp = ""; |
||||
|
||||
float minutos = 0; |
||||
float grados = 0; |
||||
float entero = 0; |
||||
float dec = 0; |
||||
|
||||
if (latitud<0){tempNS="S"; latitud = latitud * -1;} |
||||
else {tempNS="N";} |
||||
|
||||
if(latitud< 90 || latitud > -90) |
||||
{ |
||||
dec = latitud - (entero = ::floor(latitud));; |
||||
minutos = dec * 60; |
||||
grados = entero; |
||||
if(grados < 0) grados = grados * (-1); |
||||
if(minutos < 0) minutos = minutos * (-1); |
||||
|
||||
stringLatitudTemp = QString::number(grados)+ " ° "+ QString::number(minutos)+"' "+ tempNS; |
||||
|
||||
return stringLatitudTemp; |
||||
} |
||||
else |
||||
{ |
||||
stringLatitudTemp = "erroneous latitude"; |
||||
return stringLatitudTemp; |
||||
} |
||||
|
||||
} |
||||
|
||||
QString WaypointGlobalView::getLongitudString(float longitud) |
||||
{ |
||||
QString tempEW =""; |
||||
QString stringLongitudTemp = ""; |
||||
|
||||
float minutos = 0; |
||||
float grados = 0; |
||||
float entero = 0; |
||||
float dec = 0; |
||||
|
||||
if (longitud<0){tempEW="W"; longitud = longitud * -1;} |
||||
else {tempEW="E";} |
||||
|
||||
if(longitud<180 || longitud > -180) |
||||
{ |
||||
dec = longitud - (entero = ::floor(longitud));; |
||||
minutos = dec * 60; |
||||
grados = entero; |
||||
if(grados < 0) grados = grados * (-1); |
||||
if(minutos < 0) minutos = minutos * (-1); |
||||
|
||||
stringLongitudTemp = QString::number(grados)+ " ° "+ QString::number(minutos)+"' "+ tempEW; |
||||
|
||||
return stringLongitudTemp; |
||||
} |
||||
else |
||||
{ |
||||
stringLongitudTemp = "erroneous longitude"; |
||||
return stringLongitudTemp; |
||||
} |
||||
} |
||||
|
||||
void WaypointGlobalView::changeOrbitalState(int state) |
||||
{ |
||||
Q_UNUSED(state); |
||||
|
||||
if(ui->m_orbitCheckBox->isChecked()) |
||||
{ |
||||
ui->m_orbitalSpinBox->setEnabled(true); |
||||
ui->m_orbitalSpinBox->show(); |
||||
} |
||||
else |
||||
{ |
||||
ui->m_orbitalSpinBox->setEnabled(false); |
||||
ui->m_orbitalSpinBox->hide(); |
||||
} |
||||
} |
||||
|
||||
|
@ -0,0 +1,44 @@
@@ -0,0 +1,44 @@
|
||||
#ifndef WAYPOINTGLOBALVIEW_H |
||||
#define WAYPOINTGLOBALVIEW_H |
||||
|
||||
#include <QWidget> |
||||
#include "Waypoint.h" |
||||
|
||||
namespace Ui { |
||||
class WaypointGlobalView; |
||||
} |
||||
|
||||
class WaypointGlobalView : public QWidget |
||||
{ |
||||
Q_OBJECT |
||||
|
||||
public: |
||||
explicit WaypointGlobalView(Waypoint* wp, QWidget *parent = 0); |
||||
~WaypointGlobalView(); |
||||
|
||||
public slots: |
||||
|
||||
void updateValues(void); |
||||
void remove(); |
||||
QString getLatitudString(float lat); |
||||
QString getLongitudString(float lon); |
||||
void changeOrbitalState(int state); |
||||
|
||||
|
||||
signals: |
||||
|
||||
void removeWaypoint(Waypoint*); |
||||
|
||||
protected: |
||||
virtual void changeEvent(QEvent *e); |
||||
|
||||
Waypoint* wp; |
||||
|
||||
private: |
||||
Ui::WaypointGlobalView *ui; |
||||
|
||||
private slots: |
||||
|
||||
}; |
||||
|
||||
#endif // WAYPOINTGLOBALVIEW_H
|
@ -0,0 +1,460 @@
@@ -0,0 +1,460 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<ui version="4.0"> |
||||
<class>WaypointGlobalView</class> |
||||
<widget class="QWidget" name="WaypointGlobalView"> |
||||
<property name="geometry"> |
||||
<rect> |
||||
<x>0</x> |
||||
<y>0</y> |
||||
<width>869</width> |
||||
<height>60</height> |
||||
</rect> |
||||
</property> |
||||
<property name="sizePolicy"> |
||||
<sizepolicy hsizetype="Maximum" vsizetype="Fixed"> |
||||
<horstretch>0</horstretch> |
||||
<verstretch>0</verstretch> |
||||
</sizepolicy> |
||||
</property> |
||||
<property name="minimumSize"> |
||||
<size> |
||||
<width>50</width> |
||||
<height>0</height> |
||||
</size> |
||||
</property> |
||||
<property name="windowTitle"> |
||||
<string>Form</string> |
||||
</property> |
||||
<property name="styleSheet"> |
||||
<string notr="true">QWidget#colorIcon {} |
||||
|
||||
QWidget { |
||||
background-color: #252528; |
||||
color: #DDDDDF; |
||||
border-color: #EEEEEE; |
||||
background-clip: border; |
||||
} |
||||
|
||||
QCheckBox { |
||||
background-color: #252528; |
||||
color: #454545; |
||||
} |
||||
|
||||
QGroupBox { |
||||
border: 1px solid #EEEEEE; |
||||
border-radius: 5px; |
||||
padding: 0px 0px 0px 0px; |
||||
margin-top: 1ex; /* leave space at the top for the title */ |
||||
margin: 0px; |
||||
} |
||||
|
||||
QGroupBox::title { |
||||
subcontrol-origin: margin; |
||||
subcontrol-position: top center; /* position at the top center */ |
||||
margin: 0 3px 0px 3px; |
||||
padding: 0 3px 0px 0px; |
||||
font: bold 8px; |
||||
} |
||||
|
||||
QGroupBox#heartbeatIcon { |
||||
background-color: red; |
||||
} |
||||
|
||||
QDockWidget { |
||||
font: bold; |
||||
border: 1px solid #32345E; |
||||
} |
||||
|
||||
QPushButton { |
||||
font-weight: bold; |
||||
font-size: 12px; |
||||
border: 1px solid #999999; |
||||
border-radius: 10px; |
||||
min-width:22px; |
||||
max-width: 36px; |
||||
min-height: 16px; |
||||
max-height: 16px; |
||||
padding: 2px; |
||||
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #777777, stop: 1 #555555); |
||||
} |
||||
|
||||
QPushButton:pressed { |
||||
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #444444, stop: 1 #555555); |
||||
} |
||||
|
||||
QPushButton#landButton { |
||||
color: #000000; |
||||
background: qlineargradient(x1:0, y1:0, x2:0, y2:1, |
||||
stop:0 #ffee01, stop:1 #ae8f00) url("ICONDIR/control/emergency-button.png"); |
||||
} |
||||
|
||||
QPushButton:pressed#landButton { |
||||
color: #000000; |
||||
background: qlineargradient(x1:0, y1:0, x2:0, y2:1, |
||||
stop:0 #bbaa00, stop:1 #a05b00) url("ICONDIR/control/emergency-button.png"); |
||||
} |
||||
|
||||
QPushButton#killButton { |
||||
color: #000000; |
||||
background: qlineargradient(x1:0, y1:0, x2:0, y2:1, |
||||
stop:0 #ffb917, stop:1 #b37300) url("ICONDIR/control/emergency-button.png"); |
||||
} |
||||
|
||||
QPushButton:pressed#killButton { |
||||
color: #000000; |
||||
background: qlineargradient(x1:0, y1:0, x2:0, y2:1, |
||||
stop:0 #bb8500, stop:1 #903000) url("ICONDIR/control/emergency-button.png"); |
||||
} |
||||
|
||||
QProgressBar { |
||||
border: 1px solid white; |
||||
border-radius: 4px; |
||||
text-align: center; |
||||
padding: 2px; |
||||
color: white; |
||||
background-color: #111111; |
||||
} |
||||
|
||||
QProgressBar:horizontal { |
||||
height: 12px; |
||||
} |
||||
|
||||
QProgressBar QLabel { |
||||
font-size: 8px; |
||||
} |
||||
|
||||
QProgressBar:vertical { |
||||
width: 12px; |
||||
} |
||||
|
||||
QProgressBar::chunk { |
||||
background-color: #656565; |
||||
} |
||||
|
||||
QProgressBar::chunk#batteryBar { |
||||
background-color: green; |
||||
} |
||||
|
||||
QProgressBar::chunk#speedBar { |
||||
background-color: yellow; |
||||
} |
||||
|
||||
QProgressBar::chunk#thrustBar { |
||||
background-color: orange; |
||||
}</string> |
||||
</property> |
||||
<layout class="QGridLayout" name="gridLayout"> |
||||
<item row="0" column="0"> |
||||
<widget class="QGroupBox" name="groupBox_2"> |
||||
<property name="sizePolicy"> |
||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed"> |
||||
<horstretch>0</horstretch> |
||||
<verstretch>0</verstretch> |
||||
</sizepolicy> |
||||
</property> |
||||
<property name="title"> |
||||
<string/> |
||||
</property> |
||||
<layout class="QHBoxLayout" name="horizontalLayout"> |
||||
<item> |
||||
<widget class="QLabel" name="idWP_label"> |
||||
<property name="text"> |
||||
<string>WP_id</string> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
<item> |
||||
<spacer name="horizontalSpacer"> |
||||
<property name="orientation"> |
||||
<enum>Qt::Horizontal</enum> |
||||
</property> |
||||
<property name="sizeHint" stdset="0"> |
||||
<size> |
||||
<width>135</width> |
||||
<height>13</height> |
||||
</size> |
||||
</property> |
||||
</spacer> |
||||
</item> |
||||
<item> |
||||
<widget class="QLabel" name="Latitud_label"> |
||||
<property name="text"> |
||||
<string>Lat:</string> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
<item> |
||||
<widget class="QTextEdit" name="m_latitudtextEdit"> |
||||
<property name="minimumSize"> |
||||
<size> |
||||
<width>0</width> |
||||
<height>0</height> |
||||
</size> |
||||
</property> |
||||
<property name="maximumSize"> |
||||
<size> |
||||
<width>120</width> |
||||
<height>25</height> |
||||
</size> |
||||
</property> |
||||
<property name="verticalScrollBarPolicy"> |
||||
<enum>Qt::ScrollBarAlwaysOff</enum> |
||||
</property> |
||||
<property name="readOnly"> |
||||
<bool>true</bool> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
<item> |
||||
<spacer name="horizontalSpacer_2"> |
||||
<property name="orientation"> |
||||
<enum>Qt::Horizontal</enum> |
||||
</property> |
||||
<property name="sizeHint" stdset="0"> |
||||
<size> |
||||
<width>50</width> |
||||
<height>30</height> |
||||
</size> |
||||
</property> |
||||
</spacer> |
||||
</item> |
||||
<item> |
||||
<widget class="QLabel" name="Longitud_label"> |
||||
<property name="text"> |
||||
<string>Lon:</string> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
<item> |
||||
<widget class="QTextEdit" name="m_longitudtextEdit"> |
||||
<property name="maximumSize"> |
||||
<size> |
||||
<width>120</width> |
||||
<height>25</height> |
||||
</size> |
||||
</property> |
||||
<property name="verticalScrollBarPolicy"> |
||||
<enum>Qt::ScrollBarAlwaysOff</enum> |
||||
</property> |
||||
<property name="readOnly"> |
||||
<bool>true</bool> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
<item> |
||||
<spacer name="horizontalSpacer_3"> |
||||
<property name="orientation"> |
||||
<enum>Qt::Horizontal</enum> |
||||
</property> |
||||
<property name="sizeHint" stdset="0"> |
||||
<size> |
||||
<width>50</width> |
||||
<height>30</height> |
||||
</size> |
||||
</property> |
||||
</spacer> |
||||
</item> |
||||
<item> |
||||
<widget class="QLabel" name="height_label"> |
||||
<property name="text"> |
||||
<string>Heigth</string> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
<item> |
||||
<widget class="QDoubleSpinBox" name="m_heigthSpinBox"/> |
||||
</item> |
||||
<item> |
||||
<widget class="QCheckBox" name="m_orbitCheckBox"> |
||||
<property name="palette"> |
||||
<palette> |
||||
<active> |
||||
<colorrole role="WindowText"> |
||||
<brush brushstyle="SolidPattern"> |
||||
<color alpha="255"> |
||||
<red>69</red> |
||||
<green>69</green> |
||||
<blue>69</blue> |
||||
</color> |
||||
</brush> |
||||
</colorrole> |
||||
<colorrole role="Button"> |
||||
<brush brushstyle="SolidPattern"> |
||||
<color alpha="255"> |
||||
<red>37</red> |
||||
<green>37</green> |
||||
<blue>40</blue> |
||||
</color> |
||||
</brush> |
||||
</colorrole> |
||||
<colorrole role="Text"> |
||||
<brush brushstyle="SolidPattern"> |
||||
<color alpha="255"> |
||||
<red>69</red> |
||||
<green>69</green> |
||||
<blue>69</blue> |
||||
</color> |
||||
</brush> |
||||
</colorrole> |
||||
<colorrole role="ButtonText"> |
||||
<brush brushstyle="SolidPattern"> |
||||
<color alpha="255"> |
||||
<red>69</red> |
||||
<green>69</green> |
||||
<blue>69</blue> |
||||
</color> |
||||
</brush> |
||||
</colorrole> |
||||
<colorrole role="Base"> |
||||
<brush brushstyle="SolidPattern"> |
||||
<color alpha="255"> |
||||
<red>37</red> |
||||
<green>37</green> |
||||
<blue>40</blue> |
||||
</color> |
||||
</brush> |
||||
</colorrole> |
||||
<colorrole role="Window"> |
||||
<brush brushstyle="SolidPattern"> |
||||
<color alpha="255"> |
||||
<red>37</red> |
||||
<green>37</green> |
||||
<blue>40</blue> |
||||
</color> |
||||
</brush> |
||||
</colorrole> |
||||
</active> |
||||
<inactive> |
||||
<colorrole role="WindowText"> |
||||
<brush brushstyle="SolidPattern"> |
||||
<color alpha="255"> |
||||
<red>69</red> |
||||
<green>69</green> |
||||
<blue>69</blue> |
||||
</color> |
||||
</brush> |
||||
</colorrole> |
||||
<colorrole role="Button"> |
||||
<brush brushstyle="SolidPattern"> |
||||
<color alpha="255"> |
||||
<red>37</red> |
||||
<green>37</green> |
||||
<blue>40</blue> |
||||
</color> |
||||
</brush> |
||||
</colorrole> |
||||
<colorrole role="Text"> |
||||
<brush brushstyle="SolidPattern"> |
||||
<color alpha="255"> |
||||
<red>69</red> |
||||
<green>69</green> |
||||
<blue>69</blue> |
||||
</color> |
||||
</brush> |
||||
</colorrole> |
||||
<colorrole role="ButtonText"> |
||||
<brush brushstyle="SolidPattern"> |
||||
<color alpha="255"> |
||||
<red>69</red> |
||||
<green>69</green> |
||||
<blue>69</blue> |
||||
</color> |
||||
</brush> |
||||
</colorrole> |
||||
<colorrole role="Base"> |
||||
<brush brushstyle="SolidPattern"> |
||||
<color alpha="255"> |
||||
<red>37</red> |
||||
<green>37</green> |
||||
<blue>40</blue> |
||||
</color> |
||||
</brush> |
||||
</colorrole> |
||||
<colorrole role="Window"> |
||||
<brush brushstyle="SolidPattern"> |
||||
<color alpha="255"> |
||||
<red>37</red> |
||||
<green>37</green> |
||||
<blue>40</blue> |
||||
</color> |
||||
</brush> |
||||
</colorrole> |
||||
</inactive> |
||||
<disabled> |
||||
<colorrole role="WindowText"> |
||||
<brush brushstyle="SolidPattern"> |
||||
<color alpha="255"> |
||||
<red>69</red> |
||||
<green>69</green> |
||||
<blue>69</blue> |
||||
</color> |
||||
</brush> |
||||
</colorrole> |
||||
<colorrole role="Button"> |
||||
<brush brushstyle="SolidPattern"> |
||||
<color alpha="255"> |
||||
<red>37</red> |
||||
<green>37</green> |
||||
<blue>40</blue> |
||||
</color> |
||||
</brush> |
||||
</colorrole> |
||||
<colorrole role="Text"> |
||||
<brush brushstyle="SolidPattern"> |
||||
<color alpha="255"> |
||||
<red>69</red> |
||||
<green>69</green> |
||||
<blue>69</blue> |
||||
</color> |
||||
</brush> |
||||
</colorrole> |
||||
<colorrole role="ButtonText"> |
||||
<brush brushstyle="SolidPattern"> |
||||
<color alpha="255"> |
||||
<red>69</red> |
||||
<green>69</green> |
||||
<blue>69</blue> |
||||
</color> |
||||
</brush> |
||||
</colorrole> |
||||
<colorrole role="Base"> |
||||
<brush brushstyle="SolidPattern"> |
||||
<color alpha="255"> |
||||
<red>37</red> |
||||
<green>37</green> |
||||
<blue>40</blue> |
||||
</color> |
||||
</brush> |
||||
</colorrole> |
||||
<colorrole role="Window"> |
||||
<brush brushstyle="SolidPattern"> |
||||
<color alpha="255"> |
||||
<red>37</red> |
||||
<green>37</green> |
||||
<blue>40</blue> |
||||
</color> |
||||
</brush> |
||||
</colorrole> |
||||
</disabled> |
||||
</palette> |
||||
</property> |
||||
<property name="text"> |
||||
<string>Orbital</string> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
<item> |
||||
<widget class="QDoubleSpinBox" name="m_orbitalSpinBox"> |
||||
<property name="enabled"> |
||||
<bool>true</bool> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
</layout> |
||||
</widget> |
||||
</item> |
||||
</layout> |
||||
</widget> |
||||
<resources/> |
||||
<connections/> |
||||
</ui> |
Loading…
Reference in new issue