Files
paparazzi/sw/supervision/python/ui/ui_session.ui
Fabien-B ee01f2720b [supervision] Set custom icons, and change shortcut for clean. (#3049)
* [supervision] Set custom icons, and change shortcut for clean.

* [supervision] Add control panel selector.

* [supervision] remember last target built.

* [supervision] refresh AC before build.
2023-08-25 13:21:07 +02:00

279 lines
7.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Session</class>
<widget class="QWidget" name="Session">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>400</width>
<height>300</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QGridLayout" name="gridLayout" columnstretch="2,3,0,0">
<item row="1" column="2">
<widget class="QToolButton" name="start_session_button">
<property name="toolTip">
<string>Start Session</string>
</property>
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/icons/icons/play.png</normaloff>:/icons/icons/play.png</iconset>
</property>
</widget>
</item>
<item row="1" column="3">
<widget class="QToolButton" name="menu_button">
<property name="contextMenuPolicy">
<enum>Qt::ActionsContextMenu</enum>
</property>
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/icons/icons/menu.png</normaloff>:/icons/icons/menu.png</iconset>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QComboBox" name="control_panel_combo"/>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>control panel</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Session</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="sessions_combo"/>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2"/>
</item>
<item>
<widget class="QWidget" name="favorite_tools" native="true"/>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Programs</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QToolButton" name="add_tool_button">
<property name="toolTip">
<string>Add Tool</string>
</property>
<property name="text">
<string>Add tool</string>
</property>
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/icons/icons/add.png</normaloff>:/icons/icons/add.png</iconset>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextBesideIcon</enum>
</property>
<property name="autoRaise">
<bool>false</bool>
</property>
<property name="arrowType">
<enum>Qt::NoArrow</enum>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="Line" name="line">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="startall_button">
<property name="toolTip">
<string>Start All</string>
</property>
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/icons/icons/play.png</normaloff>:/icons/icons/play.png</iconset>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="stopall_button">
<property name="toolTip">
<string>Stop All</string>
</property>
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/icons/icons/stop.png</normaloff>:/icons/icons/stop.png</iconset>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="removeall_button">
<property name="toolTip">
<string>Remove All</string>
</property>
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/icons/icons/remove.png</normaloff>:/icons/icons/remove.png</iconset>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QScrollArea" name="scrollArea">
<property name="widgetResizable">
<bool>true</bool>
</property>
<widget class="QWidget" name="programs_widget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>384</width>
<height>154</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
<action name="save_session_action">
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/icons/icons/save.png</normaloff>:/icons/icons/save.png</iconset>
</property>
<property name="text">
<string>Save session</string>
</property>
</action>
<action name="save_as_action">
<property name="icon">
<iconset theme="edit-copy">
<normaloff>.</normaloff>.</iconset>
</property>
<property name="text">
<string>Save as...</string>
</property>
<property name="toolTip">
<string>Save session as...</string>
</property>
</action>
<action name="rename_session_action">
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/icons/icons/copy.png</normaloff>:/icons/icons/copy.png</iconset>
</property>
<property name="text">
<string>Rename session</string>
</property>
</action>
<action name="remove_session_action">
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/icons/icons/delete.png</normaloff>:/icons/icons/delete.png</iconset>
</property>
<property name="text">
<string>Remove session</string>
</property>
</action>
</widget>
<resources>
<include location="resources.qrc"/>
</resources>
<connections>
<connection>
<sender>menu_button</sender>
<signal>clicked()</signal>
<receiver>menu_button</receiver>
<slot>showMenu()</slot>
<hints>
<hint type="sourcelabel">
<x>377</x>
<y>45</y>
</hint>
<hint type="destinationlabel">
<x>377</x>
<y>45</y>
</hint>
</hints>
</connection>
</connections>
</ui>