mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-18 03:52:11 +01:00
GCS/OPMap- Small visual changes to the pathplanner editor.
Add buttons to synchronize planner data with UAVObjects.
This commit is contained in:
parent
3466420a32
commit
ff48babb46
BIN
ground/openpilotgcs/src/plugins/opmap/images/down_alt2.png
Normal file
BIN
ground/openpilotgcs/src/plugins/opmap/images/down_alt2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.2 KiB |
@ -91,3 +91,13 @@ void pathPlanner::on_tbDetails_clicked()
|
||||
if(wid)
|
||||
wid->show();
|
||||
}
|
||||
|
||||
void pathPlanner::on_tbSendToUAV_clicked()
|
||||
{
|
||||
emit sendPathPlanToUAV();
|
||||
}
|
||||
|
||||
void pathPlanner::on_tbFetchFromUAV_clicked()
|
||||
{
|
||||
emit receivePathPlanFromUAV();
|
||||
}
|
||||
|
@ -36,10 +36,17 @@ private slots:
|
||||
|
||||
void on_tbDetails_clicked();
|
||||
|
||||
void on_tbSendToUAV_clicked();
|
||||
|
||||
void on_tbFetchFromUAV_clicked();
|
||||
|
||||
private:
|
||||
Ui::testTable *ui;
|
||||
opmap_edit_waypoint_dialog * wid;
|
||||
flightDataModel * myModel;
|
||||
signals:
|
||||
void sendPathPlanToUAV();
|
||||
void receivePathPlanFromUAV();
|
||||
};
|
||||
|
||||
#endif // TESTTABLE_H
|
||||
|
@ -11,7 +11,11 @@
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Form</string>
|
||||
<string>PathPlanner</string>
|
||||
</property>
|
||||
<property name="windowIcon">
|
||||
<iconset resource="../coreplugin/core.qrc">
|
||||
<normaloff>:/core/images/openpilot_logo_64.png</normaloff>:/core/images/openpilot_logo_64.png</iconset>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
@ -86,6 +90,34 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QToolButton" name="tbSendToUAV">
|
||||
<property name="toolTip">
|
||||
<string>Send to UAV</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>...</string>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="opmap.qrc">
|
||||
<normaloff>:/opmap/images/up_alt.png</normaloff>:/opmap/images/up_alt.png</iconset>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QToolButton" name="tbFetchFromUAV">
|
||||
<property name="toolTip">
|
||||
<string>Fetch from UAV</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>...</string>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="opmap.qrc">
|
||||
<normaloff>:/opmap/images/down_alt.png</normaloff>:/opmap/images/down_alt.png</iconset>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="horizontalSpacer">
|
||||
<property name="orientation">
|
||||
@ -125,6 +157,7 @@
|
||||
</layout>
|
||||
</widget>
|
||||
<resources>
|
||||
<include location="../coreplugin/core.qrc"/>
|
||||
<include location="opmap.qrc"/>
|
||||
</resources>
|
||||
<connections/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user