mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-24 09:52:11 +01:00
00d5cc245a
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@158 ebee16cc-31ac-478f-84a7-5cbb03baadba
231 lines
6.6 KiB
XML
231 lines
6.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>Core::Internal::GeneralSettings</class>
|
|
<widget class="QWidget" name="Core::Internal::GeneralSettings">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>536</width>
|
|
<height>233</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox">
|
|
<property name="title">
|
|
<string>General settings</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
|
<item>
|
|
<widget class="QLabel" name="colorLabel">
|
|
<property name="text">
|
|
<string>User &interface color:</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>colorButton</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_2">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>QSizePolicy::Fixed</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="Utils::QtColorButton" name="colorButton">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>64</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="alphaAllowed">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="resetButton">
|
|
<property name="toolTip">
|
|
<string>Reset to default</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>R</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="core.qrc">
|
|
<normaloff>:/core/images/reset.png</normaloff>:/core/images/reset.png</iconset>
|
|
</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>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<widget class="QLabel" name="terminalLabel">
|
|
<property name="text">
|
|
<string>Terminal:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="terminalEdit"/>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="resetTerminalButton">
|
|
<property name="toolTip">
|
|
<string>Reset to default</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>R</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="core.qrc">
|
|
<normaloff>:/core/images/reset.png</normaloff>:/core/images/reset.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
|
<item>
|
|
<widget class="QLabel" name="label">
|
|
<property name="text">
|
|
<string>External editor:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="externalEditorEdit"/>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="resetEditorButton">
|
|
<property name="toolTip">
|
|
<string>Reset to default</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>R</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="core.qrc">
|
|
<normaloff>:/core/images/reset.png</normaloff>:/core/images/reset.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="helpExternalEditorButton">
|
|
<property name="text">
|
|
<string>?</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<item>
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="text">
|
|
<string>When files are externally modified:</string>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QComboBox" name="reloadBehavior">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="currentIndex">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>Always ask</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Reload all modified files</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Ignore modifications</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>111</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>Utils::QtColorButton</class>
|
|
<extends>QToolButton</extends>
|
|
<header location="global">utils/qtcolorbutton.h</header>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources>
|
|
<include location="core.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|