Commit 70e660c9 authored by Mariano Lizarraga's avatar Mariano Lizarraga

Merge branch 'master' of git@pixhawk.ethz.ch:qgroundcontrol into checkRemote

parents 4eda881b 6ba7f6cb
SDL.framework
......@@ -8,6 +8,12 @@ make -j4
# Copy and build the application bundle
cd deploy
cp -r ../bin/mac/qgroundcontrol.app mac/.
cp -r ../audio mac/qgroundcontrol.app/Contents/MacOs/.
macdeployqt qgroundcontrol.app --bundle
echo -e '\n QGroundControl .DMG file is now ready for publishing\n'
mkdir -p mac/qgroundcontrol.app/Contents/Frameworks/
cp -r SDL.framework mac/qgroundcontrol.app/Contents/Frameworks/.
echo -e '\n\nStarting to create disk image. This may take a while..\n'
macdeployqt mac/qgroundcontrol.app -dmg
rm -rf mac/qgroundcontrol.app
echo -e '\n\n QGroundControl .DMG file is now ready for publishing\n'
......@@ -37,16 +37,17 @@ message(Qt version $$[QT_VERSION])
macx {
HARDWARE_PLATFORM = $$system(uname -a)
contains( HARDWARE_PLATFORM, 9.8.0 ) {
contains( HARDWARE_PLATFORM, 9.6.0 ) || contains( HARDWARE_PLATFORM, 9.7.0 ) || contains( HARDWARE_PLATFORM, 9.8.0 ) || || contains( HARDWARE_PLATFORM, 9.9.0 )
{
# x86 Mac OS X Leopard 10.5 and earlier
CONFIG += x86 cocoa phonon
message(Building for Mac OS X 32bit/Leopard 10.5 and earlier)
# Enable function-profiling with the OS X saturn tool
debug {
# Enable function-profiling with the OS X saturn tool
debug {
#QMAKE_CXXFLAGS += -finstrument-functions
#LIBS += -lSaturn
}
}
} else {
# x64 Mac OS X Snow Leopard 10.6 and later
CONFIG += x86_64 cocoa
......
# Onboard parameters for system MAV 042
#
# MAV ID COMPONENT ID PARAM NAME VALUE (FLOAT)
42 1 POSFILTER 1
42 1 POSFILTERWEIGHT 0.03
42 1 PROTOCOLTIMEOUT¿ 2e+06
42 1 SETPOINTDELAY 1e+06
42 1 YAWTOLERANCE 0.1745
42 100 42 42
42 100 SYS_ID 42
42 120 DOWN_PITCH -0.026
42 120 DOWN_ROLL -0.022
42 120 DOWN_X 0
42 120 DOWN_Y 0
42 120 DOWN_YAW 3.14159
42 120 DOWN_Z -0.088
42 200 ACC_NAV_OFFS_X 0
42 200 ACC_NAV_OFFS_Y 0
42 200 ACC_NAV_OFFS_Z -1000
......@@ -26,8 +13,8 @@
42 200 CAL_ACC_Y 0
42 200 CAL_ACC_Z 0
42 200 CAL_FIT_ACTIVE 1
42 200 CAL_FIT_GYRO_X 31545
42 200 CAL_FIT_GYRO_Y 29350
42 200 CAL_FIT_GYRO_X 31500
42 200 CAL_FIT_GYRO_Y 29370
42 200 CAL_FIT_GYRO_Z 30230
42 200 CAL_GYRO_X 29809
42 200 CAL_GYRO_Y 29959
......@@ -64,6 +51,7 @@
42 200 PID_YAWPOS_AWU 1
42 200 PID_YAWPOS_D 1
42 200 PID_YAWPOS_I 0.1
42 200 PID_YAWPOS_LIM 2
42 200 PID_YAWPOS_P 5
42 200 PID_YAWSPEED_D 0
42 200 PID_YAWSPEED_I 5
......@@ -72,9 +60,9 @@
42 200 PID_YAWSPE_LIM 20
42 200 POS_SP_ACCEPT 1
42 200 POS_SP_X 1.66
42 200 POS_SP_Y 0.57
42 200 POS_SP_Y 0.55
42 200 POS_SP_YAW 1.5708
42 200 POS_SP_Z 0
42 200 POS_SP_Z -0.7
42 200 POS_TIMEOUT 2e+06
42 200 RC_NICK_CHAN 1
42 200 RC_ROLL_CHAN 2
......@@ -82,6 +70,7 @@
42 200 RC_THRUST_CHAN 3
42 200 RC_TRIM_CHAN 0
42 200 RC_TUNE_CHAN1 7
42 200 RC_TUNE_CHAN2 5
42 200 RC_TUNE_CHAN3 6
42 200 RC_TUNE_CHAN4 8
42 200 RC_YAW_CHAN 4
......
# Onboard parameters for system MAV 042
#
# MAV ID COMPONENT ID PARAM NAME VALUE (FLOAT)
42 1 POSFILTER 1
42 1 PROTOCOLTIMEOUT¿ 2e+06
42 1 SETPOINTDELAY 1e+06
42 1 YAWTOLERANCE 0.1745
42 100 SYS_ID 42
42 120 DOWN_PITCH 0.02
42 120 DOWN_ROLL 0.18
42 120 DOWN_X 0
42 120 DOWN_Y 0
42 120 DOWN_YAW 3.14159
42 120 DOWN_Z 0
42 200 ACC_NAV_OFFS_X 0
42 200 ACC_NAV_OFFS_Y 0
42 200 ACC_NAV_OFFS_Z -1000
42 200 ATT_KAL_IYAW 1
42 200 ATT_KAL_KACC 0.0033
42 200 ATT_OFFSET_X 0
42 200 ATT_OFFSET_Y 0
42 200 ATT_OFFSET_Z -0.08
42 200 CAL_ACC_X 0
42 200 CAL_ACC_Y 0
42 200 CAL_ACC_Z 0
42 200 CAL_FIT_ACTIVE 1
42 200 CAL_FIT_GYRO_X 31495
42 200 CAL_FIT_GYRO_Y 29400
42 200 CAL_FIT_GYRO_Z 30180
42 200 CAL_GYRO_X 29809
42 200 CAL_GYRO_Y 29959
42 200 CAL_GYRO_Z 29455
42 200 CAL_TEMP 51.5
42 200 CAM_EXP 1000
42 200 CAM_INTERVAL 36000
42 200 DEBUG_1 0
42 200 DEBUG_2 1
42 200 DEBUG_3 0
42 200 DEBUG_4 0
42 200 DEBUG_5 1
42 200 DEBUG_6 0
42 200 MIX_OFFSET 0
42 200 MIX_POSITION 0
42 200 MIX_POS_YAW 0
42 200 MIX_REMOTE 0
42 200 MIX_Z_POSITION 0
42 200 PID_ATT_AWU 0.3
42 200 PID_ATT_D 15
42 200 PID_ATT_I 20
42 200 PID_ATT_LIM 30
42 200 PID_ATT_P 40
42 200 PID_POS_AWU 10
42 200 PID_POS_D 1.8
42 200 PID_POS_I 0.25
42 200 PID_POS_LIM 0.15
42 200 PID_POS_P 1.7
42 200 PID_POS_Z_AWU 3
42 200 PID_POS_Z_D 0.15
42 200 PID_POS_Z_I 0.2
42 200 PID_POS_Z_LIM 0.2
42 200 PID_POS_Z_P 0.35
42 200 PID_YAWPOS_AWU 1
42 200 PID_YAWPOS_D 1
42 200 PID_YAWPOS_I 0.1
42 200 PID_YAWPOS_LIM 2
42 200 PID_YAWPOS_P 5
42 200 PID_YAWSPEED_D 0
42 200 PID_YAWSPEED_I 5
42 200 PID_YAWSPEED_P 15
42 200 PID_YAWSPE_AWU 1
42 200 PID_YAWSPE_LIM 20
42 200 POS_SP_ACCEPT 1
42 200 POS_SP_X 1.66
42 200 POS_SP_Y 0.55
42 200 POS_SP_YAW 1.5708
42 200 POS_SP_Z -0.7
42 200 POS_TIMEOUT 2e+06
42 200 RC_NICK_CHAN 1
42 200 RC_ROLL_CHAN 2
42 200 RC_SAFETY_CHAN 5
42 200 RC_THRUST_CHAN 3
42 200 RC_TRIM_CHAN 0
42 200 RC_TUNE_CHAN1 7
42 200 RC_TUNE_CHAN2 5
42 200 RC_TUNE_CHAN3 6
42 200 RC_TUNE_CHAN4 8
42 200 RC_YAW_CHAN 4
42 200 SEND_DEBUGCHAN 0
42 200 SLOT_ATTITUDE 1
42 200 SLOT_CONTROL 0
42 200 SLOT_RAW_IMU 0
42 200 SLOT_RC 0
42 200 SYS_COMP_ID 200
42 200 SYS_ID 42
42 200 SYS_IMU_RESET 0
42 200 SYS_SW_VER 2001
42 200 SYS_TYPE 2
42 200 UART_0_BAUD 115200
42 200 UART_1_BAUD 57600
42 200 VEL_DAMP 0.95
42 200 VEL_OFFSET_X 0
42 200 VEL_OFFSET_Y 0
42 200 VEL_OFFSET_Z 0
42 200 VIS_OUTL_TRESH 0.2
42 200 VIS_YAWCORR 0
42 200 adaThresBlockS 15
42 200 adaThresMethod 0
42 200 adaThresParam1 8
42 200 artkBorderWidt 0.25
42 200 artkPatternWid 200
42 200 artkThreshold 175
42 200 bDContours 1
42 200 bDRectangles 1
42 200 bEqualizeHist 0
42 200 bRectify 1
42 200 bRefineCorners 1
42 200 contApproxMeth 2
42 200 contDeviThresh 50
42 200 contImageSize 32
42 200 contImageType 2
42 200 contOrFactor 0.8
42 200 contOrHistBins 64
42 200 contPerimMulti 0.06
42 200 contourMinArea 250
42 200 cropBPBegin 0
42 200 cropBPEnd 9
42 200 cropBPStep 3
42 200 cropBPThres 128
42 200 cropImageSize 64
42 200 cropInterpolat 1
42 200 cropWhiteBalan 1
42 200 detMatchFactoT 1.5
42 200 findRectMethod 2
42 200 fps 0
42 200 histMinSmoothi 11
42 200 histMinToleran 0.05
42 200 kittlerWWeight 1
42 200 kmeansWWeight 1
42 200 preprocDivisor 1
42 200 rSExpectdScore 2
42 200 rSExpectedDiff 0.5
42 200 rSLearnFactor 0.5
42 200 rSMaxNarrowing 0.3
42 200 rSStandardDevi 30
42 200 rSUnlearnFacto 0.9
42 200 rectMaxEdgeRat 1.5
42 200 rectMinArea 1000
42 200 refCornRadius 3
42 200 thresHistBins 64
42 200 thresMethod 5
42 200 warpImageSize 128
0 3.05 1.6 -0.7 1.5708 1 1 0.2 1500
1 3 1 -0.7 1.5708 1 0 0.3 0
2 2.1 0.3 -0.7 1.5708 1 0 0.5 0
3 1 0.23 -0.7 1.5708 1 0 0.3 0
4 0.3 1.1 -0.7 1.5708 1 0 0.3 0
5 0.3 2.3 -0.7 1.5708 1 0 0.3 0
6 1.03 2.98 -0.7 1.58 1 0 0.3 0
7 2.15 3.06 -0.7 1.5708 1 0 0.3 0
8 2.93 2.25 -0.7 1.5708 1 0 0.3 0
9 3.68 1.85 -0.7 1.5708 1 0 0.3 0
10 4.84 1.78 -0.7 1.58 1 0 0.3 0
11 5.83 1.8 -0.7 1.5708 1 0 0.3 0
12 6.87 1.81 -0.7 1.5708 1 0 0.3 0
13 7.48 1.83 -0.7 1.5708 1 0 0.3 0
14 6.86 1.76 -0.7 1.58 1 0 0.3 0
15 5.65 1.71 -0.7 1.5708 1 0 0.3 0
16 4.31 1.8 -0.7 1.5708 1 0 0.3 0
0 3.05 1.6 -0.7 1.5708 1 1 0.2 1500
1 3 1 -0.7 1.5708 1 0 0.3 0
2 2.1 0.5 -0.7 1.5708 1 0 0.5 0
3 1 0.73 -0.7 1.5708 1 0 0.3 0
4 0.55 1.1 -0.7 1.5708 1 0 0.3 0
5 0.55 2.3 -0.7 1.5708 1 0 0.3 0
6 1.03 2.98 -0.7 1.58 1 0 0.3 0
7 2.15 2.86 -0.7 1.5708 1 0 0.3 0
8 2.93 2.25 -0.7 1.5708 1 0 0.3 0
9 3.68 1.85 -0.7 1.5708 1 0 0.3 0
10 4.84 1.78 -0.7 1.58 1 0 0.3 0
11 5.83 1.8 -0.7 1.5708 1 0 0.3 0
12 6.87 1.81 -0.7 1.5708 1 0 0.3 0
13 7.48 1.83 -0.7 1.5708 1 0 0.3 0
14 6.86 1.76 -0.7 1.58 1 0 0.3 0
15 5.65 1.71 -0.7 1.5708 1 0 0.3 0
16 4.31 1.8 -0.7 1.5708 1 0 0.3 0
......@@ -661,15 +661,17 @@ void MAVLinkSimulationLink::writeBytes(const char* data, qint64 size)
// Iterate through all components, through all parameters and emit them
QMap<QString, float>::iterator i;
// Iterate through all components / subsystems
int j = 0;
for (i = onboardParams.begin(); i != onboardParams.end(); ++i)
{
// Pack message and get size of encoded byte string
mavlink_msg_param_value_pack(systemId, componentId, &msg, (int8_t*)i.key().toStdString().c_str(), i.value());
mavlink_msg_param_value_pack(systemId, componentId, &msg, (int8_t*)i.key().toStdString().c_str(), i.value(), onboardParams.size(), j);
// Allocate buffer with packet data
bufferlength = mavlink_msg_to_send_buffer(buffer, &msg);
//add data into datastream
memcpy(stream+streampointer,buffer, bufferlength);
streampointer+=bufferlength;
j++;
}
/*
......@@ -715,7 +717,7 @@ void MAVLinkSimulationLink::writeBytes(const char* data, qint64 size)
onboardParams.insert(key, set.param_value);
// Pack message and get size of encoded byte string
mavlink_msg_param_value_pack(systemId, componentId, &msg, (int8_t*)key.toStdString().c_str(), set.param_value);
mavlink_msg_param_value_pack(systemId, componentId, &msg, (int8_t*)key.toStdString().c_str(), set.param_value, onboardParams.size(), 0);
// Allocate buffer with packet data
bufferlength = mavlink_msg_to_send_buffer(buffer, &msg);
//add data into datastream
......
......@@ -104,10 +104,6 @@ void PxQuadMAV::receiveMessage(LinkInterface* link, mavlink_message_t message)
emit valueChanged(uasId, "vis. x", pos.x, time);
emit valueChanged(uasId, "vis. y", pos.y, time);
emit valueChanged(uasId, "vis. z", pos.z, time);
emit valueChanged(uasId, "vis. vx", pos.vx, time);
emit valueChanged(uasId, "vis. vy", pos.vy, time);
emit valueChanged(uasId, "vis. vz", pos.vz, time);
emit valueChanged(uasId, "vis. vyaw", pos.vyaw, time);
}
break;
case MAVLINK_MSG_ID_AUX_STATUS:
......
......@@ -437,6 +437,17 @@ void UAS::receiveMessage(LinkInterface* link, mavlink_message_t message)
}
break;
case MAVLINK_MSG_ID_WAYPOINT_ACK:
{
mavlink_waypoint_ack_t wpa;
mavlink_msg_waypoint_ack_decode(&message, &wpa);
if(wpa.target_system == mavlink->getSystemId() && wpa.target_component == mavlink->getComponentId())
{
waypointManager.handleWaypointAck(message.sysid, message.compid, &wpa);
}
}
break;
case MAVLINK_MSG_ID_WAYPOINT_REQUEST:
{
mavlink_waypoint_request_t wpr;
......@@ -456,11 +467,11 @@ void UAS::receiveMessage(LinkInterface* link, mavlink_message_t message)
}
break;
case MAVLINK_MSG_ID_WAYPOINT_SET_CURRENT:
case MAVLINK_MSG_ID_WAYPOINT_CURRENT:
{
mavlink_waypoint_set_current_t wpsc;
mavlink_msg_waypoint_set_current_decode(&message, &wpsc);
waypointManager.handleWaypointSetCurrent(message.sysid, message.compid, &wpsc);
mavlink_waypoint_current_t wpc;
mavlink_msg_waypoint_current_decode(&message, &wpc);
waypointManager.handleWaypointCurrent(message.sysid, message.compid, &wpc);
}
break;
......
......@@ -32,10 +32,13 @@ This file is part of the PIXHAWK project
#include "UASWaypointManager.h"
#include "UAS.h"
#define PROTOCOL_TIMEOUT_MS 2000
#define PROTOCOL_TIMEOUT_MS 2000 ///< maximum time to wait for pending messages until timeout
#define PROTOCOL_DELAY_MS 40 ///< minimum delay between sent messages
#define PROTOCOL_MAX_RETRIES 3 ///< maximum number of send retries (after timeout)
UASWaypointManager::UASWaypointManager(UAS &_uas)
: uas(_uas),
current_retries(0),
current_wp_id(0),
current_count(0),
current_state(WP_IDLE),
......@@ -48,25 +51,59 @@ UASWaypointManager::UASWaypointManager(UAS &_uas)
void UASWaypointManager::timeout()
{
protocol_timer.stop();
if (current_retries > 0)
{
protocol_timer.start(PROTOCOL_TIMEOUT_MS);
current_retries--;
qDebug() << "Timeout, retrying (retries left:" << current_retries << ")";
if (current_state == WP_GETLIST)
{
sendWaypointRequestList();
}
else if (current_state == WP_GETLIST_GETWPS)
{
sendWaypointRequest(current_wp_id);
}
else if (current_state == WP_SENDLIST)
{
sendWaypointCount();
}
else if (current_state == WP_SENDLIST_SENDWPS)
{
sendWaypoint(current_wp_id);
}
else if (current_state == WP_CLEARLIST)
{
sendWaypointClearAll();
}
else if (current_state == WP_SETCURRENT)
{
sendWaypointSetCurrent(current_wp_id);
}
}
else
{
protocol_timer.stop();
qDebug() << "Waypoint transaction (state=" << current_state << ") timed out going to state WP_IDLE";
qDebug() << "Waypoint transaction (state=" << current_state << ") timed out going to state WP_IDLE";
emit updateStatusString("Operation timed out.");
emit updateStatusString("Operation timed out.");
current_state = WP_IDLE;
current_count = 0;
current_wp_id = 0;
current_partner_systemid = 0;
current_partner_compid = 0;
current_state = WP_IDLE;
current_count = 0;
current_wp_id = 0;
current_partner_systemid = 0;
current_partner_compid = 0;
}
}
void UASWaypointManager::handleWaypointCount(quint8 systemId, quint8 compId, quint16 count)
{
protocol_timer.start(PROTOCOL_TIMEOUT_MS);
if (current_state == WP_GETLIST && systemId == current_partner_systemid && compId == current_partner_compid)
{
protocol_timer.start(PROTOCOL_TIMEOUT_MS);
current_retries = PROTOCOL_MAX_RETRIES;
qDebug() << "got waypoint count (" << count << ") from ID " << systemId;
if (count > 0)
......@@ -87,14 +124,15 @@ void UASWaypointManager::handleWaypointCount(quint8 systemId, quint8 compId, qui
void UASWaypointManager::handleWaypoint(quint8 systemId, quint8 compId, mavlink_waypoint_t *wp)
{
protocol_timer.start(PROTOCOL_TIMEOUT_MS);
if (systemId == current_partner_systemid && compId == current_partner_compid && current_state == WP_GETLIST_GETWPS && wp->seq == current_wp_id)
{
protocol_timer.start(PROTOCOL_TIMEOUT_MS);
current_retries = PROTOCOL_MAX_RETRIES;
if(wp->seq == current_wp_id)
{
//update the UI FIXME
emit waypointUpdated(wp->seq, wp->x, wp->y, wp->z, wp->yaw, wp->autocontinue, wp->current, wp->orbit, wp->hold_time);
emit waypointUpdated(wp->seq, wp->x, wp->y, wp->z, wp->yaw, wp->autocontinue, wp->current, wp->param1, wp->param2);
//get next waypoint
current_wp_id++;
......@@ -105,6 +143,8 @@ void UASWaypointManager::handleWaypoint(quint8 systemId, quint8 compId, mavlink_
}
else
{
sendWaypointAck(0);
// all waypoints retrieved, change state to idle
current_state = WP_IDLE;
current_count = 0;
......@@ -125,30 +165,40 @@ void UASWaypointManager::handleWaypoint(quint8 systemId, quint8 compId, mavlink_
}
}
void UASWaypointManager::handleWaypointRequest(quint8 systemId, quint8 compId, mavlink_waypoint_request_t *wpr)
void UASWaypointManager::handleWaypointAck(quint8 systemId, quint8 compId, mavlink_waypoint_ack_t *wpa)
{
protocol_timer.start(PROTOCOL_TIMEOUT_MS);
if (systemId == current_partner_systemid && compId == current_partner_compid)
{
if((current_state == WP_SENDLIST || current_state == WP_SENDLIST_SENDWPS) && (current_wp_id == waypoint_buffer.count()-1 && wpa->type == 0))
{
//all waypoints sent and ack received
protocol_timer.stop();
current_state = WP_IDLE;
emit updateStatusString("done.");
qDebug() << "sent all waypoints to ID " << systemId;
}
else if(current_state == WP_CLEARLIST)
{
protocol_timer.stop();
current_state = WP_IDLE;
emit updateStatusString("done.");
qDebug() << "cleared waypoint list of ID " << systemId;
}
}
}
if (systemId == current_partner_systemid && compId == current_partner_compid && ((current_state == WP_SENDLIST && wpr->seq == 0) || (current_state == WP_SENDLIST_SENDWPS && (wpr->seq == current_wp_id || wpr->seq == current_wp_id + 1)) || (current_state == WP_IDLE && wpr->seq == current_count-1)))
void UASWaypointManager::handleWaypointRequest(quint8 systemId, quint8 compId, mavlink_waypoint_request_t *wpr)
{
if (systemId == current_partner_systemid && compId == current_partner_compid && ((current_state == WP_SENDLIST && wpr->seq == 0) || (current_state == WP_SENDLIST_SENDWPS && (wpr->seq == current_wp_id || wpr->seq == current_wp_id + 1))))
{
qDebug() << "handleWaypointRequest";
protocol_timer.start(PROTOCOL_TIMEOUT_MS);
current_retries = PROTOCOL_MAX_RETRIES;
if (wpr->seq < waypoint_buffer.count())
{
current_state = WP_SENDLIST_SENDWPS;
current_wp_id = wpr->seq;
sendWaypoint(current_wp_id);
if(current_wp_id == waypoint_buffer.count()-1)
{
//all waypoints sent, but we still have to wait for a possible rerequest of the last waypoint
current_state = WP_IDLE;
protocol_timer.stop();
emit updateStatusString("done.");
qDebug() << "send all waypoints to ID " << systemId;
}
}
else
{
......@@ -165,54 +215,77 @@ void UASWaypointManager::handleWaypointReached(quint8 systemId, quint8 compId, m
}
}
void UASWaypointManager::handleWaypointSetCurrent(quint8 systemId, quint8 compId, mavlink_waypoint_set_current_t *wpr)
void UASWaypointManager::handleWaypointCurrent(quint8 systemId, quint8 compId, mavlink_waypoint_current_t *wpc)
{
if (systemId == uas.getUASID() && compId == MAV_COMP_ID_WAYPOINTPLANNER)
{
qDebug() << "new current waypoint" << wpr->seq;
emit currentWaypointChanged(wpr->seq);
if (current_state == WP_SETCURRENT)
{
protocol_timer.stop();
current_state = WP_IDLE;
emit updateStatusString(QString("New current waypoint %1").arg(wpc->seq));
}
qDebug() << "new current waypoint" << wpc->seq;
emit currentWaypointChanged(wpc->seq);
}
}
void UASWaypointManager::clearWaypointList()
{
if(current_state == WP_IDLE)
{
protocol_timer.start(PROTOCOL_TIMEOUT_MS);
current_retries = PROTOCOL_MAX_RETRIES;
current_state = WP_CLEARLIST;
current_wp_id = 0;
current_partner_systemid = uas.getUASID();
current_partner_compid = MAV_COMP_ID_WAYPOINTPLANNER;
sendWaypointClearAll();
}
}
void UASWaypointManager::requestWaypoints()
void UASWaypointManager::setCurrent(quint16 seq)
{
if(current_state == WP_IDLE)
{
protocol_timer.start(PROTOCOL_TIMEOUT_MS);
current_retries = PROTOCOL_MAX_RETRIES;
current_state = WP_SETCURRENT;
current_wp_id = seq;
current_partner_systemid = uas.getUASID();
current_partner_compid = MAV_COMP_ID_WAYPOINTPLANNER;
mavlink_message_t message;
mavlink_waypoint_request_list_t wprl;
sendWaypointSetCurrent(current_wp_id);
}
}
wprl.target_system = uas.getUASID();
wprl.target_component = MAV_COMP_ID_WAYPOINTPLANNER;
void UASWaypointManager::readWaypoints()
{
if(current_state == WP_IDLE)
{
protocol_timer.start(PROTOCOL_TIMEOUT_MS);
current_retries = PROTOCOL_MAX_RETRIES;
current_state = WP_GETLIST;
current_wp_id = 0;
current_partner_systemid = uas.getUASID();
current_partner_compid = MAV_COMP_ID_WAYPOINTPLANNER;
const QString str = QString("requesting waypoint list...");
emit updateStatusString(str);
mavlink_msg_waypoint_request_list_encode(uas.mavlink->getSystemId(), uas.mavlink->getComponentId(), &message, &wprl);
uas.sendMessage(message);
qDebug() << "sent waypoint list request to ID " << wprl.target_system;
sendWaypointRequestList();
}
}
void UASWaypointManager::sendWaypoints()
void UASWaypointManager::writeWaypoints()
{
if (current_state == WP_IDLE)
{
if (waypoints.count() > 0)
{
protocol_timer.start(PROTOCOL_TIMEOUT_MS);
current_retries = PROTOCOL_MAX_RETRIES;
current_count = waypoints.count();
current_state = WP_SENDLIST;
......@@ -237,8 +310,10 @@ void UASWaypointManager::sendWaypoints()
cur_d->autocontinue = cur_s->getAutoContinue();
cur_d->current = cur_s->getCurrent();
cur_d->orbit = cur_s->getOrbit();
cur_d->hold_time = cur_s->getHoldTime();
cur_d->orbit = 0;
cur_d->orbit_direction = 0;
cur_d->param1 = cur_s->getOrbit();
cur_d->param2 = cur_s->getHoldTime();
cur_d->type = 1; //FIXME
cur_d->seq = i;
cur_d->x = cur_s->getX();
......@@ -248,20 +323,7 @@ void UASWaypointManager::sendWaypoints()
}
//send the waypoint count to UAS (this starts the send transaction)
mavlink_message_t message;
mavlink_waypoint_count_t wpc;
wpc.target_system = uas.getUASID();
wpc.target_component = MAV_COMP_ID_WAYPOINTPLANNER;
wpc.count = current_count;
const QString str = QString("start transmitting waypoints...");
emit updateStatusString(str);
mavlink_msg_waypoint_count_encode(uas.mavlink->getSystemId(), uas.mavlink->getComponentId(), &message, &wpc);
uas.sendMessage(message);
qDebug() << "sent waypoint count (" << wpc.count << ") to ID " << wpc.target_system;
sendWaypointCount();
}
}
else
......@@ -271,6 +333,80 @@ void UASWaypointManager::sendWaypoints()
}
}
void UASWaypointManager::sendWaypointClearAll()
{
mavlink_message_t message;
mavlink_waypoint_clear_all_t wpca;
wpca.target_system = uas.getUASID();
wpca.target_component = MAV_COMP_ID_WAYPOINTPLANNER;
const QString str = QString("clearing waypoint list...");
emit updateStatusString(str);
mavlink_msg_waypoint_clear_all_encode(uas.mavlink->getSystemId(), uas.mavlink->getComponentId(), &message, &wpca);
uas.sendMessage(message);
usleep(PROTOCOL_DELAY_MS * 1000);
qDebug() << "sent waypoint clear all to ID " << wpca.target_system;
}
void UASWaypointManager::sendWaypointSetCurrent(quint16 seq)
{
mavlink_message_t message;
mavlink_waypoint_set_current_t wpsc;
wpsc.target_system = uas.getUASID();
wpsc.target_component = MAV_COMP_ID_WAYPOINTPLANNER;
wpsc.seq = seq;
const QString str = QString("Updating target waypoint...");
emit updateStatusString(str);
mavlink_msg_waypoint_set_current_encode(uas.mavlink->getSystemId(), uas.mavlink->getComponentId(), &message, &wpsc);
uas.sendMessage(message);
usleep(PROTOCOL_DELAY_MS * 1000);
qDebug() << "sent waypoint set current (" << wpsc.seq << ") to ID " << wpsc.target_system;
}
void UASWaypointManager::sendWaypointCount()
{
mavlink_message_t message;
mavlink_waypoint_count_t wpc;
wpc.target_system = uas.getUASID();
wpc.target_component = MAV_COMP_ID_WAYPOINTPLANNER;
wpc.count = current_count;
const QString str = QString("start transmitting waypoints...");
emit updateStatusString(str);
mavlink_msg_waypoint_count_encode(uas.mavlink->getSystemId(), uas.mavlink->getComponentId(), &message, &wpc);
uas.sendMessage(message);
usleep(PROTOCOL_DELAY_MS * 1000);
qDebug() << "sent waypoint count (" << wpc.count << ") to ID " << wpc.target_system;
}
void UASWaypointManager::sendWaypointRequestList()
{
mavlink_message_t message;
mavlink_waypoint_request_list_t wprl;
wprl.target_system = uas.getUASID();
wprl.target_component = MAV_COMP_ID_WAYPOINTPLANNER;
const QString str = QString("requesting waypoint list...");
emit updateStatusString(str);
mavlink_msg_waypoint_request_list_encode(uas.mavlink->getSystemId(), uas.mavlink->getComponentId(), &message, &wprl);
uas.sendMessage(message);
usleep(PROTOCOL_DELAY_MS * 1000);
qDebug() << "sent waypoint list request to ID " << wprl.target_system;
}
void UASWaypointManager::sendWaypointRequest(quint16 seq)
{
mavlink_message_t message;
......@@ -285,6 +421,7 @@ void UASWaypointManager::sendWaypointRequest(quint16 seq)
mavlink_msg_waypoint_request_encode(uas.mavlink->getSystemId(), uas.mavlink->getComponentId(), &message, &wpr);
uas.sendMessage(message);
usleep(PROTOCOL_DELAY_MS * 1000);
qDebug() << "sent waypoint request (" << wpr.seq << ") to ID " << wpr.target_system;
}
......@@ -306,7 +443,24 @@ void UASWaypointManager::sendWaypoint(quint16 seq)
mavlink_msg_waypoint_encode(uas.mavlink->getSystemId(), uas.mavlink->getComponentId(), &message, wp);
uas.sendMessage(message);
usleep(PROTOCOL_DELAY_MS * 1000);
qDebug() << "sent waypoint (" << wp->seq << ") to ID " << wp->target_system;
}
}
void UASWaypointManager::sendWaypointAck(quint8 type)
{
mavlink_message_t message;
mavlink_waypoint_ack_t wpa;
wpa.target_system = uas.getUASID();
wpa.target_component = MAV_COMP_ID_WAYPOINTPLANNER;
wpa.type = type;
mavlink_msg_waypoint_ack_encode(uas.mavlink->getSystemId(), uas.mavlink->getComponentId(), &message, &wpa);
uas.sendMessage(message);
usleep(PROTOCOL_DELAY_MS * 1000);
qDebug() << "sent waypoint ack (" << wpa.type << ") to ID " << wpa.target_system;
}
......@@ -39,38 +39,59 @@ This file is part of the PIXHAWK project
#include <mavlink.h>
class UAS;
/**
* @brief Implementation of the MAVLINK waypoint protocol
*
* This class handles the communication with a waypoint manager on the MAV.
* All waypoints are stored in the QVector waypoints, modifications can be done with the WaypointList widget.
* Notice that currently the access to the internal waypoint storage is not guarded nor thread-safe. This works as long as no other widget alters the data.
*
* See http://qgroundcontrol.org/waypoint_protocol for more information about the protocol and the states.
*/
class UASWaypointManager : public QObject
{
Q_OBJECT
private:
enum WaypointState {
WP_IDLE = 0,
WP_SENDLIST,
WP_SENDLIST_SENDWPS,
WP_GETLIST,
WP_GETLIST_GETWPS
WP_IDLE = 0, ///< Waiting for commands
WP_SENDLIST, ///< Initial state for sending waypoints to the MAV
WP_SENDLIST_SENDWPS,///< Sending waypoints
WP_GETLIST, ///< Initial state for retrieving wayppoints from the MAV
WP_GETLIST_GETWPS, ///< Receiving waypoints
WP_CLEARLIST, ///< Clearing waypoint list on the MAV
WP_SETCURRENT ///< Setting new current waypoint on the MAV
}; ///< The possible states for the waypoint protocol
public:
UASWaypointManager(UAS&);
UASWaypointManager(UAS&); ///< Standard constructor.
void handleWaypointCount(quint8 systemId, quint8 compId, quint16 count);
void handleWaypoint(quint8 systemId, quint8 compId, mavlink_waypoint_t *wp);
void handleWaypointRequest(quint8 systemId, quint8 compId, mavlink_waypoint_request_t *wpr);
void handleWaypointReached(quint8 systemId, quint8 compId, mavlink_waypoint_reached_t *wpr);
void handleWaypointSetCurrent(quint8 systemId, quint8 compId, mavlink_waypoint_set_current_t *wpr);
/** @name Protocol handlers */
/*@{*/
void handleWaypointCount(quint8 systemId, quint8 compId, quint16 count); ///< Handles received waypoint count messages
void handleWaypoint(quint8 systemId, quint8 compId, mavlink_waypoint_t *wp); ///< Handles received waypoint messages
void handleWaypointAck(quint8 systemId, quint8 compId, mavlink_waypoint_ack_t *wpa); ///< Handles received waypoint ack messages
void handleWaypointRequest(quint8 systemId, quint8 compId, mavlink_waypoint_request_t *wpr); ///< Handles received waypoint request messages
void handleWaypointReached(quint8 systemId, quint8 compId, mavlink_waypoint_reached_t *wpr); ///< Handles received waypoint reached messages
void handleWaypointCurrent(quint8 systemId, quint8 compId, mavlink_waypoint_current_t *wpc); ///< Handles received set current waypoint messages
/*@}*/
QVector<Waypoint *> &getWaypointList(void) { return waypoints; }
QVector<Waypoint *> &getWaypointList(void) { return waypoints; } ///< Returns a reference to the local waypoint list. Gives full access to the internal data structure - Subject to change: Public const access and friend access for the waypoint list widget.
private:
void sendWaypointRequest(quint16 seq);
void sendWaypoint(quint16 seq);
void sendWaypointClearAll();
void sendWaypointSetCurrent(quint16 seq);
void sendWaypointCount();
void sendWaypointRequestList();
void sendWaypointRequest(quint16 seq); ///< Requests a waypoint with sequence number seq
void sendWaypoint(quint16 seq); ///< Sends a waypoint with sequence number seq
void sendWaypointAck(quint8 type); ///< Sends a waypoint ack
public slots:
void timeout();
void clearWaypointList();
void requestWaypoints();
void sendWaypoints();
void timeout(); ///< Called by the timer if a response times out. Handles send retries.
void setCurrent(quint16 seq); ///< Sends the sequence number of the waypoint that should get the new target waypoint
void clearWaypointList(); ///< Sends the waypoint clear all message to the MAV
void readWaypoints(); ///< Requests the MAV's current waypoint list
void writeWaypoints(); ///< Sends the local waypoint list to the MAV
signals:
void waypointUpdated(quint16,double,double,double,double,bool,bool,double,int); ///< Adds a waypoint to the waypoint list widget
......@@ -79,6 +100,7 @@ signals:
private:
UAS &uas; ///< Reference to the corresponding UAS
quint32 current_retries; ///< The current number of retries left
quint16 current_wp_id; ///< The last used waypoint ID in the current protocol transaction
quint16 current_count; ///< The number of waypoints in the current protocol transaction
WaypointState current_state; ///< The current protocol state
......
......@@ -119,7 +119,7 @@ void HSIDisplay::paintDisplay()
float bottomMargin = 3.0f;
// Size of the ring instrument
const float margin = 0.1f; // 10% margin of total width on each side
//const float margin = 0.1f; // 10% margin of total width on each side
float baseRadius = (vheight - topMargin - bottomMargin) / 2.0f - bottomMargin / 2.0f;
// Draw instruments
......@@ -294,6 +294,7 @@ void HSIDisplay::drawPositionLock(float x, float y, QString label, int status, Q
void HSIDisplay::updatePositionLock(UASInterface* uas, bool lock)
{
Q_UNUSED(uas);
positionLock = lock;
}
......@@ -876,12 +877,17 @@ void visionLocalizationChanged(UASInterface* uas, int fix);
void HSIDisplay::updateJoystick(double roll, double pitch, double yaw, double thrust, int xHat, int yHat)
{
Q_UNUSED(roll);
Q_UNUSED(pitch);
Q_UNUSED(yaw);
Q_UNUSED(thrust);
Q_UNUSED(xHat);
Q_UNUSED(yHat);
}
void HSIDisplay::pressKey(int key)
{
Q_UNUSED(key);
}
......@@ -569,7 +569,10 @@ void HUD::paintHUD()
float yawTrans = yawInt * (double)maxYawTrans;
yawInt *= 0.6f;
//qDebug() << "yaw translation" << yawTrans << "integral" << yawInt << "difference" << yawDiff << "yaw" << yaw << "asin(yawInt)" << asinYaw;
if ((yawTrans < 5.0) && (yawTrans > -5.0)) yawTrans = 0;
qDebug() << "yaw translation" << yawTrans << "integral" << yawInt << "difference" << yawDiff << "yaw" << yaw;
// Update scaling factor
// adjust scaling to fit both horizontally and vertically
......
......@@ -48,6 +48,10 @@ This file is part of the QGROUNDCONTROL project
#include "JoystickWidget.h"
#include "GAudioOutput.h"
// FIXME Move
#include "PxQuadMAV.h"
#include "SlugsMAV.h"
#include "LogCompressor.h"
......@@ -344,6 +348,12 @@ void MainWindow::UASCreated(UASInterface* uas)
// Revalidate UI
// TODO Stylesheet reloading should in theory not be necessary
reloadStylesheet();
// Check which type this UAS is of
PxQuadMAV* mav = dynamic_cast<PxQuadMAV*>(uas);
if (mav) loadPixhawkView();
SlugsMAV* mav2 = dynamic_cast<SlugsMAV*>(uas);
if (mav2) loadSlugsView();
}
/**
......@@ -377,6 +387,98 @@ void MainWindow::clearView()
}
}
void MainWindow::loadSlugsView()
{
clearView();
// Engineer view, used in EMAV2009
// LINE CHART
linechart->setActive(true);
centerStack->setCurrentWidget(linechart);
// UAS CONTROL
QDockWidget* container1 = new QDockWidget(tr("Control"), this);
container1->setWidget(control);
addDockWidget(Qt::LeftDockWidgetArea, container1);
// UAS LIST
QDockWidget* container4 = new QDockWidget(tr("Unmanned Systems"), this);
container4->setWidget(list);
addDockWidget(Qt::BottomDockWidgetArea, container4);
// UAS STATUS
QDockWidget* container3 = new QDockWidget(tr("Status Details"), this);
container3->setWidget(info);
addDockWidget(Qt::LeftDockWidgetArea, container3);
// HORIZONTAL SITUATION INDICATOR
QDockWidget* container6 = new QDockWidget(tr("Horizontal Situation Indicator"), this);
container6->setWidget(hsi);
hsi->start();
addDockWidget(Qt::LeftDockWidgetArea, container6);
// WAYPOINT LIST
QDockWidget* container5 = new QDockWidget(tr("Waypoint List"), this);
container5->setWidget(waypoints);
addDockWidget(Qt::BottomDockWidgetArea, container5);
// DEBUG CONSOLE
QDockWidget* container7 = new QDockWidget(tr("Communication Console"), this);
container7->setWidget(debugConsole);
addDockWidget(Qt::BottomDockWidgetArea, container7);
// ONBOARD PARAMETERS
QDockWidget* containerParams = new QDockWidget(tr("Onboard Parameters"), this);
containerParams->setWidget(parameters);
addDockWidget(Qt::RightDockWidgetArea, containerParams);
this->show();
}
void MainWindow::loadPixhawkView()
{
clearView();
// Engineer view, used in EMAV2009
// LINE CHART
linechart->setActive(true);
centerStack->setCurrentWidget(linechart);
// UAS CONTROL
QDockWidget* container1 = new QDockWidget(tr("Control"), this);
container1->setWidget(control);
addDockWidget(Qt::LeftDockWidgetArea, container1);
// UAS LIST
QDockWidget* container4 = new QDockWidget(tr("Unmanned Systems"), this);
container4->setWidget(list);
addDockWidget(Qt::BottomDockWidgetArea, container4);
// UAS STATUS
QDockWidget* container3 = new QDockWidget(tr("Status Details"), this);
container3->setWidget(info);
addDockWidget(Qt::LeftDockWidgetArea, container3);
// WAYPOINT LIST
QDockWidget* container5 = new QDockWidget(tr("Waypoint List"), this);
container5->setWidget(waypoints);
addDockWidget(Qt::BottomDockWidgetArea, container5);
// DEBUG CONSOLE
QDockWidget* container7 = new QDockWidget(tr("Communication Console"), this);
container7->setWidget(debugConsole);
addDockWidget(Qt::BottomDockWidgetArea, container7);
// ONBOARD PARAMETERS
QDockWidget* containerParams = new QDockWidget(tr("Onboard Parameters"), this);
containerParams->setWidget(parameters);
addDockWidget(Qt::RightDockWidgetArea, containerParams);
this->show();
}
void MainWindow::loadPilotView()
{
clearView();
......@@ -490,12 +592,6 @@ void MainWindow::loadEngineerView()
container3->setWidget(info);
addDockWidget(Qt::LeftDockWidgetArea, container3);
// HORIZONTAL SITUATION INDICATOR
QDockWidget* container6 = new QDockWidget(tr("Horizontal Situation Indicator"), this);
container6->setWidget(hsi);
hsi->start();
addDockWidget(Qt::LeftDockWidgetArea, container6);
// WAYPOINT LIST
QDockWidget* container5 = new QDockWidget(tr("Waypoint List"), this);
container5->setWidget(waypoints);
......
......@@ -117,6 +117,10 @@ public slots:
/** @brief Load MAVLink XML generator view */
void loadMAVLinkView();
// Fixme find a nicer solution that scales to more AP types
void loadSlugsView();
void loadPixhawkView();
/** @brief Reload the CSS style sheet */
void reloadStylesheet();
protected:
......
......@@ -270,6 +270,7 @@ void QGCParamWidget::requestParameterList()
// Clear view and request param list
clear();
parameters.clear();
received.clear();
mav->requestParameters();
}
......
......@@ -83,6 +83,7 @@ protected:
QMap<int, QMap<QString, QTreeWidgetItem*>* > paramGroups; ///< Parameter groups
QMap<int, QMap<QString, float>* > changedValues; ///< Changed values
QMap<int, QMap<QString, float>* > parameters; ///< All parameters
QVector<bool> received; ///< Successfully received parameters
};
......
......@@ -126,9 +126,10 @@ void WaypointList::setUAS(UASInterface* uas)
connect(uas, SIGNAL(localPositionChanged(UASInterface*,double,double,double,quint64)), this, SLOT(updateLocalPosition(UASInterface*,double,double,double,quint64)));
connect(uas, SIGNAL(attitudeChanged(UASInterface*,double,double,double,quint64)), this, SLOT(updateAttitude(UASInterface*,double,double,double,quint64)));
connect(this, SIGNAL(sendWaypoints()), &uas->getWaypointManager(), SLOT(sendWaypoints()));
connect(this, SIGNAL(requestWaypoints()), &uas->getWaypointManager(), SLOT(requestWaypoints()));
connect(this, SIGNAL(sendWaypoints()), &uas->getWaypointManager(), SLOT(writeWaypoints()));
connect(this, SIGNAL(requestWaypoints()), &uas->getWaypointManager(), SLOT(readWaypoints()));
connect(this, SIGNAL(clearWaypointList()), &uas->getWaypointManager(), SLOT(clearWaypointList()));
connect(this, SIGNAL(setCurrent(quint16)), &uas->getWaypointManager(), SLOT(setCurrent(quint16)));
}
}
......@@ -149,6 +150,35 @@ void WaypointList::waypointReached(quint16 waypointId)
}
}
void WaypointList::changeCurrentWaypoint(quint16 seq)
{
if (this->uas)
{
QVector<Waypoint *> &waypoints = uas->getWaypointManager().getWaypointList();
if (seq < waypoints.size())
{
for(int i = 0; i < waypoints.size(); i++)
{
WaypointView* widget = wpViews.find(waypoints[i]).value();
if (waypoints[i]->getId() == seq)
{
waypoints[i]->setCurrent(true);
widget->setCurrent(true);
emit setCurrent(seq);
}
else
{
waypoints[i]->setCurrent(false);
widget->setCurrent(false);
}
}
redrawList();
}
}
}
void WaypointList::currentWaypointChanged(quint16 seq)
{
if (this->uas)
......@@ -250,6 +280,7 @@ void WaypointList::addWaypoint(Waypoint* wp)
connect(wpview, SIGNAL(moveUpWaypoint(Waypoint*)), this, SLOT(moveUp(Waypoint*)));
connect(wpview, SIGNAL(removeWaypoint(Waypoint*)), this, SLOT(removeWaypoint(Waypoint*)));
connect(wpview, SIGNAL(currentWaypointChanged(quint16)), this, SLOT(currentWaypointChanged(quint16)));
connect(wpview, SIGNAL(changeCurrentWaypoint(quint16)), this, SLOT(changeCurrentWaypoint(quint16)));
}
}
}
......
......@@ -72,7 +72,8 @@ public slots:
/** @brief sets statusLabel string */
void updateStatusLabel(const QString &string);
void currentWaypointChanged(quint16 seq);
void changeCurrentWaypoint(quint16 seq); ///< The user wants to change the current waypoint
void currentWaypointChanged(quint16 seq); ///< The waypointplanner changed the current waypoint
void setWaypoint(quint16 id, double x, double y, double z, double yaw, bool autocontinue, bool current, double orbit, int holdTime);
void addWaypoint(Waypoint* wp);
void removeWaypoint(Waypoint* wp);
......@@ -84,6 +85,7 @@ signals:
void sendWaypoints();
void requestWaypoints();
void clearWaypointList();
void setCurrent(quint16);
protected:
virtual void changeEvent(QEvent *e);
......
......@@ -115,7 +115,7 @@ void WaypointView::changedCurrent(int state)
else
{
wp->setCurrent(true);
emit currentWaypointChanged(wp->getId()); //the slot currentWayppointChanged() in WaypointList sets all other current flags to false
emit changeCurrentWaypoint(wp->getId()); //the slot changeCurrentWaypoint() in WaypointList sets all other current flags to false
}
}
......
......@@ -72,6 +72,7 @@ signals:
void moveDownWaypoint(Waypoint*);
void removeWaypoint(Waypoint*);
void currentWaypointChanged(quint16);
void changeCurrentWaypoint(quint16);
void setYaw(double);
};
......
/********************************************************************************
** Form generated from reading UI file 'AudioOutputWidget.ui'
**
** Created: Sun Jul 11 18:53:34 2010
** by: Qt User Interface Compiler version 4.6.2
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef AUDIOOUTPUTWIDGET_H
#define AUDIOOUTPUTWIDGET_H
#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QGridLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QPushButton>
#include <QtGui/QSpacerItem>
#include <QtGui/QWidget>
QT_BEGIN_NAMESPACE
class Ui_AudioOutputWidget
{
public:
QGridLayout *gridLayout;
QSpacerItem *horizontalSpacer;
QSpacerItem *verticalSpacer;
QPushButton *muteButton;
void setupUi(QWidget *AudioOutputWidget)
{
if (AudioOutputWidget->objectName().isEmpty())
AudioOutputWidget->setObjectName(QString::fromUtf8("AudioOutputWidget"));
AudioOutputWidget->resize(195, 95);
gridLayout = new QGridLayout(AudioOutputWidget);
gridLayout->setContentsMargins(6, 6, 6, 6);
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
horizontalSpacer = new QSpacerItem(53, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
gridLayout->addItem(horizontalSpacer, 0, 2, 1, 2);
verticalSpacer = new QSpacerItem(180, 43, QSizePolicy::Minimum, QSizePolicy::Expanding);
gridLayout->addItem(verticalSpacer, 1, 0, 1, 4);
muteButton = new QPushButton(AudioOutputWidget);
muteButton->setObjectName(QString::fromUtf8("muteButton"));
QIcon icon;
icon.addFile(QString::fromUtf8(":/images/status/audio-volume-muted.svg"), QSize(), QIcon::Normal, QIcon::Off);
muteButton->setIcon(icon);
muteButton->setIconSize(QSize(16, 16));
gridLayout->addWidget(muteButton, 0, 0, 1, 1);
retranslateUi(AudioOutputWidget);
QMetaObject::connectSlotsByName(AudioOutputWidget);
} // setupUi
void retranslateUi(QWidget *AudioOutputWidget)
{
AudioOutputWidget->setWindowTitle(QApplication::translate("AudioOutputWidget", "Form", 0, QApplication::UnicodeUTF8));
muteButton->setText(QApplication::translate("AudioOutputWidget", "Mute", 0, QApplication::UnicodeUTF8));
} // retranslateUi
};
namespace Ui {
class AudioOutputWidget: public Ui_AudioOutputWidget {};
} // namespace Ui
QT_END_NAMESPACE
#endif // AUDIOOUTPUTWIDGET_H
/********************************************************************************
** Form generated from reading UI file 'DebugConsole.ui'
**
** Created: Sun Jul 11 18:53:34 2010
** by: Qt User Interface Compiler version 4.6.2
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef DEBUGCONSOLE_H
#define DEBUGCONSOLE_H
#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QComboBox>
#include <QtGui/QGridLayout>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QLineEdit>
#include <QtGui/QPlainTextEdit>
#include <QtGui/QPushButton>
#include <QtGui/QWidget>
QT_BEGIN_NAMESPACE
class Ui_DebugConsole
{
public:
QGridLayout *gridLayout;
QHBoxLayout *horizontalLayout_2;
QComboBox *linkComboBox;
QLabel *speedLabel;
QCheckBox *mavlinkCheckBox;
QCheckBox *hexCheckBox;
QCheckBox *holdCheckBox;
QPlainTextEdit *receiveText;
QLineEdit *sentText;
QLineEdit *sendText;
QHBoxLayout *horizontalLayout;
QPushButton *transmitButton;
QPushButton *holdButton;
QPushButton *clearButton;
void setupUi(QWidget *DebugConsole)
{
if (DebugConsole->objectName().isEmpty())
DebugConsole->setObjectName(QString::fromUtf8("DebugConsole"));
DebugConsole->resize(435, 185);
gridLayout = new QGridLayout(DebugConsole);
gridLayout->setContentsMargins(6, 6, 6, 6);
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
gridLayout->setHorizontalSpacing(6);
gridLayout->setVerticalSpacing(4);
horizontalLayout_2 = new QHBoxLayout();
horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
linkComboBox = new QComboBox(DebugConsole);
linkComboBox->setObjectName(QString::fromUtf8("linkComboBox"));
linkComboBox->setMaximumSize(QSize(130, 16777215));
horizontalLayout_2->addWidget(linkComboBox);
speedLabel = new QLabel(DebugConsole);
speedLabel->setObjectName(QString::fromUtf8("speedLabel"));
horizontalLayout_2->addWidget(speedLabel);
mavlinkCheckBox = new QCheckBox(DebugConsole);
mavlinkCheckBox->setObjectName(QString::fromUtf8("mavlinkCheckBox"));
horizontalLayout_2->addWidget(mavlinkCheckBox);
hexCheckBox = new QCheckBox(DebugConsole);
hexCheckBox->setObjectName(QString::fromUtf8("hexCheckBox"));
horizontalLayout_2->addWidget(hexCheckBox);
holdCheckBox = new QCheckBox(DebugConsole);
holdCheckBox->setObjectName(QString::fromUtf8("holdCheckBox"));
horizontalLayout_2->addWidget(holdCheckBox);
horizontalLayout_2->setStretch(0, 10);
gridLayout->addLayout(horizontalLayout_2, 0, 0, 1, 2);
receiveText = new QPlainTextEdit(DebugConsole);
receiveText->setObjectName(QString::fromUtf8("receiveText"));
gridLayout->addWidget(receiveText, 1, 0, 1, 2);
sentText = new QLineEdit(DebugConsole);
sentText->setObjectName(QString::fromUtf8("sentText"));
sentText->setReadOnly(true);
gridLayout->addWidget(sentText, 2, 0, 1, 2);
sendText = new QLineEdit(DebugConsole);
sendText->setObjectName(QString::fromUtf8("sendText"));
gridLayout->addWidget(sendText, 3, 0, 1, 1);
horizontalLayout = new QHBoxLayout();
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
transmitButton = new QPushButton(DebugConsole);
transmitButton->setObjectName(QString::fromUtf8("transmitButton"));
QIcon icon;
icon.addFile(QString::fromUtf8(":/images/devices/network-wireless.svg"), QSize(), QIcon::Normal, QIcon::Off);
transmitButton->setIcon(icon);
horizontalLayout->addWidget(transmitButton);
holdButton = new QPushButton(DebugConsole);
holdButton->setObjectName(QString::fromUtf8("holdButton"));
holdButton->setCheckable(true);
horizontalLayout->addWidget(holdButton);
clearButton = new QPushButton(DebugConsole);
clearButton->setObjectName(QString::fromUtf8("clearButton"));
horizontalLayout->addWidget(clearButton);
gridLayout->addLayout(horizontalLayout, 3, 1, 1, 1);
retranslateUi(DebugConsole);
QObject::connect(clearButton, SIGNAL(clicked()), receiveText, SLOT(clear()));
QMetaObject::connectSlotsByName(DebugConsole);
} // setupUi
void retranslateUi(QWidget *DebugConsole)
{
DebugConsole->setWindowTitle(QApplication::translate("DebugConsole", "Form", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_TOOLTIP
linkComboBox->setToolTip(QApplication::translate("DebugConsole", "Select the link to monitor", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
speedLabel->setText(QApplication::translate("DebugConsole", "0.0 kB/s", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_TOOLTIP
mavlinkCheckBox->setToolTip(QApplication::translate("DebugConsole", "Ignore MAVLINK protocol messages in display", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
mavlinkCheckBox->setText(QApplication::translate("DebugConsole", "No MAVLINK", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_TOOLTIP
hexCheckBox->setToolTip(QApplication::translate("DebugConsole", "Display and send bytes in HEX representation", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
hexCheckBox->setText(QApplication::translate("DebugConsole", "HEX", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_TOOLTIP
holdCheckBox->setToolTip(QApplication::translate("DebugConsole", "Saves CPU ressources, automatically set view to hold if data rate is too high to prevent fast scrolling", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
#ifndef QT_NO_STATUSTIP
holdCheckBox->setStatusTip(QApplication::translate("DebugConsole", "Saves CPU ressources, automatically set view to hold if data rate is too high to prevent fast scrolling", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_STATUSTIP
#ifndef QT_NO_WHATSTHIS
holdCheckBox->setWhatsThis(QApplication::translate("DebugConsole", "Enable auto hold to lower the CPU consumption", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_WHATSTHIS
holdCheckBox->setText(QApplication::translate("DebugConsole", "Auto hold", 0, QApplication::UnicodeUTF8));
sentText->setText(QApplication::translate("DebugConsole", "Enter data/text below to send", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_TOOLTIP
sendText->setToolTip(QApplication::translate("DebugConsole", "Type the bytes to send here, use 0xAA format for HEX (Check HEX checkbox above)", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
#ifndef QT_NO_TOOLTIP
transmitButton->setToolTip(QApplication::translate("DebugConsole", "Send the ASCII text or HEX values over the link", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
transmitButton->setText(QApplication::translate("DebugConsole", "Send", 0, QApplication::UnicodeUTF8));
holdButton->setText(QApplication::translate("DebugConsole", "Hold", 0, QApplication::UnicodeUTF8));
clearButton->setText(QApplication::translate("DebugConsole", "Clear", 0, QApplication::UnicodeUTF8));
} // retranslateUi
};
namespace Ui {
class DebugConsole: public Ui_DebugConsole {};
} // namespace Ui
QT_END_NAMESPACE
#endif // DEBUGCONSOLE_H
/********************************************************************************
** Form generated from reading UI file 'HDDisplay.ui'
**
** Created: Sun Jul 11 18:53:34 2010
** by: Qt User Interface Compiler version 4.6.2
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef HDDISPLAY_H
#define HDDISPLAY_H
#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QGraphicsView>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QWidget>
QT_BEGIN_NAMESPACE
class Ui_HDDisplay
{
public:
QHBoxLayout *horizontalLayout;
QGraphicsView *view;
void setupUi(QWidget *HDDisplay)
{
if (HDDisplay->objectName().isEmpty())
HDDisplay->setObjectName(QString::fromUtf8("HDDisplay"));
HDDisplay->resize(400, 300);
horizontalLayout = new QHBoxLayout(HDDisplay);
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
view = new QGraphicsView(HDDisplay);
view->setObjectName(QString::fromUtf8("view"));
horizontalLayout->addWidget(view);
retranslateUi(HDDisplay);
QMetaObject::connectSlotsByName(HDDisplay);
} // setupUi
void retranslateUi(QWidget *HDDisplay)
{
HDDisplay->setWindowTitle(QApplication::translate("HDDisplay", "Form", 0, QApplication::UnicodeUTF8));
} // retranslateUi
};
namespace Ui {
class HDDisplay: public Ui_HDDisplay {};
} // namespace Ui
QT_END_NAMESPACE
#endif // HDDISPLAY_H
/********************************************************************************
** Form generated from reading UI file 'JoystickWidget.ui'
**
** Created: Sun Jul 11 18:53:34 2010
** by: Qt User Interface Compiler version 4.6.2
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef JOYSTICKWIDGET_H
#define JOYSTICKWIDGET_H
#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QDial>
#include <QtGui/QDialog>
#include <QtGui/QDialogButtonBox>
#include <QtGui/QGroupBox>
#include <QtGui/QHeaderView>
#include <QtGui/QLCDNumber>
#include <QtGui/QProgressBar>
#include <QtGui/QSlider>
QT_BEGIN_NAMESPACE
class Ui_JoystickWidget
{
public:
QDialogButtonBox *buttonBox;
QProgressBar *thrust;
QSlider *ySlider;
QSlider *xSlider;
QLCDNumber *xValue;
QLCDNumber *yValue;
QDial *dial;
QGroupBox *button0Label;
void setupUi(QDialog *JoystickWidget)
{
if (JoystickWidget->objectName().isEmpty())
JoystickWidget->setObjectName(QString::fromUtf8("JoystickWidget"));
JoystickWidget->resize(400, 300);
buttonBox = new QDialogButtonBox(JoystickWidget);
buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
buttonBox->setGeometry(QRect(30, 240, 341, 32));
buttonBox->setOrientation(Qt::Horizontal);
buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
thrust = new QProgressBar(JoystickWidget);
thrust->setObjectName(QString::fromUtf8("thrust"));
thrust->setGeometry(QRect(350, 20, 31, 181));
thrust->setValue(0);
thrust->setOrientation(Qt::Vertical);
ySlider = new QSlider(JoystickWidget);
ySlider->setObjectName(QString::fromUtf8("ySlider"));
ySlider->setGeometry(QRect(160, 190, 160, 17));
ySlider->setMaximum(100);
ySlider->setOrientation(Qt::Horizontal);
xSlider = new QSlider(JoystickWidget);
xSlider->setObjectName(QString::fromUtf8("xSlider"));
xSlider->setGeometry(QRect(140, 40, 17, 160));
xSlider->setMaximum(100);
xSlider->setOrientation(Qt::Vertical);
xValue = new QLCDNumber(JoystickWidget);
xValue->setObjectName(QString::fromUtf8("xValue"));
xValue->setGeometry(QRect(160, 50, 41, 23));
xValue->setFrameShadow(QFrame::Plain);
xValue->setSmallDecimalPoint(true);
xValue->setNumDigits(3);
xValue->setSegmentStyle(QLCDNumber::Flat);
yValue = new QLCDNumber(JoystickWidget);
yValue->setObjectName(QString::fromUtf8("yValue"));
yValue->setGeometry(QRect(270, 160, 41, 23));
yValue->setFrameShadow(QFrame::Plain);
yValue->setSmallDecimalPoint(true);
yValue->setNumDigits(3);
yValue->setSegmentStyle(QLCDNumber::Flat);
dial = new QDial(JoystickWidget);
dial->setObjectName(QString::fromUtf8("dial"));
dial->setGeometry(QRect(210, 50, 101, 101));
button0Label = new QGroupBox(JoystickWidget);
button0Label->setObjectName(QString::fromUtf8("button0Label"));
button0Label->setGeometry(QRect(60, 20, 41, 16));
button0Label->setAutoFillBackground(false);
button0Label->setFlat(false);
retranslateUi(JoystickWidget);
QObject::connect(buttonBox, SIGNAL(accepted()), JoystickWidget, SLOT(accept()));
QObject::connect(buttonBox, SIGNAL(rejected()), JoystickWidget, SLOT(reject()));
QMetaObject::connectSlotsByName(JoystickWidget);
} // setupUi
void retranslateUi(QDialog *JoystickWidget)
{
JoystickWidget->setWindowTitle(QApplication::translate("JoystickWidget", "Dialog", 0, QApplication::UnicodeUTF8));
button0Label->setStyleSheet(QApplication::translate("JoystickWidget", "QGroupBox { border: 1px solid #EEEEEE; border-radius: 4px; padding: 0px; margin: 0px; background-color: #FF2222;}", 0, QApplication::UnicodeUTF8));
button0Label->setTitle(QString());
} // retranslateUi
};
namespace Ui {
class JoystickWidget: public Ui_JoystickWidget {};
} // namespace Ui
QT_END_NAMESPACE
#endif // JOYSTICKWIDGET_H
/********************************************************************************
** Form generated from reading UI file 'LineChart.ui'
**
** Created: Sun Jul 11 18:53:34 2010
** by: Qt User Interface Compiler version 4.6.2
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef LINECHART_H
#define LINECHART_H
#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QGroupBox>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QScrollArea>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
QT_BEGIN_NAMESPACE
class Ui_linechart
{
public:
QHBoxLayout *horizontalLayout_2;
QGroupBox *curveGroupBox;
QVBoxLayout *verticalLayout;
QScrollArea *curveListWidget;
QWidget *scrollAreaWidgetContents;
QGroupBox *diagramGroupBox;
void setupUi(QWidget *linechart)
{
if (linechart->objectName().isEmpty())
linechart->setObjectName(QString::fromUtf8("linechart"));
linechart->resize(662, 381);
QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
sizePolicy.setHorizontalStretch(3);
sizePolicy.setVerticalStretch(2);
sizePolicy.setHeightForWidth(linechart->sizePolicy().hasHeightForWidth());
linechart->setSizePolicy(sizePolicy);
linechart->setMinimumSize(QSize(300, 200));
horizontalLayout_2 = new QHBoxLayout(linechart);
horizontalLayout_2->setSpacing(3);
horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
horizontalLayout_2->setContentsMargins(2, 0, 2, 2);
curveGroupBox = new QGroupBox(linechart);
curveGroupBox->setObjectName(QString::fromUtf8("curveGroupBox"));
QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::MinimumExpanding);
sizePolicy1.setHorizontalStretch(1);
sizePolicy1.setVerticalStretch(0);
sizePolicy1.setHeightForWidth(curveGroupBox->sizePolicy().hasHeightForWidth());
curveGroupBox->setSizePolicy(sizePolicy1);
curveGroupBox->setMinimumSize(QSize(250, 300));
curveGroupBox->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);
verticalLayout = new QVBoxLayout(curveGroupBox);
verticalLayout->setSpacing(2);
verticalLayout->setContentsMargins(0, 0, 0, 0);
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
curveListWidget = new QScrollArea(curveGroupBox);
curveListWidget->setObjectName(QString::fromUtf8("curveListWidget"));
QSizePolicy sizePolicy2(QSizePolicy::Preferred, QSizePolicy::Expanding);
sizePolicy2.setHorizontalStretch(0);
sizePolicy2.setVerticalStretch(0);
sizePolicy2.setHeightForWidth(curveListWidget->sizePolicy().hasHeightForWidth());
curveListWidget->setSizePolicy(sizePolicy2);
curveListWidget->setMinimumSize(QSize(240, 250));
curveListWidget->setBaseSize(QSize(150, 200));
curveListWidget->setAutoFillBackground(false);
curveListWidget->setFrameShape(QFrame::NoFrame);
curveListWidget->setFrameShadow(QFrame::Sunken);
curveListWidget->setWidgetResizable(true);
curveListWidget->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);
scrollAreaWidgetContents = new QWidget();
scrollAreaWidgetContents->setObjectName(QString::fromUtf8("scrollAreaWidgetContents"));
scrollAreaWidgetContents->setGeometry(QRect(0, 0, 242, 361));
curveListWidget->setWidget(scrollAreaWidgetContents);
verticalLayout->addWidget(curveListWidget);
horizontalLayout_2->addWidget(curveGroupBox);
diagramGroupBox = new QGroupBox(linechart);
diagramGroupBox->setObjectName(QString::fromUtf8("diagramGroupBox"));
QSizePolicy sizePolicy3(QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding);
sizePolicy3.setHorizontalStretch(9);
sizePolicy3.setVerticalStretch(0);
sizePolicy3.setHeightForWidth(diagramGroupBox->sizePolicy().hasHeightForWidth());
diagramGroupBox->setSizePolicy(sizePolicy3);
diagramGroupBox->setMinimumSize(QSize(400, 300));
diagramGroupBox->setBaseSize(QSize(800, 300));
horizontalLayout_2->addWidget(diagramGroupBox);
retranslateUi(linechart);
QMetaObject::connectSlotsByName(linechart);
} // setupUi
void retranslateUi(QWidget *linechart)
{
linechart->setWindowTitle(QApplication::translate("linechart", "Form", 0, QApplication::UnicodeUTF8));
curveGroupBox->setTitle(QApplication::translate("linechart", "Curve Selection", 0, QApplication::UnicodeUTF8));
diagramGroupBox->setTitle(QApplication::translate("linechart", "Diagram", 0, QApplication::UnicodeUTF8));
} // retranslateUi
};
namespace Ui {
class linechart: public Ui_linechart {};
} // namespace Ui
QT_END_NAMESPACE
#endif // LINECHART_H
/********************************************************************************
** Form generated from reading UI file 'MAVLinkSettingsWidget.ui'
**
** Created: Sun Jul 11 18:53:34 2010
** by: Qt User Interface Compiler version 4.6.2
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef MAVLINKSETTINGSWIDGET_H
#define MAVLINKSETTINGSWIDGET_H
#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QHeaderView>
#include <QtGui/QSpacerItem>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
QT_BEGIN_NAMESPACE
class Ui_MAVLinkSettingsWidget
{
public:
QVBoxLayout *verticalLayout;
QCheckBox *heartbeatCheckBox;
QCheckBox *loggingCheckBox;
QSpacerItem *verticalSpacer;
void setupUi(QWidget *MAVLinkSettingsWidget)
{
if (MAVLinkSettingsWidget->objectName().isEmpty())
MAVLinkSettingsWidget->setObjectName(QString::fromUtf8("MAVLinkSettingsWidget"));
MAVLinkSettingsWidget->resize(267, 123);
verticalLayout = new QVBoxLayout(MAVLinkSettingsWidget);
verticalLayout->setContentsMargins(6, 6, 6, 6);
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
heartbeatCheckBox = new QCheckBox(MAVLinkSettingsWidget);
heartbeatCheckBox->setObjectName(QString::fromUtf8("heartbeatCheckBox"));
verticalLayout->addWidget(heartbeatCheckBox);
loggingCheckBox = new QCheckBox(MAVLinkSettingsWidget);
loggingCheckBox->setObjectName(QString::fromUtf8("loggingCheckBox"));
verticalLayout->addWidget(loggingCheckBox);
verticalSpacer = new QSpacerItem(20, 84, QSizePolicy::Minimum, QSizePolicy::Expanding);
verticalLayout->addItem(verticalSpacer);
retranslateUi(MAVLinkSettingsWidget);
QMetaObject::connectSlotsByName(MAVLinkSettingsWidget);
} // setupUi
void retranslateUi(QWidget *MAVLinkSettingsWidget)
{
MAVLinkSettingsWidget->setWindowTitle(QApplication::translate("MAVLinkSettingsWidget", "Form", 0, QApplication::UnicodeUTF8));
heartbeatCheckBox->setText(QApplication::translate("MAVLinkSettingsWidget", "Emit heartbeat", 0, QApplication::UnicodeUTF8));
loggingCheckBox->setText(QApplication::translate("MAVLinkSettingsWidget", "Log all MAVLink packets", 0, QApplication::UnicodeUTF8));
} // retranslateUi
};
namespace Ui {
class MAVLinkSettingsWidget: public Ui_MAVLinkSettingsWidget {};
} // namespace Ui
QT_END_NAMESPACE
#endif // MAVLINKSETTINGSWIDGET_H
/********************************************************************************
** Form generated from reading UI file 'MapWidget.ui'
**
** Created: Sun Jul 11 18:53:34 2010
** by: Qt User Interface Compiler version 4.6.2
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef MAPWIDGET_H
#define MAPWIDGET_H
#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QHeaderView>
#include <QtGui/QWidget>
QT_BEGIN_NAMESPACE
class Ui_MapWidget
{
public:
void setupUi(QWidget *MapWidget)
{
if (MapWidget->objectName().isEmpty())
MapWidget->setObjectName(QString::fromUtf8("MapWidget"));
MapWidget->resize(400, 300);
retranslateUi(MapWidget);
QMetaObject::connectSlotsByName(MapWidget);
} // setupUi
void retranslateUi(QWidget *MapWidget)
{
MapWidget->setWindowTitle(QApplication::translate("MapWidget", "Form", 0, QApplication::UnicodeUTF8));
} // retranslateUi
};
namespace Ui {
class MapWidget: public Ui_MapWidget {};
} // namespace Ui
QT_END_NAMESPACE
#endif // MAPWIDGET_H
/********************************************************************************
** Form generated from reading UI file 'ObjectDetectionView.ui'
**
** Created: Sun Jul 11 18:53:34 2010
** by: Qt User Interface Compiler version 4.6.2
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef OBJECTDETECTIONVIEW_H
#define OBJECTDETECTIONVIEW_H
#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QGridLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QListWidget>
#include <QtGui/QPushButton>
#include <QtGui/QWidget>
QT_BEGIN_NAMESPACE
class Ui_ObjectDetectionView
{
public:
QGridLayout *gridLayout;
QListWidget *listWidget;
QListWidget *letterListWidget;
QLabel *imageLabel;
QLabel *letterLabel;
QLabel *nameLabel;
QPushButton *clearButton;
void setupUi(QWidget *ObjectDetectionView)
{
if (ObjectDetectionView->objectName().isEmpty())
ObjectDetectionView->setObjectName(QString::fromUtf8("ObjectDetectionView"));
ObjectDetectionView->resize(246, 403);
gridLayout = new QGridLayout(ObjectDetectionView);
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
listWidget = new QListWidget(ObjectDetectionView);
listWidget->setObjectName(QString::fromUtf8("listWidget"));
gridLayout->addWidget(listWidget, 0, 0, 1, 3);
letterListWidget = new QListWidget(ObjectDetectionView);
letterListWidget->setObjectName(QString::fromUtf8("letterListWidget"));
gridLayout->addWidget(letterListWidget, 1, 0, 1, 3);
imageLabel = new QLabel(ObjectDetectionView);
imageLabel->setObjectName(QString::fromUtf8("imageLabel"));
QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
sizePolicy.setHorizontalStretch(10);
sizePolicy.setVerticalStretch(10);
sizePolicy.setHeightForWidth(imageLabel->sizePolicy().hasHeightForWidth());
imageLabel->setSizePolicy(sizePolicy);
imageLabel->setMinimumSize(QSize(110, 110));
imageLabel->setSizeIncrement(QSize(2, 2));
imageLabel->setBaseSize(QSize(10, 10));
gridLayout->addWidget(imageLabel, 2, 0, 1, 1);
letterLabel = new QLabel(ObjectDetectionView);
letterLabel->setObjectName(QString::fromUtf8("letterLabel"));
sizePolicy.setHeightForWidth(letterLabel->sizePolicy().hasHeightForWidth());
letterLabel->setSizePolicy(sizePolicy);
letterLabel->setMinimumSize(QSize(110, 110));
letterLabel->setSizeIncrement(QSize(2, 2));
letterLabel->setBaseSize(QSize(10, 10));
letterLabel->setStyleSheet(QString::fromUtf8("font: 72pt;\n"
"color: white;"));
letterLabel->setAlignment(Qt::AlignCenter);
gridLayout->addWidget(letterLabel, 2, 1, 1, 2);
nameLabel = new QLabel(ObjectDetectionView);
nameLabel->setObjectName(QString::fromUtf8("nameLabel"));
gridLayout->addWidget(nameLabel, 3, 0, 1, 2);
clearButton = new QPushButton(ObjectDetectionView);
clearButton->setObjectName(QString::fromUtf8("clearButton"));
clearButton->setMaximumSize(QSize(80, 16777215));
gridLayout->addWidget(clearButton, 3, 2, 1, 1);
retranslateUi(ObjectDetectionView);
QMetaObject::connectSlotsByName(ObjectDetectionView);
} // setupUi
void retranslateUi(QWidget *ObjectDetectionView)
{
ObjectDetectionView->setWindowTitle(QApplication::translate("ObjectDetectionView", "Form", 0, QApplication::UnicodeUTF8));
imageLabel->setText(QString());
letterLabel->setText(QString());
nameLabel->setText(QApplication::translate("ObjectDetectionView", "No objects recognized", 0, QApplication::UnicodeUTF8));
clearButton->setText(QApplication::translate("ObjectDetectionView", "Clear", 0, QApplication::UnicodeUTF8));
} // retranslateUi
};
namespace Ui {
class ObjectDetectionView: public Ui_ObjectDetectionView {};
} // namespace Ui
QT_END_NAMESPACE
#endif // OBJECTDETECTIONVIEW_H
/********************************************************************************
** Form generated from reading UI file 'ParameterInterface.ui'
**
** Created: Sun Jul 11 18:53:34 2010
** by: Qt User Interface Compiler version 4.6.2
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef PARAMETERINTERFACE_H
#define PARAMETERINTERFACE_H
#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QComboBox>
#include <QtGui/QGridLayout>
#include <QtGui/QGroupBox>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QStackedWidget>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
QT_BEGIN_NAMESPACE
class Ui_parameterWidget
{
public:
QGridLayout *gridLayout;
QLabel *label;
QComboBox *vehicleComboBox;
QGroupBox *groupBox_2;
QHBoxLayout *horizontalLayout;
QStackedWidget *stackedWidget;
QWidget *page;
QVBoxLayout *verticalLayout;
QWidget *page_2;
QStackedWidget *sensorSettings;
QWidget *page_3;
QVBoxLayout *verticalLayout_2;
QWidget *page_4;
void setupUi(QWidget *parameterWidget)
{
if (parameterWidget->objectName().isEmpty())
parameterWidget->setObjectName(QString::fromUtf8("parameterWidget"));
parameterWidget->resize(350, 545);
gridLayout = new QGridLayout(parameterWidget);
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
label = new QLabel(parameterWidget);
label->setObjectName(QString::fromUtf8("label"));
gridLayout->addWidget(label, 0, 0, 1, 1);
vehicleComboBox = new QComboBox(parameterWidget);
vehicleComboBox->setObjectName(QString::fromUtf8("vehicleComboBox"));
gridLayout->addWidget(vehicleComboBox, 0, 1, 1, 1);
groupBox_2 = new QGroupBox(parameterWidget);
groupBox_2->setObjectName(QString::fromUtf8("groupBox_2"));
horizontalLayout = new QHBoxLayout(groupBox_2);
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
stackedWidget = new QStackedWidget(groupBox_2);
stackedWidget->setObjectName(QString::fromUtf8("stackedWidget"));
page = new QWidget();
page->setObjectName(QString::fromUtf8("page"));
verticalLayout = new QVBoxLayout(page);
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
stackedWidget->addWidget(page);
page_2 = new QWidget();
page_2->setObjectName(QString::fromUtf8("page_2"));
stackedWidget->addWidget(page_2);
horizontalLayout->addWidget(stackedWidget);
gridLayout->addWidget(groupBox_2, 1, 0, 1, 2);
sensorSettings = new QStackedWidget(parameterWidget);
sensorSettings->setObjectName(QString::fromUtf8("sensorSettings"));
page_3 = new QWidget();
page_3->setObjectName(QString::fromUtf8("page_3"));
verticalLayout_2 = new QVBoxLayout(page_3);
verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
sensorSettings->addWidget(page_3);
page_4 = new QWidget();
page_4->setObjectName(QString::fromUtf8("page_4"));
sensorSettings->addWidget(page_4);
gridLayout->addWidget(sensorSettings, 2, 0, 1, 2);
retranslateUi(parameterWidget);
stackedWidget->setCurrentIndex(0);
sensorSettings->setCurrentIndex(0);
QMetaObject::connectSlotsByName(parameterWidget);
} // setupUi
void retranslateUi(QWidget *parameterWidget)
{
parameterWidget->setWindowTitle(QApplication::translate("parameterWidget", "Form", 0, QApplication::UnicodeUTF8));
label->setText(QApplication::translate("parameterWidget", "Vehicle", 0, QApplication::UnicodeUTF8));
groupBox_2->setTitle(QApplication::translate("parameterWidget", "Onboard Parameters", 0, QApplication::UnicodeUTF8));
} // retranslateUi
};
namespace Ui {
class parameterWidget: public Ui_parameterWidget {};
} // namespace Ui
QT_END_NAMESPACE
#endif // PARAMETERINTERFACE_H
/********************************************************************************
** Form generated from reading UI file 'QGCSensorSettingsWidget.ui'
**
** Created: Sun Jul 11 18:53:34 2010
** by: Qt User Interface Compiler version 4.6.2
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef QGCSENSORSETTINGSWIDGET_H
#define QGCSENSORSETTINGSWIDGET_H
#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QGridLayout>
#include <QtGui/QGroupBox>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QPushButton>
#include <QtGui/QWidget>
QT_BEGIN_NAMESPACE
class Ui_QGCSensorSettingsWidget
{
public:
QGridLayout *gridLayout_4;
QGroupBox *groupBox;
QGridLayout *gridLayout_2;
QCheckBox *sendRawCheckBox;
QCheckBox *sendExtendedCheckBox;
QCheckBox *sendRCCheckBox;
QCheckBox *sendControllerCheckBox;
QCheckBox *sendPositionCheckBox;
QCheckBox *sendExtra1CheckBox;
QCheckBox *sendExtra2CheckBox;
QCheckBox *sendExtra3CheckBox;
QGroupBox *groupBox_3;
QGridLayout *gridLayout;
QPushButton *gyroCalButton;
QLabel *gyroCalDate;
QPushButton *magCalButton;
QLabel *magCalLabel;
void setupUi(QWidget *QGCSensorSettingsWidget)
{
if (QGCSensorSettingsWidget->objectName().isEmpty())
QGCSensorSettingsWidget->setObjectName(QString::fromUtf8("QGCSensorSettingsWidget"));
QGCSensorSettingsWidget->resize(350, 545);
gridLayout_4 = new QGridLayout(QGCSensorSettingsWidget);
gridLayout_4->setContentsMargins(0, 0, 0, 0);
gridLayout_4->setObjectName(QString::fromUtf8("gridLayout_4"));
groupBox = new QGroupBox(QGCSensorSettingsWidget);
groupBox->setObjectName(QString::fromUtf8("groupBox"));
gridLayout_2 = new QGridLayout(groupBox);
gridLayout_2->setContentsMargins(6, 6, 6, 6);
gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
sendRawCheckBox = new QCheckBox(groupBox);
sendRawCheckBox->setObjectName(QString::fromUtf8("sendRawCheckBox"));
gridLayout_2->addWidget(sendRawCheckBox, 0, 0, 1, 1);
sendExtendedCheckBox = new QCheckBox(groupBox);
sendExtendedCheckBox->setObjectName(QString::fromUtf8("sendExtendedCheckBox"));
gridLayout_2->addWidget(sendExtendedCheckBox, 1, 0, 1, 1);
sendRCCheckBox = new QCheckBox(groupBox);
sendRCCheckBox->setObjectName(QString::fromUtf8("sendRCCheckBox"));
gridLayout_2->addWidget(sendRCCheckBox, 2, 0, 1, 1);
sendControllerCheckBox = new QCheckBox(groupBox);
sendControllerCheckBox->setObjectName(QString::fromUtf8("sendControllerCheckBox"));
gridLayout_2->addWidget(sendControllerCheckBox, 3, 0, 1, 1);
sendPositionCheckBox = new QCheckBox(groupBox);
sendPositionCheckBox->setObjectName(QString::fromUtf8("sendPositionCheckBox"));
gridLayout_2->addWidget(sendPositionCheckBox, 4, 0, 1, 1);
sendExtra1CheckBox = new QCheckBox(groupBox);
sendExtra1CheckBox->setObjectName(QString::fromUtf8("sendExtra1CheckBox"));
gridLayout_2->addWidget(sendExtra1CheckBox, 5, 0, 1, 1);
sendExtra2CheckBox = new QCheckBox(groupBox);
sendExtra2CheckBox->setObjectName(QString::fromUtf8("sendExtra2CheckBox"));
gridLayout_2->addWidget(sendExtra2CheckBox, 6, 0, 1, 1);
sendExtra3CheckBox = new QCheckBox(groupBox);
sendExtra3CheckBox->setObjectName(QString::fromUtf8("sendExtra3CheckBox"));
gridLayout_2->addWidget(sendExtra3CheckBox, 7, 0, 1, 1);
gridLayout_4->addWidget(groupBox, 0, 0, 1, 1);
groupBox_3 = new QGroupBox(QGCSensorSettingsWidget);
groupBox_3->setObjectName(QString::fromUtf8("groupBox_3"));
gridLayout = new QGridLayout(groupBox_3);
gridLayout->setContentsMargins(6, 6, 6, 6);
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
gyroCalButton = new QPushButton(groupBox_3);
gyroCalButton->setObjectName(QString::fromUtf8("gyroCalButton"));
gridLayout->addWidget(gyroCalButton, 0, 0, 1, 1);
gyroCalDate = new QLabel(groupBox_3);
gyroCalDate->setObjectName(QString::fromUtf8("gyroCalDate"));
gridLayout->addWidget(gyroCalDate, 0, 1, 1, 1);
magCalButton = new QPushButton(groupBox_3);
magCalButton->setObjectName(QString::fromUtf8("magCalButton"));
gridLayout->addWidget(magCalButton, 1, 0, 1, 1);
magCalLabel = new QLabel(groupBox_3);
magCalLabel->setObjectName(QString::fromUtf8("magCalLabel"));
gridLayout->addWidget(magCalLabel, 1, 1, 1, 1);
gridLayout_4->addWidget(groupBox_3, 1, 0, 1, 1);
retranslateUi(QGCSensorSettingsWidget);
QMetaObject::connectSlotsByName(QGCSensorSettingsWidget);
} // setupUi
void retranslateUi(QWidget *QGCSensorSettingsWidget)
{
QGCSensorSettingsWidget->setWindowTitle(QApplication::translate("QGCSensorSettingsWidget", "Form", 0, QApplication::UnicodeUTF8));
groupBox->setTitle(QApplication::translate("QGCSensorSettingsWidget", "Activate Extended Output", 0, QApplication::UnicodeUTF8));
sendRawCheckBox->setText(QApplication::translate("QGCSensorSettingsWidget", "Send RAW Sensor data", 0, QApplication::UnicodeUTF8));
sendExtendedCheckBox->setText(QApplication::translate("QGCSensorSettingsWidget", "Send extended status", 0, QApplication::UnicodeUTF8));
sendRCCheckBox->setText(QApplication::translate("QGCSensorSettingsWidget", "Send RC-values", 0, QApplication::UnicodeUTF8));
sendControllerCheckBox->setText(QApplication::translate("QGCSensorSettingsWidget", "Send raw controller outputs", 0, QApplication::UnicodeUTF8));
sendPositionCheckBox->setText(QApplication::translate("QGCSensorSettingsWidget", "Send position setpoint and estimate", 0, QApplication::UnicodeUTF8));
sendExtra1CheckBox->setText(QApplication::translate("QGCSensorSettingsWidget", "Send Extra1", 0, QApplication::UnicodeUTF8));
sendExtra2CheckBox->setText(QApplication::translate("QGCSensorSettingsWidget", "Send Extra2", 0, QApplication::UnicodeUTF8));
sendExtra3CheckBox->setText(QApplication::translate("QGCSensorSettingsWidget", "Send Extra3", 0, QApplication::UnicodeUTF8));
groupBox_3->setTitle(QApplication::translate("QGCSensorSettingsWidget", "Calibration Wizards", 0, QApplication::UnicodeUTF8));
gyroCalButton->setText(QApplication::translate("QGCSensorSettingsWidget", "Start dynamic calibration", 0, QApplication::UnicodeUTF8));
gyroCalDate->setText(QApplication::translate("QGCSensorSettingsWidget", "Date unknown", 0, QApplication::UnicodeUTF8));
magCalButton->setText(QApplication::translate("QGCSensorSettingsWidget", "Start static calibration", 0, QApplication::UnicodeUTF8));
magCalLabel->setText(QApplication::translate("QGCSensorSettingsWidget", "Date unknown", 0, QApplication::UnicodeUTF8));
} // retranslateUi
};
namespace Ui {
class QGCSensorSettingsWidget: public Ui_QGCSensorSettingsWidget {};
} // namespace Ui
QT_END_NAMESPACE
#endif // QGCSENSORSETTINGSWIDGET_H
/****************************************************************************
** Form interface generated from reading ui file 'src/ui/UASControl.ui'
/********************************************************************************
** Form generated from reading UI file 'UASControl.ui'
**
** Created: Tue Jun 1 20:21:32 2010
** Created: Sun Jul 11 18:53:34 2010
** by: Qt User Interface Compiler version 4.6.2
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef UASCONTROL_H
#define UASCONTROL_H
#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QComboBox>
#include <QtGui/QGridLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QPushButton>
#include <QtGui/QSpacerItem>
#include <QtGui/QWidget>
QT_BEGIN_NAMESPACE
class Ui_uasControl
{
public:
QGridLayout *gridLayout;
QLabel *controlStatusLabel;
QPushButton *controlButton;
QSpacerItem *verticalSpacer_2;
QSpacerItem *horizontalSpacer;
QPushButton *liftoffButton;
QPushButton *landButton;
QPushButton *shutdownButton;
QSpacerItem *horizontalSpacer_2;
QComboBox *modeComboBox;
QPushButton *setModeButton;
QLabel *lastActionLabel;
QSpacerItem *verticalSpacer;
void setupUi(QWidget *uasControl)
{
if (uasControl->objectName().isEmpty())
uasControl->setObjectName(QString::fromUtf8("uasControl"));
uasControl->resize(280, 164);
uasControl->setMinimumSize(QSize(280, 130));
gridLayout = new QGridLayout(uasControl);
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
gridLayout->setContentsMargins(6, 12, 6, 6);
controlStatusLabel = new QLabel(uasControl);
controlStatusLabel->setObjectName(QString::fromUtf8("controlStatusLabel"));
controlStatusLabel->setAlignment(Qt::AlignCenter);
gridLayout->addWidget(controlStatusLabel, 0, 1, 1, 4);
controlButton = new QPushButton(uasControl);
controlButton->setObjectName(QString::fromUtf8("controlButton"));
gridLayout->addWidget(controlButton, 1, 1, 1, 4);
verticalSpacer_2 = new QSpacerItem(20, 0, QSizePolicy::Minimum, QSizePolicy::MinimumExpanding);
gridLayout->addItem(verticalSpacer_2, 2, 1, 1, 4);
horizontalSpacer = new QSpacerItem(31, 159, QSizePolicy::Expanding, QSizePolicy::Minimum);
gridLayout->addItem(horizontalSpacer, 0, 0, 6, 1);
liftoffButton = new QPushButton(uasControl);
liftoffButton->setObjectName(QString::fromUtf8("liftoffButton"));
QIcon icon;
icon.addFile(QString::fromUtf8(":/images/control/launch.svg"), QSize(), QIcon::Normal, QIcon::Off);
liftoffButton->setIcon(icon);
gridLayout->addWidget(liftoffButton, 3, 1, 1, 1);
landButton = new QPushButton(uasControl);
landButton->setObjectName(QString::fromUtf8("landButton"));
QIcon icon1;
icon1.addFile(QString::fromUtf8(":/images/control/land.svg"), QSize(), QIcon::Normal, QIcon::Off);
landButton->setIcon(icon1);
gridLayout->addWidget(landButton, 3, 2, 1, 2);
shutdownButton = new QPushButton(uasControl);
shutdownButton->setObjectName(QString::fromUtf8("shutdownButton"));
QIcon icon2;
icon2.addFile(QString::fromUtf8(":/images/actions/system-log-out.svg"), QSize(), QIcon::Normal, QIcon::Off);
shutdownButton->setIcon(icon2);
gridLayout->addWidget(shutdownButton, 3, 4, 1, 1);
horizontalSpacer_2 = new QSpacerItem(30, 159, QSizePolicy::Expanding, QSizePolicy::Minimum);
gridLayout->addItem(horizontalSpacer_2, 0, 5, 6, 1);
modeComboBox = new QComboBox(uasControl);
modeComboBox->setObjectName(QString::fromUtf8("modeComboBox"));
gridLayout->addWidget(modeComboBox, 4, 1, 1, 2);
setModeButton = new QPushButton(uasControl);
setModeButton->setObjectName(QString::fromUtf8("setModeButton"));
QIcon icon3;
icon3.addFile(QString::fromUtf8(":/images/devices/network-wireless.svg"), QSize(), QIcon::Normal, QIcon::Off);
setModeButton->setIcon(icon3);
gridLayout->addWidget(setModeButton, 4, 3, 1, 2);
lastActionLabel = new QLabel(uasControl);
lastActionLabel->setObjectName(QString::fromUtf8("lastActionLabel"));
lastActionLabel->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);
gridLayout->addWidget(lastActionLabel, 5, 1, 1, 4);
verticalSpacer = new QSpacerItem(0, 1, QSizePolicy::Minimum, QSizePolicy::Expanding);
gridLayout->addItem(verticalSpacer, 6, 0, 1, 6);
gridLayout->setRowMinimumHeight(0, 5);
gridLayout->setRowMinimumHeight(1, 10);
gridLayout->setRowMinimumHeight(2, 10);
gridLayout->setRowMinimumHeight(4, 10);
gridLayout->setRowMinimumHeight(5, 5);
retranslateUi(uasControl);
QMetaObject::connectSlotsByName(uasControl);
} // setupUi
void retranslateUi(QWidget *uasControl)
{
uasControl->setWindowTitle(QApplication::translate("uasControl", "Form", 0, QApplication::UnicodeUTF8));
controlStatusLabel->setText(QApplication::translate("uasControl", "UNCONNECTED", 0, QApplication::UnicodeUTF8));
controlButton->setText(QApplication::translate("uasControl", "Activate Engine", 0, QApplication::UnicodeUTF8));
liftoffButton->setText(QApplication::translate("uasControl", "Liftoff", 0, QApplication::UnicodeUTF8));
landButton->setText(QApplication::translate("uasControl", "Land", 0, QApplication::UnicodeUTF8));
shutdownButton->setText(QApplication::translate("uasControl", "Halt", 0, QApplication::UnicodeUTF8));
setModeButton->setText(QApplication::translate("uasControl", "Set Mode", 0, QApplication::UnicodeUTF8));
lastActionLabel->setText(QApplication::translate("uasControl", "No actions executed so far", 0, QApplication::UnicodeUTF8));
} // retranslateUi
};
namespace Ui {
class uasControl: public Ui_uasControl {};
} // namespace Ui
QT_END_NAMESPACE
#endif // UASCONTROL_H
/****************************************************************************
** Form interface generated from reading ui file 'src/ui/UASInfo.ui'
/********************************************************************************
** Form generated from reading UI file 'UASInfo.ui'
**
** Created: Tue Jun 1 20:21:32 2010
** Created: Sun Jul 11 18:53:34 2010
** by: Qt User Interface Compiler version 4.6.2
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef UASINFO_H
#define UASINFO_H
#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QFrame>
#include <QtGui/QGridLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QProgressBar>
#include <QtGui/QSpacerItem>
#include <QtGui/QWidget>
QT_BEGIN_NAMESPACE
class Ui_uasInfo
{
public:
QGridLayout *gridLayout;
QLabel *label;
QSpacerItem *horizontalSpacer_2;
QLabel *voltageLabel;
QLabel *label_7;
QProgressBar *batteryBar;
QLabel *label_2;
QSpacerItem *horizontalSpacer_3;
QLabel *receiveLossLabel;
QLabel *label_8;
QProgressBar *receiveLossBar;
QLabel *label_6;
QSpacerItem *horizontalSpacer_9;
QLabel *sendLossLabel;
QLabel *label_11;
QProgressBar *sendLossBar;
QLabel *label_3;
QSpacerItem *horizontalSpacer_4;
QLabel *loadLabel;
QLabel *label_9;
QProgressBar *loadBar;
QFrame *line;
QSpacerItem *verticalSpacer;
QLabel *errorLabel;
QLabel *label_4;
QLabel *label_5;
QLabel *label_10;
QProgressBar *progressBar;
QSpacerItem *horizontalSpacer;
void setupUi(QWidget *uasInfo)
{
if (uasInfo->objectName().isEmpty())
uasInfo->setObjectName(QString::fromUtf8("uasInfo"));
uasInfo->resize(455, 220);
uasInfo->setStyleSheet(QString::fromUtf8(""));
gridLayout = new QGridLayout(uasInfo);
gridLayout->setContentsMargins(6, 6, 6, 6);
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
label = new QLabel(uasInfo);
label->setObjectName(QString::fromUtf8("label"));
gridLayout->addWidget(label, 0, 0, 1, 1);
horizontalSpacer_2 = new QSpacerItem(13, 15, QSizePolicy::Maximum, QSizePolicy::Minimum);
gridLayout->addItem(horizontalSpacer_2, 0, 1, 1, 1);
voltageLabel = new QLabel(uasInfo);
voltageLabel->setObjectName(QString::fromUtf8("voltageLabel"));
voltageLabel->setTextFormat(Qt::AutoText);
voltageLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
gridLayout->addWidget(voltageLabel, 0, 2, 1, 1);
label_7 = new QLabel(uasInfo);
label_7->setObjectName(QString::fromUtf8("label_7"));
label_7->setTextFormat(Qt::AutoText);
label_7->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
gridLayout->addWidget(label_7, 0, 3, 1, 1);
batteryBar = new QProgressBar(uasInfo);
batteryBar->setObjectName(QString::fromUtf8("batteryBar"));
QSizePolicy sizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
sizePolicy.setHorizontalStretch(10);
sizePolicy.setVerticalStretch(18);
sizePolicy.setHeightForWidth(batteryBar->sizePolicy().hasHeightForWidth());
batteryBar->setSizePolicy(sizePolicy);
batteryBar->setMinimumSize(QSize(100, 0));
batteryBar->setMaximumSize(QSize(16777215, 20));
batteryBar->setBaseSize(QSize(0, 18));
batteryBar->setMinimum(0);
batteryBar->setMaximum(100);
batteryBar->setValue(80);
batteryBar->setTextVisible(true);
gridLayout->addWidget(batteryBar, 0, 4, 1, 2);
label_2 = new QLabel(uasInfo);
label_2->setObjectName(QString::fromUtf8("label_2"));
gridLayout->addWidget(label_2, 1, 0, 1, 1);
horizontalSpacer_3 = new QSpacerItem(13, 15, QSizePolicy::Maximum, QSizePolicy::Minimum);
gridLayout->addItem(horizontalSpacer_3, 1, 1, 1, 1);
receiveLossLabel = new QLabel(uasInfo);
receiveLossLabel->setObjectName(QString::fromUtf8("receiveLossLabel"));
receiveLossLabel->setTextFormat(Qt::AutoText);
receiveLossLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
gridLayout->addWidget(receiveLossLabel, 1, 2, 1, 1);
label_8 = new QLabel(uasInfo);
label_8->setObjectName(QString::fromUtf8("label_8"));
label_8->setTextFormat(Qt::AutoText);
label_8->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
gridLayout->addWidget(label_8, 1, 3, 1, 1);
receiveLossBar = new QProgressBar(uasInfo);
receiveLossBar->setObjectName(QString::fromUtf8("receiveLossBar"));
sizePolicy.setHeightForWidth(receiveLossBar->sizePolicy().hasHeightForWidth());
receiveLossBar->setSizePolicy(sizePolicy);
receiveLossBar->setMinimumSize(QSize(100, 0));
receiveLossBar->setMaximumSize(QSize(16777215, 20));
receiveLossBar->setBaseSize(QSize(0, 18));
receiveLossBar->setValue(0);
receiveLossBar->setTextVisible(true);
gridLayout->addWidget(receiveLossBar, 1, 4, 1, 2);
label_6 = new QLabel(uasInfo);
label_6->setObjectName(QString::fromUtf8("label_6"));
gridLayout->addWidget(label_6, 2, 0, 1, 1);
horizontalSpacer_9 = new QSpacerItem(13, 15, QSizePolicy::Maximum, QSizePolicy::Minimum);
gridLayout->addItem(horizontalSpacer_9, 2, 1, 1, 1);
sendLossLabel = new QLabel(uasInfo);
sendLossLabel->setObjectName(QString::fromUtf8("sendLossLabel"));
sendLossLabel->setTextFormat(Qt::AutoText);
sendLossLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
gridLayout->addWidget(sendLossLabel, 2, 2, 1, 1);
label_11 = new QLabel(uasInfo);
label_11->setObjectName(QString::fromUtf8("label_11"));
label_11->setTextFormat(Qt::AutoText);
label_11->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
gridLayout->addWidget(label_11, 2, 3, 1, 1);
sendLossBar = new QProgressBar(uasInfo);
sendLossBar->setObjectName(QString::fromUtf8("sendLossBar"));
sizePolicy.setHeightForWidth(sendLossBar->sizePolicy().hasHeightForWidth());
sendLossBar->setSizePolicy(sizePolicy);
sendLossBar->setMinimumSize(QSize(100, 0));
sendLossBar->setMaximumSize(QSize(16777215, 20));
sendLossBar->setBaseSize(QSize(0, 18));
sendLossBar->setValue(0);
sendLossBar->setTextVisible(true);
gridLayout->addWidget(sendLossBar, 2, 4, 1, 2);
label_3 = new QLabel(uasInfo);
label_3->setObjectName(QString::fromUtf8("label_3"));
gridLayout->addWidget(label_3, 3, 0, 1, 1);
horizontalSpacer_4 = new QSpacerItem(13, 15, QSizePolicy::Maximum, QSizePolicy::Minimum);
gridLayout->addItem(horizontalSpacer_4, 3, 1, 1, 1);
loadLabel = new QLabel(uasInfo);
loadLabel->setObjectName(QString::fromUtf8("loadLabel"));
loadLabel->setTextFormat(Qt::AutoText);
loadLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
gridLayout->addWidget(loadLabel, 3, 2, 1, 1);
label_9 = new QLabel(uasInfo);
label_9->setObjectName(QString::fromUtf8("label_9"));
label_9->setTextFormat(Qt::AutoText);
label_9->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
gridLayout->addWidget(label_9, 3, 3, 1, 1);
loadBar = new QProgressBar(uasInfo);
loadBar->setObjectName(QString::fromUtf8("loadBar"));
sizePolicy.setHeightForWidth(loadBar->sizePolicy().hasHeightForWidth());
loadBar->setSizePolicy(sizePolicy);
loadBar->setMinimumSize(QSize(100, 0));
loadBar->setMaximumSize(QSize(16777215, 20));
loadBar->setBaseSize(QSize(0, 18));
loadBar->setValue(24);
loadBar->setTextVisible(true);
gridLayout->addWidget(loadBar, 3, 4, 1, 2);
line = new QFrame(uasInfo);
line->setObjectName(QString::fromUtf8("line"));
line->setFrameShape(QFrame::HLine);
line->setFrameShadow(QFrame::Sunken);
gridLayout->addWidget(line, 5, 0, 1, 6);
verticalSpacer = new QSpacerItem(0, 0, QSizePolicy::Minimum, QSizePolicy::Expanding);
gridLayout->addItem(verticalSpacer, 7, 0, 1, 7);
errorLabel = new QLabel(uasInfo);
errorLabel->setObjectName(QString::fromUtf8("errorLabel"));
gridLayout->addWidget(errorLabel, 6, 0, 1, 6);
label_4 = new QLabel(uasInfo);
label_4->setObjectName(QString::fromUtf8("label_4"));
gridLayout->addWidget(label_4, 4, 0, 1, 1);
label_5 = new QLabel(uasInfo);
label_5->setObjectName(QString::fromUtf8("label_5"));
label_5->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
gridLayout->addWidget(label_5, 4, 2, 1, 1);
label_10 = new QLabel(uasInfo);
label_10->setObjectName(QString::fromUtf8("label_10"));
gridLayout->addWidget(label_10, 4, 3, 1, 1);
progressBar = new QProgressBar(uasInfo);
progressBar->setObjectName(QString::fromUtf8("progressBar"));
progressBar->setMaximumSize(QSize(16777215, 20));
progressBar->setBaseSize(QSize(0, 18));
progressBar->setValue(24);
gridLayout->addWidget(progressBar, 4, 4, 1, 2);
horizontalSpacer = new QSpacerItem(13, 15, QSizePolicy::Expanding, QSizePolicy::Minimum);
gridLayout->addItem(horizontalSpacer, 4, 1, 1, 1);
retranslateUi(uasInfo);
QMetaObject::connectSlotsByName(uasInfo);
} // setupUi
void retranslateUi(QWidget *uasInfo)
{
uasInfo->setWindowTitle(QApplication::translate("uasInfo", "Form", 0, QApplication::UnicodeUTF8));
label->setText(QApplication::translate("uasInfo", "Battery", 0, QApplication::UnicodeUTF8));
voltageLabel->setText(QApplication::translate("uasInfo", "12", 0, QApplication::UnicodeUTF8));
label_7->setText(QApplication::translate("uasInfo", "V", 0, QApplication::UnicodeUTF8));
batteryBar->setFormat(QApplication::translate("uasInfo", "%p%", 0, QApplication::UnicodeUTF8));
label_2->setText(QApplication::translate("uasInfo", "Recv. Loss", 0, QApplication::UnicodeUTF8));
receiveLossLabel->setText(QApplication::translate("uasInfo", "0", 0, QApplication::UnicodeUTF8));
label_8->setText(QApplication::translate("uasInfo", "%", 0, QApplication::UnicodeUTF8));
receiveLossBar->setFormat(QApplication::translate("uasInfo", "%p%", 0, QApplication::UnicodeUTF8));
label_6->setText(QApplication::translate("uasInfo", "Send Loss", 0, QApplication::UnicodeUTF8));
sendLossLabel->setText(QApplication::translate("uasInfo", "0", 0, QApplication::UnicodeUTF8));
label_11->setText(QApplication::translate("uasInfo", "%", 0, QApplication::UnicodeUTF8));
sendLossBar->setFormat(QApplication::translate("uasInfo", "%p%", 0, QApplication::UnicodeUTF8));
label_3->setText(QApplication::translate("uasInfo", "MCU Load", 0, QApplication::UnicodeUTF8));
loadLabel->setText(QApplication::translate("uasInfo", "0", 0, QApplication::UnicodeUTF8));
label_9->setText(QApplication::translate("uasInfo", "%", 0, QApplication::UnicodeUTF8));
loadBar->setFormat(QApplication::translate("uasInfo", "%p%", 0, QApplication::UnicodeUTF8));
errorLabel->setText(QApplication::translate("uasInfo", "No error status received yet", 0, QApplication::UnicodeUTF8));
label_4->setText(QApplication::translate("uasInfo", "CPU Load", 0, QApplication::UnicodeUTF8));
label_5->setText(QApplication::translate("uasInfo", "0", 0, QApplication::UnicodeUTF8));
label_10->setText(QApplication::translate("uasInfo", "%", 0, QApplication::UnicodeUTF8));
} // retranslateUi
};
namespace Ui {
class uasInfo: public Ui_uasInfo {};
} // namespace Ui
QT_END_NAMESPACE
#endif // UASINFO_H
/****************************************************************************
** Form interface generated from reading ui file 'src/ui/UASList.ui'
/********************************************************************************
** Form generated from reading UI file 'UASList.ui'
**
** Created: Tue Jun 1 20:21:32 2010
** Created: Sun Jul 11 18:53:34 2010
** by: Qt User Interface Compiler version 4.6.2
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef UASLIST_H
#define UASLIST_H
#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QHeaderView>
#include <QtGui/QWidget>
QT_BEGIN_NAMESPACE
class Ui_UASList
{
public:
void setupUi(QWidget *UASList)
{
if (UASList->objectName().isEmpty())
UASList->setObjectName(QString::fromUtf8("UASList"));
UASList->resize(400, 300);
UASList->setMinimumSize(QSize(500, 0));
retranslateUi(UASList);
QMetaObject::connectSlotsByName(UASList);
} // setupUi
void retranslateUi(QWidget *UASList)
{
UASList->setWindowTitle(QApplication::translate("UASList", "Form", 0, QApplication::UnicodeUTF8));
} // retranslateUi
};
namespace Ui {
class UASList: public Ui_UASList {};
} // namespace Ui
QT_END_NAMESPACE
#endif // UASLIST_H
/********************************************************************************
** Form generated from reading UI file 'UASView.ui'
**
** Created: Sun Jul 11 18:53:34 2010
** by: Qt User Interface Compiler version 4.6.2
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef UASVIEW_H
#define UASVIEW_H
#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QGridLayout>
#include <QtGui/QGroupBox>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QProgressBar>
#include <QtGui/QPushButton>
#include <QtGui/QSpacerItem>
#include <QtGui/QToolButton>
#include <QtGui/QWidget>
QT_BEGIN_NAMESPACE
class Ui_UASView
{
public:
QHBoxLayout *horizontalLayout_2;
QGroupBox *uasViewFrame;
QGridLayout *gridLayout;
QToolButton *typeButton;
QSpacerItem *horizontalSpacer_2;
QLabel *nameLabel;
QLabel *modeLabel;
QLabel *timeRemainingLabel;
QLabel *timeElapsedLabel;
QProgressBar *thrustBar;
QLabel *groundDistanceLabel;
QLabel *speedLabel;
QGroupBox *heartbeatIcon;
QProgressBar *batteryBar;
QLabel *stateLabel;
QLabel *waypointLabel;
QLabel *positionLabel;
QLabel *gpsLabel;
QLabel *statusTextLabel;
QHBoxLayout *horizontalLayout;
QPushButton *liftoffButton;
QPushButton *haltButton;
QPushButton *continueButton;
QPushButton *landButton;
QPushButton *shutdownButton;
QPushButton *abortButton;
QPushButton *killButton;
void setupUi(QWidget *UASView)
{
if (UASView->objectName().isEmpty())
UASView->setObjectName(QString::fromUtf8("UASView"));
UASView->resize(362, 120);
QSizePolicy sizePolicy(QSizePolicy::Maximum, QSizePolicy::Fixed);
sizePolicy.setHorizontalStretch(0);
sizePolicy.setVerticalStretch(0);
sizePolicy.setHeightForWidth(UASView->sizePolicy().hasHeightForWidth());
UASView->setSizePolicy(sizePolicy);
UASView->setMinimumSize(QSize(0, 0));
UASView->setStyleSheet(QString::fromUtf8("QWidget#colorIcon {}\n"
"\n"
"QWidget {\n"
"background-color: none;\n"
"color: #DDDDDF;\n"
"border-color: #EEEEEE;\n"
"background-clip: margin;\n"
"}\n"
"\n"
"QLabel#nameLabel {\n"
" font: bold 16px;\n"
" color: #3C7B9E;\n"
"}\n"
"\n"
"QLabel#modeLabel {\n"
" font: 12px;\n"
"}\n"
"\n"
"QLabel#stateLabel {\n"
" font: 12px;\n"
"}\n"
"\n"
"QLabel#gpsLabel {\n"
" font: 8px;\n"
"}\n"
"\n"
"QLabel#positionLabel {\n"
" font: 8px;\n"
"}\n"
"\n"
"QLabel#timeElapsedLabel {\n"
" font: 8px;\n"
"}\n"
"\n"
"QLabel#groundDistanceLabel {\n"
" font: 8px;\n"
"}\n"
"\n"
"QLabel#speedLabel {\n"
" font: 8px;\n"
"}\n"
"\n"
"QLabel#timeRemainingLabel {\n"
" font: 8px;\n"
"}\n"
"\n"
"QLabel#waypointLabel {\n"
" font: 24px;\n"
"}\n"
"\n"
"QGroupBox {\n"
" border: 1px solid #4A4A4F;\n"
" border-radius: 5px;\n"
" padding: 0px 0px 0px 0px;\n"
" margin: 0px;\n"
"}\n"
"\n"
" QGroupBox::title {\n"
" subcontrol-origin: margin;\n"
" subcontrol-position: top center; /* position at the top center */\n"
" margin: 0 3px 0px 3px;\n"
" "
" padding: 0 3px 0px 0px;\n"
" font: bold 8px;\n"
" }\n"
"\n"
"QGroupBox#heartbeatIcon {\n"
" background-color: red;\n"
"}\n"
"\n"
"QToolButton#typeButton {\n"
" font-weight: bold;\n"
" font-size: 12px;\n"
" border: 2px solid #999999;\n"
" border-radius: 5px;\n"
" min-width:44px;\n"
" max-width: 44px;\n"
" min-height: 44px;\n"
" max-height: 44px;\n"
" padding: 0px;\n"
" background-color: none;\n"
"}\n"
"\n"
"QPushButton {\n"
" font-weight: bold;\n"
" font-size: 12px;\n"
" border: 1px solid #999999;\n"
" border-radius: 10px;\n"
" min-width: 20px;\n"
" max-width: 40px;\n"
" min-height: 16px;\n"
" max-height: 16px;\n"
" padding: 2px;\n"
" background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #777777, stop: 1 #555555);\n"
"}\n"
"\n"
"QPushButton:pressed {\n"
" background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #444444, stop: 1 #555555);\n"
"}\n"
"\n"
"QPushButton#abortButton {\n"
" background: qlineargradient(x1:0, y1:0, x2:0, y2:1,\n"
" stop:0 #"
"ffee01, stop:1 #ae8f00);\n"
"}\n"
"\n"
"QPushButton:pressed#abortButton {\n"
" background: qlineargradient(x1:0, y1:0, x2:0, y2:1,\n"
" stop:0 #bbaa00, stop:1 #a05b00);\n"
"}\n"
"\n"
"QPushButton#killButton {\n"
" background: qlineargradient(x1:0, y1:0, x2:0, y2:1,\n"
" stop:0 #ffb917, stop:1 #b37300);\n"
"}\n"
"\n"
"QPushButton:pressed#killButton {\n"
" background: qlineargradient(x1:0, y1:0, x2:0, y2:1,\n"
" stop:0 #bb8500, stop:1 #903000);\n"
"}\n"
"\n"
"\n"
"QProgressBar {\n"
" border: 1px solid #4A4A4F;\n"
" border-radius: 4px;\n"
" text-align: center;\n"
" padding: 2px;\n"
" color: #DDDDDF;\n"
" background-color: #111118;\n"
"}\n"
"\n"
"QProgressBar:horizontal {\n"
" height: 10px;\n"
"}\n"
"\n"
"QProgressBar QLabel {\n"
" font-size: 8px;\n"
"}\n"
"\n"
"QProgressBar:vertical {\n"
" width: 12px;\n"
"}\n"
"\n"
"QProgressBar::chunk {\n"
" background-color: #656565;\n"
"}\n"
"\n"
"QProgressBar::chunk#batteryBar {\n"
" backgrou"
"nd-color: green;\n"
"}\n"
"\n"
"QProgressBar::chunk#speedBar {\n"
" background-color: yellow;\n"
"}\n"
"\n"
"QProgressBar::chunk#thrustBar {\n"
" background-color: orange;\n"
"}"));
horizontalLayout_2 = new QHBoxLayout(UASView);
horizontalLayout_2->setContentsMargins(6, 6, 6, 6);
horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
uasViewFrame = new QGroupBox(UASView);
uasViewFrame->setObjectName(QString::fromUtf8("uasViewFrame"));
QSizePolicy sizePolicy1(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
sizePolicy1.setHorizontalStretch(0);
sizePolicy1.setVerticalStretch(0);
sizePolicy1.setHeightForWidth(uasViewFrame->sizePolicy().hasHeightForWidth());
uasViewFrame->setSizePolicy(sizePolicy1);
uasViewFrame->setMinimumSize(QSize(0, 0));
gridLayout = new QGridLayout(uasViewFrame);
gridLayout->setContentsMargins(6, 6, 6, 6);
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
gridLayout->setHorizontalSpacing(6);
gridLayout->setVerticalSpacing(2);
typeButton = new QToolButton(uasViewFrame);
typeButton->setObjectName(QString::fromUtf8("typeButton"));
typeButton->setMinimumSize(QSize(48, 48));
typeButton->setMaximumSize(QSize(48, 48));
typeButton->setBaseSize(QSize(30, 30));
QIcon icon;
icon.addFile(QString::fromUtf8(":/images/mavs/unknown.svg"), QSize(), QIcon::Normal, QIcon::Off);
typeButton->setIcon(icon);
typeButton->setIconSize(QSize(42, 42));
gridLayout->addWidget(typeButton, 0, 0, 5, 2);
horizontalSpacer_2 = new QSpacerItem(6, 88, QSizePolicy::Expanding, QSizePolicy::Minimum);
gridLayout->addItem(horizontalSpacer_2, 0, 2, 8, 1);
nameLabel = new QLabel(uasViewFrame);
nameLabel->setObjectName(QString::fromUtf8("nameLabel"));
nameLabel->setMaximumSize(QSize(16777215, 16));
QFont font;
font.setBold(true);
font.setItalic(false);
font.setWeight(75);
nameLabel->setFont(font);
gridLayout->addWidget(nameLabel, 0, 3, 1, 3);
modeLabel = new QLabel(uasViewFrame);
modeLabel->setObjectName(QString::fromUtf8("modeLabel"));
modeLabel->setMaximumSize(QSize(16777215, 16));
QFont font1;
font1.setBold(false);
font1.setItalic(false);
font1.setWeight(50);
modeLabel->setFont(font1);
gridLayout->addWidget(modeLabel, 0, 6, 1, 2);
timeRemainingLabel = new QLabel(uasViewFrame);
timeRemainingLabel->setObjectName(QString::fromUtf8("timeRemainingLabel"));
timeRemainingLabel->setFont(font1);
gridLayout->addWidget(timeRemainingLabel, 1, 3, 3, 1);
timeElapsedLabel = new QLabel(uasViewFrame);
timeElapsedLabel->setObjectName(QString::fromUtf8("timeElapsedLabel"));
timeElapsedLabel->setFont(font1);
gridLayout->addWidget(timeElapsedLabel, 1, 4, 3, 2);
thrustBar = new QProgressBar(uasViewFrame);
thrustBar->setObjectName(QString::fromUtf8("thrustBar"));
QFont font2;
font2.setPointSize(8);
thrustBar->setFont(font2);
thrustBar->setValue(0);
gridLayout->addWidget(thrustBar, 3, 6, 2, 2);
groundDistanceLabel = new QLabel(uasViewFrame);
groundDistanceLabel->setObjectName(QString::fromUtf8("groundDistanceLabel"));
groundDistanceLabel->setFont(font1);
gridLayout->addWidget(groundDistanceLabel, 4, 3, 1, 1);
speedLabel = new QLabel(uasViewFrame);
speedLabel->setObjectName(QString::fromUtf8("speedLabel"));
speedLabel->setFont(font1);
gridLayout->addWidget(speedLabel, 4, 4, 1, 2);
heartbeatIcon = new QGroupBox(uasViewFrame);
heartbeatIcon->setObjectName(QString::fromUtf8("heartbeatIcon"));
QSizePolicy sizePolicy2(QSizePolicy::Fixed, QSizePolicy::Preferred);
sizePolicy2.setHorizontalStretch(0);
sizePolicy2.setVerticalStretch(0);
sizePolicy2.setHeightForWidth(heartbeatIcon->sizePolicy().hasHeightForWidth());
heartbeatIcon->setSizePolicy(sizePolicy2);
heartbeatIcon->setMinimumSize(QSize(18, 0));
heartbeatIcon->setMaximumSize(QSize(18, 40));
gridLayout->addWidget(heartbeatIcon, 5, 0, 3, 1);
batteryBar = new QProgressBar(uasViewFrame);
batteryBar->setObjectName(QString::fromUtf8("batteryBar"));
batteryBar->setMinimumSize(QSize(18, 0));
batteryBar->setMaximumSize(QSize(18, 40));
QFont font3;
font3.setPointSize(6);
batteryBar->setFont(font3);
batteryBar->setValue(0);
batteryBar->setOrientation(Qt::Vertical);
gridLayout->addWidget(batteryBar, 5, 1, 3, 1);
stateLabel = new QLabel(uasViewFrame);
stateLabel->setObjectName(QString::fromUtf8("stateLabel"));
stateLabel->setFont(font1);
gridLayout->addWidget(stateLabel, 5, 3, 2, 2);
waypointLabel = new QLabel(uasViewFrame);
waypointLabel->setObjectName(QString::fromUtf8("waypointLabel"));
waypointLabel->setFont(font1);
waypointLabel->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);
gridLayout->addWidget(waypointLabel, 7, 3, 1, 2);
positionLabel = new QLabel(uasViewFrame);
positionLabel->setObjectName(QString::fromUtf8("positionLabel"));
positionLabel->setMinimumSize(QSize(0, 12));
positionLabel->setMaximumSize(QSize(16777215, 12));
positionLabel->setFont(font1);
gridLayout->addWidget(positionLabel, 2, 6, 1, 1);
gpsLabel = new QLabel(uasViewFrame);
gpsLabel->setObjectName(QString::fromUtf8("gpsLabel"));
gpsLabel->setMinimumSize(QSize(0, 12));
gpsLabel->setMaximumSize(QSize(16777215, 12));
gpsLabel->setFont(font1);
gridLayout->addWidget(gpsLabel, 2, 7, 1, 1);
statusTextLabel = new QLabel(uasViewFrame);
statusTextLabel->setObjectName(QString::fromUtf8("statusTextLabel"));
statusTextLabel->setMaximumSize(QSize(16777215, 12));
QFont font4;
font4.setPointSize(10);
statusTextLabel->setFont(font4);
gridLayout->addWidget(statusTextLabel, 5, 6, 1, 2);
horizontalLayout = new QHBoxLayout();
horizontalLayout->setSpacing(4);
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
horizontalLayout->setSizeConstraint(QLayout::SetMinimumSize);
liftoffButton = new QPushButton(uasViewFrame);
liftoffButton->setObjectName(QString::fromUtf8("liftoffButton"));
liftoffButton->setMinimumSize(QSize(26, 22));
QIcon icon1;
icon1.addFile(QString::fromUtf8(":/images/control/launch.svg"), QSize(), QIcon::Normal, QIcon::Off);
liftoffButton->setIcon(icon1);
horizontalLayout->addWidget(liftoffButton);
haltButton = new QPushButton(uasViewFrame);
haltButton->setObjectName(QString::fromUtf8("haltButton"));
haltButton->setMinimumSize(QSize(26, 22));
QIcon icon2;
icon2.addFile(QString::fromUtf8(":/images/actions/media-playback-pause.svg"), QSize(), QIcon::Normal, QIcon::Off);
haltButton->setIcon(icon2);
horizontalLayout->addWidget(haltButton);
continueButton = new QPushButton(uasViewFrame);
continueButton->setObjectName(QString::fromUtf8("continueButton"));
continueButton->setMinimumSize(QSize(26, 22));
QIcon icon3;
icon3.addFile(QString::fromUtf8(":/images/actions/media-playback-start.svg"), QSize(), QIcon::Normal, QIcon::Off);
continueButton->setIcon(icon3);
horizontalLayout->addWidget(continueButton);
landButton = new QPushButton(uasViewFrame);
landButton->setObjectName(QString::fromUtf8("landButton"));
landButton->setMinimumSize(QSize(26, 22));
QIcon icon4;
icon4.addFile(QString::fromUtf8(":/images/control/land.svg"), QSize(), QIcon::Normal, QIcon::Off);
landButton->setIcon(icon4);
horizontalLayout->addWidget(landButton);
shutdownButton = new QPushButton(uasViewFrame);
shutdownButton->setObjectName(QString::fromUtf8("shutdownButton"));
QIcon icon5;
icon5.addFile(QString::fromUtf8(":/images/actions/system-log-out.svg"), QSize(), QIcon::Normal, QIcon::Off);
shutdownButton->setIcon(icon5);
horizontalLayout->addWidget(shutdownButton);
abortButton = new QPushButton(uasViewFrame);
abortButton->setObjectName(QString::fromUtf8("abortButton"));
abortButton->setMinimumSize(QSize(26, 22));
QIcon icon6;
icon6.addFile(QString::fromUtf8(":/images/actions/media-playback-stop.svg"), QSize(), QIcon::Normal, QIcon::Off);
abortButton->setIcon(icon6);
horizontalLayout->addWidget(abortButton);
killButton = new QPushButton(uasViewFrame);
killButton->setObjectName(QString::fromUtf8("killButton"));
killButton->setMinimumSize(QSize(26, 22));
QIcon icon7;
icon7.addFile(QString::fromUtf8(":/images/actions/process-stop.svg"), QSize(), QIcon::Normal, QIcon::Off);
killButton->setIcon(icon7);
horizontalLayout->addWidget(killButton);
gridLayout->addLayout(horizontalLayout, 6, 5, 2, 3);
horizontalLayout_2->addWidget(uasViewFrame);
retranslateUi(UASView);
QMetaObject::connectSlotsByName(UASView);
} // setupUi
void retranslateUi(QWidget *UASView)
{
UASView->setWindowTitle(QApplication::translate("UASView", "Form", 0, QApplication::UnicodeUTF8));
uasViewFrame->setTitle(QString());
typeButton->setText(QApplication::translate("UASView", "...", 0, QApplication::UnicodeUTF8));
nameLabel->setText(QApplication::translate("UASView", "UAS001", 0, QApplication::UnicodeUTF8));
modeLabel->setText(QApplication::translate("UASView", "Waiting for first update..", 0, QApplication::UnicodeUTF8));
timeRemainingLabel->setText(QApplication::translate("UASView", "00:00:00", 0, QApplication::UnicodeUTF8));
timeElapsedLabel->setText(QApplication::translate("UASView", "00:00:00", 0, QApplication::UnicodeUTF8));
groundDistanceLabel->setText(QApplication::translate("UASView", "00.00 m", 0, QApplication::UnicodeUTF8));
speedLabel->setText(QApplication::translate("UASView", "00.0 m/s", 0, QApplication::UnicodeUTF8));
heartbeatIcon->setTitle(QString());
stateLabel->setText(QApplication::translate("UASView", "UNINIT", 0, QApplication::UnicodeUTF8));
waypointLabel->setText(QApplication::translate("UASView", "WPX", 0, QApplication::UnicodeUTF8));
positionLabel->setText(QApplication::translate("UASView", "00.0 00.0 00.0 m", 0, QApplication::UnicodeUTF8));
gpsLabel->setText(QApplication::translate("UASView", "00 00 00 N 00 00 00 E", 0, QApplication::UnicodeUTF8));
statusTextLabel->setText(QApplication::translate("UASView", "Unknown status", 0, QApplication::UnicodeUTF8));
liftoffButton->setText(QString());
haltButton->setText(QString());
continueButton->setText(QString());
landButton->setText(QString());
shutdownButton->setText(QString());
abortButton->setText(QString());
killButton->setText(QString());
} // retranslateUi
};
namespace Ui {
class UASView: public Ui_UASView {};
} // namespace Ui
QT_END_NAMESPACE
#endif // UASVIEW_H
/********************************************************************************
** Form generated from reading UI file 'WatchdogControl.ui'
**
** Created: Sun Jul 11 18:53:34 2010
** by: Qt User Interface Compiler version 4.6.2
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef WATCHDOGCONTROL_H
#define WATCHDOGCONTROL_H
#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
QT_BEGIN_NAMESPACE
class Ui_WatchdogControl
{
public:
QVBoxLayout *verticalLayout;
QWidget *mainWidget;
QLabel *processInfoLabel;
void setupUi(QWidget *WatchdogControl)
{
if (WatchdogControl->objectName().isEmpty())
WatchdogControl->setObjectName(QString::fromUtf8("WatchdogControl"));
WatchdogControl->resize(400, 300);
verticalLayout = new QVBoxLayout(WatchdogControl);
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
mainWidget = new QWidget(WatchdogControl);
mainWidget->setObjectName(QString::fromUtf8("mainWidget"));
verticalLayout->addWidget(mainWidget);
processInfoLabel = new QLabel(WatchdogControl);
processInfoLabel->setObjectName(QString::fromUtf8("processInfoLabel"));
verticalLayout->addWidget(processInfoLabel);
verticalLayout->setStretch(0, 100);
retranslateUi(WatchdogControl);
QMetaObject::connectSlotsByName(WatchdogControl);
} // setupUi
void retranslateUi(QWidget *WatchdogControl)
{
WatchdogControl->setWindowTitle(QApplication::translate("WatchdogControl", "Form", 0, QApplication::UnicodeUTF8));
processInfoLabel->setText(QApplication::translate("WatchdogControl", "0 Processes Core 1: 0% Core 2: 0%", 0, QApplication::UnicodeUTF8));
} // retranslateUi
};
namespace Ui {
class WatchdogControl: public Ui_WatchdogControl {};
} // namespace Ui
QT_END_NAMESPACE
#endif // WATCHDOGCONTROL_H
/********************************************************************************
** Form generated from reading UI file 'WatchdogProcessView.ui'
**
** Created: Sun Jul 11 18:53:34 2010
** by: Qt User Interface Compiler version 4.6.2
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef WATCHDOGPROCESSVIEW_H
#define WATCHDOGPROCESSVIEW_H
#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QToolButton>
#include <QtGui/QWidget>
QT_BEGIN_NAMESPACE
class Ui_WatchdogProcessView
{
public:
QHBoxLayout *horizontalLayout;
QLabel *nameLabel;
QLabel *pidLabel;
QLabel *argumentsLabel;
QToolButton *startButton;
QToolButton *restartButton;
void setupUi(QWidget *WatchdogProcessView)
{
if (WatchdogProcessView->objectName().isEmpty())
WatchdogProcessView->setObjectName(QString::fromUtf8("WatchdogProcessView"));
WatchdogProcessView->resize(400, 44);
horizontalLayout = new QHBoxLayout(WatchdogProcessView);
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
nameLabel = new QLabel(WatchdogProcessView);
nameLabel->setObjectName(QString::fromUtf8("nameLabel"));
horizontalLayout->addWidget(nameLabel);
pidLabel = new QLabel(WatchdogProcessView);
pidLabel->setObjectName(QString::fromUtf8("pidLabel"));
horizontalLayout->addWidget(pidLabel);
argumentsLabel = new QLabel(WatchdogProcessView);
argumentsLabel->setObjectName(QString::fromUtf8("argumentsLabel"));
horizontalLayout->addWidget(argumentsLabel);
startButton = new QToolButton(WatchdogProcessView);
startButton->setObjectName(QString::fromUtf8("startButton"));
horizontalLayout->addWidget(startButton);
restartButton = new QToolButton(WatchdogProcessView);
restartButton->setObjectName(QString::fromUtf8("restartButton"));
horizontalLayout->addWidget(restartButton);
retranslateUi(WatchdogProcessView);
QMetaObject::connectSlotsByName(WatchdogProcessView);
} // setupUi
void retranslateUi(QWidget *WatchdogProcessView)
{
WatchdogProcessView->setWindowTitle(QApplication::translate("WatchdogProcessView", "Form", 0, QApplication::UnicodeUTF8));
nameLabel->setText(QApplication::translate("WatchdogProcessView", "TextLabel", 0, QApplication::UnicodeUTF8));
pidLabel->setText(QApplication::translate("WatchdogProcessView", "TextLabel", 0, QApplication::UnicodeUTF8));
argumentsLabel->setText(QApplication::translate("WatchdogProcessView", "TextLabel", 0, QApplication::UnicodeUTF8));
startButton->setText(QApplication::translate("WatchdogProcessView", "...", 0, QApplication::UnicodeUTF8));
restartButton->setText(QApplication::translate("WatchdogProcessView", "...", 0, QApplication::UnicodeUTF8));
} // retranslateUi
};
namespace Ui {
class WatchdogProcessView: public Ui_WatchdogProcessView {};
} // namespace Ui
QT_END_NAMESPACE
#endif // WATCHDOGPROCESSVIEW_H
/********************************************************************************
** Form generated from reading UI file 'WatchdogView.ui'
**
** Created: Sun Jul 11 18:53:34 2010
** by: Qt User Interface Compiler version 4.6.2
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef WATCHDOGVIEW_H
#define WATCHDOGVIEW_H
#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QGridLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QWidget>
QT_BEGIN_NAMESPACE
class Ui_WatchdogView
{
public:
QGridLayout *gridLayout;
QLabel *nameLabel;
QWidget *processListWidget;
void setupUi(QWidget *WatchdogView)
{
if (WatchdogView->objectName().isEmpty())
WatchdogView->setObjectName(QString::fromUtf8("WatchdogView"));
WatchdogView->resize(400, 300);
gridLayout = new QGridLayout(WatchdogView);
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
nameLabel = new QLabel(WatchdogView);
nameLabel->setObjectName(QString::fromUtf8("nameLabel"));
gridLayout->addWidget(nameLabel, 0, 0, 1, 1);
processListWidget = new QWidget(WatchdogView);
processListWidget->setObjectName(QString::fromUtf8("processListWidget"));
gridLayout->addWidget(processListWidget, 1, 0, 1, 1);
gridLayout->setRowStretch(1, 100);
retranslateUi(WatchdogView);
QMetaObject::connectSlotsByName(WatchdogView);
} // setupUi
void retranslateUi(QWidget *WatchdogView)
{
WatchdogView->setWindowTitle(QApplication::translate("WatchdogView", "Form", 0, QApplication::UnicodeUTF8));
nameLabel->setText(QApplication::translate("WatchdogView", "Watchdog", 0, QApplication::UnicodeUTF8));
} // retranslateUi
};
namespace Ui {
class WatchdogView: public Ui_WatchdogView {};
} // namespace Ui
QT_END_NAMESPACE
#endif // WATCHDOGVIEW_H
/********************************************************************************
** Form generated from reading UI file 'WaypointList.ui'
**
** Created: Sun Jul 11 18:53:34 2010
** by: Qt User Interface Compiler version 4.6.2
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef WAYPOINTLIST_H
#define WAYPOINTLIST_H
#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QGridLayout>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QPushButton>
#include <QtGui/QScrollArea>
#include <QtGui/QSpacerItem>
#include <QtGui/QToolButton>
#include <QtGui/QWidget>
QT_BEGIN_NAMESPACE
class Ui_WaypointList
{
public:
QAction *actionAddWaypoint;
QAction *actionTransmit;
QAction *actionRead;
QGridLayout *gridLayout;
QScrollArea *scrollArea;
QWidget *scrollAreaWidgetContents;
QHBoxLayout *horizontalLayout;
QWidget *listWidget;
QPushButton *readButton;
QPushButton *transmitButton;
QLabel *statusLabel;
QToolButton *addButton;
QPushButton *loadButton;
QPushButton *saveButton;
QSpacerItem *horizontalSpacer;
QToolButton *positionAddButton;
void setupUi(QWidget *WaypointList)
{
if (WaypointList->objectName().isEmpty())
WaypointList->setObjectName(QString::fromUtf8("WaypointList"));
WaypointList->resize(476, 218);
WaypointList->setMinimumSize(QSize(100, 120));
actionAddWaypoint = new QAction(WaypointList);
actionAddWaypoint->setObjectName(QString::fromUtf8("actionAddWaypoint"));
QIcon icon;
icon.addFile(QString::fromUtf8(":/images/actions/list-add.svg"), QSize(), QIcon::Normal, QIcon::Off);
actionAddWaypoint->setIcon(icon);
actionTransmit = new QAction(WaypointList);
actionTransmit->setObjectName(QString::fromUtf8("actionTransmit"));
QIcon icon1;
icon1.addFile(QString::fromUtf8(":/images/devices/network-wireless.svg"), QSize(), QIcon::Normal, QIcon::Off);
actionTransmit->setIcon(icon1);
actionRead = new QAction(WaypointList);
actionRead->setObjectName(QString::fromUtf8("actionRead"));
QIcon icon2;
icon2.addFile(QString::fromUtf8(":/images/status/software-update-available.svg"), QSize(), QIcon::Normal, QIcon::Off);
actionRead->setIcon(icon2);
gridLayout = new QGridLayout(WaypointList);
gridLayout->setSpacing(4);
gridLayout->setContentsMargins(4, 4, 4, 4);
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
scrollArea = new QScrollArea(WaypointList);
scrollArea->setObjectName(QString::fromUtf8("scrollArea"));
scrollArea->setWidgetResizable(true);
scrollAreaWidgetContents = new QWidget();
scrollAreaWidgetContents->setObjectName(QString::fromUtf8("scrollAreaWidgetContents"));
scrollAreaWidgetContents->setGeometry(QRect(0, 0, 466, 149));
horizontalLayout = new QHBoxLayout(scrollAreaWidgetContents);
horizontalLayout->setSpacing(0);
horizontalLayout->setContentsMargins(4, 4, 4, 4);
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
listWidget = new QWidget(scrollAreaWidgetContents);
listWidget->setObjectName(QString::fromUtf8("listWidget"));
horizontalLayout->addWidget(listWidget);
scrollArea->setWidget(scrollAreaWidgetContents);
gridLayout->addWidget(scrollArea, 0, 0, 1, 9);
readButton = new QPushButton(WaypointList);
readButton->setObjectName(QString::fromUtf8("readButton"));
readButton->setIcon(icon2);
gridLayout->addWidget(readButton, 2, 7, 1, 1);
transmitButton = new QPushButton(WaypointList);
transmitButton->setObjectName(QString::fromUtf8("transmitButton"));
transmitButton->setIcon(icon1);
gridLayout->addWidget(transmitButton, 2, 8, 1, 1);
statusLabel = new QLabel(WaypointList);
statusLabel->setObjectName(QString::fromUtf8("statusLabel"));
gridLayout->addWidget(statusLabel, 3, 0, 1, 9);
addButton = new QToolButton(WaypointList);
addButton->setObjectName(QString::fromUtf8("addButton"));
addButton->setIcon(icon);
gridLayout->addWidget(addButton, 2, 6, 1, 1);
loadButton = new QPushButton(WaypointList);
loadButton->setObjectName(QString::fromUtf8("loadButton"));
gridLayout->addWidget(loadButton, 2, 3, 1, 1);
saveButton = new QPushButton(WaypointList);
saveButton->setObjectName(QString::fromUtf8("saveButton"));
gridLayout->addWidget(saveButton, 2, 2, 1, 1);
horizontalSpacer = new QSpacerItem(127, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
gridLayout->addItem(horizontalSpacer, 2, 4, 1, 1);
positionAddButton = new QToolButton(WaypointList);
positionAddButton->setObjectName(QString::fromUtf8("positionAddButton"));
QIcon icon3;
icon3.addFile(QString::fromUtf8(":/images/actions/go-bottom.svg"), QSize(), QIcon::Normal, QIcon::Off);
positionAddButton->setIcon(icon3);
gridLayout->addWidget(positionAddButton, 2, 5, 1, 1);
gridLayout->setRowStretch(0, 100);
retranslateUi(WaypointList);
QMetaObject::connectSlotsByName(WaypointList);
} // setupUi
void retranslateUi(QWidget *WaypointList)
{
WaypointList->setWindowTitle(QApplication::translate("WaypointList", "Form", 0, QApplication::UnicodeUTF8));
actionAddWaypoint->setText(QApplication::translate("WaypointList", "Add Waypoint", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_TOOLTIP
actionAddWaypoint->setToolTip(QApplication::translate("WaypointList", "Add a new waypoint to the end of the list", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
actionTransmit->setText(QApplication::translate("WaypointList", "Transmit", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_TOOLTIP
actionTransmit->setToolTip(QApplication::translate("WaypointList", "Transmit waypoints to unmanned system", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
actionRead->setText(QApplication::translate("WaypointList", "Read", 0, QApplication::UnicodeUTF8));
readButton->setText(QApplication::translate("WaypointList", "Read", 0, QApplication::UnicodeUTF8));
transmitButton->setText(QApplication::translate("WaypointList", "Write", 0, QApplication::UnicodeUTF8));
statusLabel->setText(QApplication::translate("WaypointList", "TextLabel", 0, QApplication::UnicodeUTF8));
addButton->setText(QApplication::translate("WaypointList", "...", 0, QApplication::UnicodeUTF8));
loadButton->setText(QApplication::translate("WaypointList", "Load WPs", 0, QApplication::UnicodeUTF8));
saveButton->setText(QApplication::translate("WaypointList", "Save WPs", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_TOOLTIP
positionAddButton->setToolTip(QApplication::translate("WaypointList", "Set the current vehicle position as new waypoint", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
positionAddButton->setText(QApplication::translate("WaypointList", "...", 0, QApplication::UnicodeUTF8));
} // retranslateUi
};
namespace Ui {
class WaypointList: public Ui_WaypointList {};
} // namespace Ui
QT_END_NAMESPACE
#endif // WAYPOINTLIST_H
/********************************************************************************
** Form generated from reading UI file 'WaypointView.ui'
**
** Created: Sun Jul 11 18:53:34 2010
** by: Qt User Interface Compiler version 4.6.2
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef WAYPOINTVIEW_H
#define WAYPOINTVIEW_H
#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QDoubleSpinBox>
#include <QtGui/QGridLayout>
#include <QtGui/QGroupBox>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QPushButton>
#include <QtGui/QSpacerItem>
#include <QtGui/QSpinBox>
#include <QtGui/QWidget>
QT_BEGIN_NAMESPACE
class Ui_WaypointView
{
public:
QGridLayout *gridLayout;
QGroupBox *groupBox;
QHBoxLayout *horizontalLayout;
QCheckBox *selectedBox;
QLabel *idLabel;
QSpacerItem *horizontalSpacer_2;
QDoubleSpinBox *xSpinBox;
QDoubleSpinBox *ySpinBox;
QDoubleSpinBox *zSpinBox;
QSpinBox *yawSpinBox;
QDoubleSpinBox *orbitSpinBox;
QSpinBox *holdTimeSpinBox;
QCheckBox *autoContinue;
QPushButton *upButton;
QPushButton *downButton;
QPushButton *removeButton;
void setupUi(QWidget *WaypointView)
{
if (WaypointView->objectName().isEmpty())
WaypointView->setObjectName(QString::fromUtf8("WaypointView"));
WaypointView->resize(763, 40);
QSizePolicy sizePolicy(QSizePolicy::Maximum, QSizePolicy::Fixed);
sizePolicy.setHorizontalStretch(0);
sizePolicy.setVerticalStretch(0);
sizePolicy.setHeightForWidth(WaypointView->sizePolicy().hasHeightForWidth());
WaypointView->setSizePolicy(sizePolicy);
WaypointView->setMinimumSize(QSize(200, 0));
gridLayout = new QGridLayout(WaypointView);
gridLayout->setSpacing(0);
gridLayout->setContentsMargins(0, 0, 0, 0);
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
groupBox = new QGroupBox(WaypointView);
groupBox->setObjectName(QString::fromUtf8("groupBox"));
horizontalLayout = new QHBoxLayout(groupBox);
horizontalLayout->setSpacing(2);
horizontalLayout->setContentsMargins(5, 5, 5, 5);
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
selectedBox = new QCheckBox(groupBox);
selectedBox->setObjectName(QString::fromUtf8("selectedBox"));
selectedBox->setIconSize(QSize(16, 16));
horizontalLayout->addWidget(selectedBox);
idLabel = new QLabel(groupBox);
idLabel->setObjectName(QString::fromUtf8("idLabel"));
idLabel->setMinimumSize(QSize(15, 0));
idLabel->setAlignment(Qt::AlignCenter);
horizontalLayout->addWidget(idLabel);
horizontalSpacer_2 = new QSpacerItem(25, 12, QSizePolicy::Expanding, QSizePolicy::Minimum);
horizontalLayout->addItem(horizontalSpacer_2);
xSpinBox = new QDoubleSpinBox(groupBox);
xSpinBox->setObjectName(QString::fromUtf8("xSpinBox"));
xSpinBox->setMinimum(-1000);
xSpinBox->setMaximum(1000);
xSpinBox->setSingleStep(0.05);
horizontalLayout->addWidget(xSpinBox);
ySpinBox = new QDoubleSpinBox(groupBox);
ySpinBox->setObjectName(QString::fromUtf8("ySpinBox"));
ySpinBox->setMinimum(-1000);
ySpinBox->setMaximum(1000);
ySpinBox->setSingleStep(0.05);
ySpinBox->setValue(0);
horizontalLayout->addWidget(ySpinBox);
zSpinBox = new QDoubleSpinBox(groupBox);
zSpinBox->setObjectName(QString::fromUtf8("zSpinBox"));
zSpinBox->setMinimum(-1000);
zSpinBox->setMaximum(0);
zSpinBox->setSingleStep(0.05);
horizontalLayout->addWidget(zSpinBox);
yawSpinBox = new QSpinBox(groupBox);
yawSpinBox->setObjectName(QString::fromUtf8("yawSpinBox"));
yawSpinBox->setWrapping(true);
yawSpinBox->setMinimum(-180);
yawSpinBox->setMaximum(180);
yawSpinBox->setSingleStep(10);
horizontalLayout->addWidget(yawSpinBox);
orbitSpinBox = new QDoubleSpinBox(groupBox);
orbitSpinBox->setObjectName(QString::fromUtf8("orbitSpinBox"));
orbitSpinBox->setMinimum(0.05);
orbitSpinBox->setMaximum(1);
orbitSpinBox->setSingleStep(0.05);
horizontalLayout->addWidget(orbitSpinBox);
holdTimeSpinBox = new QSpinBox(groupBox);
holdTimeSpinBox->setObjectName(QString::fromUtf8("holdTimeSpinBox"));
holdTimeSpinBox->setMaximum(60000);
holdTimeSpinBox->setSingleStep(500);
holdTimeSpinBox->setValue(0);
horizontalLayout->addWidget(holdTimeSpinBox);
autoContinue = new QCheckBox(groupBox);
autoContinue->setObjectName(QString::fromUtf8("autoContinue"));
horizontalLayout->addWidget(autoContinue);
upButton = new QPushButton(groupBox);
upButton->setObjectName(QString::fromUtf8("upButton"));
upButton->setMinimumSize(QSize(28, 22));
QIcon icon;
icon.addFile(QString::fromUtf8(":/images/actions/go-up.svg"), QSize(), QIcon::Normal, QIcon::Off);
upButton->setIcon(icon);
horizontalLayout->addWidget(upButton);
downButton = new QPushButton(groupBox);
downButton->setObjectName(QString::fromUtf8("downButton"));
downButton->setMinimumSize(QSize(28, 22));
QIcon icon1;
icon1.addFile(QString::fromUtf8(":/images/actions/go-down.svg"), QSize(), QIcon::Normal, QIcon::Off);
downButton->setIcon(icon1);
horizontalLayout->addWidget(downButton);
removeButton = new QPushButton(groupBox);
removeButton->setObjectName(QString::fromUtf8("removeButton"));
removeButton->setMinimumSize(QSize(28, 22));
QIcon icon2;
icon2.addFile(QString::fromUtf8(":/images/actions/list-remove.svg"), QSize(), QIcon::Normal, QIcon::Off);
removeButton->setIcon(icon2);
horizontalLayout->addWidget(removeButton);
gridLayout->addWidget(groupBox, 0, 0, 1, 1);
retranslateUi(WaypointView);
QMetaObject::connectSlotsByName(WaypointView);
} // setupUi
void retranslateUi(QWidget *WaypointView)
{
WaypointView->setWindowTitle(QApplication::translate("WaypointView", "Form", 0, QApplication::UnicodeUTF8));
WaypointView->setStyleSheet(QApplication::translate("WaypointView", "QWidget#colorIcon {}\n"
"\n"
"QWidget {\n"
"background-color: #252528;\n"
"color: #DDDDDF;\n"
"border-color: #EEEEEE;\n"
"background-clip: border;\n"
"}\n"
"\n"
"QCheckBox {\n"
"background-color: #252528;\n"
"color: #454545;\n"
"}\n"
"\n"
"QGroupBox {\n"
" border: 1px solid #EEEEEE;\n"
" border-radius: 5px;\n"
" padding: 0px 0px 0px 0px;\n"
"margin-top: 1ex; /* leave space at the top for the title */\n"
" margin: 0px;\n"
"}\n"
"\n"
" QGroupBox::title {\n"
" subcontrol-origin: margin;\n"
" subcontrol-position: top center; /* position at the top center */\n"
" margin: 0 3px 0px 3px;\n"
" padding: 0 3px 0px 0px;\n"
" font: bold 8px;\n"
" }\n"
"\n"
"QGroupBox#heartbeatIcon {\n"
" background-color: red;\n"
"}\n"
"\n"
" QDockWidget {\n"
" font: bold;\n"
" border: 1px solid #32345E;\n"
"}\n"
"\n"
"QPushButton {\n"
" font-weight: bold;\n"
" font-size: 12px;\n"
" border: 1px solid #999999;\n"
" border-radius: 10px;\n"
" min-width:22px;\n"
" max-width: 36px;\n"
" min-height: 16px;\n"
" max-height:"
" 16px;\n"
" padding: 2px;\n"
" background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #777777, stop: 1 #555555);\n"
"}\n"
"\n"
"QPushButton:pressed {\n"
" background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #444444, stop: 1 #555555);\n"
"}\n"
"\n"
"QPushButton#landButton {\n"
" color: #000000;\n"
" background: qlineargradient(x1:0, y1:0, x2:0, y2:1,\n"
" stop:0 #ffee01, stop:1 #ae8f00) url(\"ICONDIR/control/emergency-button.png\");\n"
"}\n"
"\n"
"QPushButton:pressed#landButton {\n"
" color: #000000;\n"
" background: qlineargradient(x1:0, y1:0, x2:0, y2:1,\n"
" stop:0 #bbaa00, stop:1 #a05b00) url(\"ICONDIR/control/emergency-button.png\");\n"
"}\n"
"\n"
"QPushButton#killButton {\n"
" color: #000000;\n"
" background: qlineargradient(x1:0, y1:0, x2:0, y2:1,\n"
" stop:0 #ffb917, stop:1 #b37300) url(\"ICONDIR/control/emergency-button.png\");\n"
"}\n"
"\n"
"QPushButton:pressed#killButton {\n"
" color: "
"#000000;\n"
" background: qlineargradient(x1:0, y1:0, x2:0, y2:1,\n"
" stop:0 #bb8500, stop:1 #903000) url(\"ICONDIR/control/emergency-button.png\");\n"
"}\n"
"\n"
"QProgressBar {\n"
" border: 1px solid white;\n"
" border-radius: 4px;\n"
" text-align: center;\n"
" padding: 2px;\n"
" color: white;\n"
" background-color: #111111;\n"
"}\n"
"\n"
"QProgressBar:horizontal {\n"
" height: 12px;\n"
"}\n"
"\n"
"QProgressBar QLabel {\n"
" font-size: 8px;\n"
"}\n"
"\n"
"QProgressBar:vertical {\n"
" width: 12px;\n"
"}\n"
"\n"
"QProgressBar::chunk {\n"
" background-color: #656565;\n"
"}\n"
"\n"
"QProgressBar::chunk#batteryBar {\n"
" background-color: green;\n"
"}\n"
"\n"
"QProgressBar::chunk#speedBar {\n"
" background-color: yellow;\n"
"}\n"
"\n"
"QProgressBar::chunk#thrustBar {\n"
" background-color: orange;\n"
"}", 0, QApplication::UnicodeUTF8));
groupBox->setTitle(QString());
#ifndef QT_NO_TOOLTIP
selectedBox->setToolTip(QApplication::translate("WaypointView", "Currently selected waypoint", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
selectedBox->setText(QString());
#ifndef QT_NO_TOOLTIP
idLabel->setToolTip(QApplication::translate("WaypointView", "Waypoint Sequence Number", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
idLabel->setText(QApplication::translate("WaypointView", "TextLabel", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_TOOLTIP
xSpinBox->setToolTip(QApplication::translate("WaypointView", "Position X coordinate", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
xSpinBox->setSuffix(QApplication::translate("WaypointView", " m", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_TOOLTIP
ySpinBox->setToolTip(QApplication::translate("WaypointView", "Position Y coordinate", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
ySpinBox->setSuffix(QApplication::translate("WaypointView", " m", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_TOOLTIP
zSpinBox->setToolTip(QApplication::translate("WaypointView", "Position Z coordinate", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
zSpinBox->setSuffix(QApplication::translate("WaypointView", " m", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_TOOLTIP
yawSpinBox->setToolTip(QApplication::translate("WaypointView", "Yaw angle", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
yawSpinBox->setSuffix(QApplication::translate("WaypointView", "\302\260", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_TOOLTIP
orbitSpinBox->setToolTip(QApplication::translate("WaypointView", "Orbit radius", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
orbitSpinBox->setSuffix(QApplication::translate("WaypointView", " m", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_STATUSTIP
holdTimeSpinBox->setStatusTip(QApplication::translate("WaypointView", "Time in milliseconds that the MAV has to stay inside the orbit before advancing", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_STATUSTIP
holdTimeSpinBox->setSuffix(QApplication::translate("WaypointView", " ms", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_TOOLTIP
autoContinue->setToolTip(QApplication::translate("WaypointView", "Automatically continue after this waypoint", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
autoContinue->setText(QString());
#ifndef QT_NO_TOOLTIP
upButton->setToolTip(QApplication::translate("WaypointView", "Move Up", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
upButton->setText(QString());
#ifndef QT_NO_TOOLTIP
downButton->setToolTip(QApplication::translate("WaypointView", "Move Down", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
downButton->setText(QString());
#ifndef QT_NO_TOOLTIP
removeButton->setToolTip(QApplication::translate("WaypointView", "Delete", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
removeButton->setText(QString());
} // retranslateUi
};
namespace Ui {
class WaypointView: public Ui_WaypointView {};
} // namespace Ui
QT_END_NAMESPACE
#endif // WAYPOINTVIEW_H
/********************************************************************************
** Form generated from reading UI file 'XMLCommProtocolWidget.ui'
**
** Created: Sun Jul 11 18:53:34 2010
** by: Qt User Interface Compiler version 4.6.2
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef XMLCOMMPROTOCOLWIDGET_H
#define XMLCOMMPROTOCOLWIDGET_H
#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QGridLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QPlainTextEdit>
#include <QtGui/QPushButton>
#include <QtGui/QTextEdit>
#include <QtGui/QTreeView>
#include <QtGui/QWidget>
QT_BEGIN_NAMESPACE
class Ui_XMLCommProtocolWidget
{
public:
QGridLayout *gridLayout;
QLabel *fileNameLabel;
QPushButton *selectFileButton;
QTextEdit *xmlTextView;
QLabel *outputDirNameLabel;
QPushButton *selectOutputButton;
QTreeView *xmlTreeView;
QLabel *label;
QPlainTextEdit *compileLog;
QLabel *validXMLLabel;
QPushButton *saveButton;
QPushButton *generateButton;
void setupUi(QWidget *XMLCommProtocolWidget)
{
if (XMLCommProtocolWidget->objectName().isEmpty())
XMLCommProtocolWidget->setObjectName(QString::fromUtf8("XMLCommProtocolWidget"));
XMLCommProtocolWidget->resize(846, 480);
gridLayout = new QGridLayout(XMLCommProtocolWidget);
gridLayout->setSpacing(12);
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
gridLayout->setContentsMargins(-1, 6, 6, 6);
fileNameLabel = new QLabel(XMLCommProtocolWidget);
fileNameLabel->setObjectName(QString::fromUtf8("fileNameLabel"));
fileNameLabel->setMaximumSize(QSize(300, 16777215));
fileNameLabel->setScaledContents(true);
fileNameLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
gridLayout->addWidget(fileNameLabel, 0, 0, 1, 1);
selectFileButton = new QPushButton(XMLCommProtocolWidget);
selectFileButton->setObjectName(QString::fromUtf8("selectFileButton"));
QIcon icon;
icon.addFile(QString::fromUtf8(":/images/status/folder-open.svg"), QSize(), QIcon::Normal, QIcon::Off);
selectFileButton->setIcon(icon);
gridLayout->addWidget(selectFileButton, 0, 2, 1, 1);
xmlTextView = new QTextEdit(XMLCommProtocolWidget);
xmlTextView->setObjectName(QString::fromUtf8("xmlTextView"));
xmlTextView->setReadOnly(false);
gridLayout->addWidget(xmlTextView, 0, 3, 6, 1);
outputDirNameLabel = new QLabel(XMLCommProtocolWidget);
outputDirNameLabel->setObjectName(QString::fromUtf8("outputDirNameLabel"));
outputDirNameLabel->setMaximumSize(QSize(400, 16777215));
outputDirNameLabel->setScaledContents(true);
gridLayout->addWidget(outputDirNameLabel, 1, 0, 1, 2);
selectOutputButton = new QPushButton(XMLCommProtocolWidget);
selectOutputButton->setObjectName(QString::fromUtf8("selectOutputButton"));
selectOutputButton->setIcon(icon);
gridLayout->addWidget(selectOutputButton, 1, 2, 1, 1);
xmlTreeView = new QTreeView(XMLCommProtocolWidget);
xmlTreeView->setObjectName(QString::fromUtf8("xmlTreeView"));
gridLayout->addWidget(xmlTreeView, 2, 0, 1, 3);
label = new QLabel(XMLCommProtocolWidget);
label->setObjectName(QString::fromUtf8("label"));
gridLayout->addWidget(label, 3, 0, 1, 2);
compileLog = new QPlainTextEdit(XMLCommProtocolWidget);
compileLog->setObjectName(QString::fromUtf8("compileLog"));
gridLayout->addWidget(compileLog, 4, 0, 1, 3);
validXMLLabel = new QLabel(XMLCommProtocolWidget);
validXMLLabel->setObjectName(QString::fromUtf8("validXMLLabel"));
gridLayout->addWidget(validXMLLabel, 5, 0, 1, 1);
saveButton = new QPushButton(XMLCommProtocolWidget);
saveButton->setObjectName(QString::fromUtf8("saveButton"));
gridLayout->addWidget(saveButton, 5, 1, 1, 1);
generateButton = new QPushButton(XMLCommProtocolWidget);
generateButton->setObjectName(QString::fromUtf8("generateButton"));
QIcon icon1;
icon1.addFile(QString::fromUtf8(":/images/categories/applications-system.svg"), QSize(), QIcon::Normal, QIcon::Off);
generateButton->setIcon(icon1);
gridLayout->addWidget(generateButton, 5, 2, 1, 1);
gridLayout->setRowStretch(2, 100);
gridLayout->setColumnStretch(0, 1);
gridLayout->setColumnStretch(1, 1);
gridLayout->setColumnStretch(2, 1);
gridLayout->setColumnStretch(3, 100);
retranslateUi(XMLCommProtocolWidget);
QMetaObject::connectSlotsByName(XMLCommProtocolWidget);
} // setupUi
void retranslateUi(QWidget *XMLCommProtocolWidget)
{
XMLCommProtocolWidget->setWindowTitle(QApplication::translate("XMLCommProtocolWidget", "Form", 0, QApplication::UnicodeUTF8));
fileNameLabel->setText(QApplication::translate("XMLCommProtocolWidget", "Select input file", 0, QApplication::UnicodeUTF8));
selectFileButton->setText(QApplication::translate("XMLCommProtocolWidget", "Select input file", 0, QApplication::UnicodeUTF8));
outputDirNameLabel->setText(QApplication::translate("XMLCommProtocolWidget", "Select output directory", 0, QApplication::UnicodeUTF8));
selectOutputButton->setText(QApplication::translate("XMLCommProtocolWidget", "Select directory", 0, QApplication::UnicodeUTF8));
label->setText(QApplication::translate("XMLCommProtocolWidget", "Compile Output", 0, QApplication::UnicodeUTF8));
validXMLLabel->setText(QApplication::translate("XMLCommProtocolWidget", "No file loaded", 0, QApplication::UnicodeUTF8));
saveButton->setText(QApplication::translate("XMLCommProtocolWidget", "Save file", 0, QApplication::UnicodeUTF8));
generateButton->setText(QApplication::translate("XMLCommProtocolWidget", "Save and generate", 0, QApplication::UnicodeUTF8));
} // retranslateUi
};
namespace Ui {
class XMLCommProtocolWidget: public Ui_XMLCommProtocolWidget {};
} // namespace Ui
QT_END_NAMESPACE
#endif // XMLCOMMPROTOCOLWIDGET_H
......@@ -415,6 +415,7 @@ QWidget* LinechartWidget::createCurveItem(QString curve)
**/
void LinechartWidget::removeCurve(QString curve)
{
Q_UNUSED(curve)
//TODO @todo Ensure that the button for a curve gets deleted when the original curve is deleted
// Remove name
}
......
......@@ -3,6 +3,7 @@
WatchdogProcessView::WatchdogProcessView(int processid, QWidget *parent) :
QWidget(parent),
processid(processid),
m_ui(new Ui::WatchdogProcessView)
{
m_ui->setupUi(this);
......
......@@ -16,6 +16,7 @@ public:
protected:
void changeEvent(QEvent *e);
int processid;
private:
Ui::WatchdogProcessView *m_ui;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment