mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-12 20:08:48 +01:00
7195862d77
This will allow us to build a parent project for qt-creator that sits above both openpilotgcs and uavobjgenerator so that we can build both projects at the same time. git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2528 ebee16cc-31ac-478f-84a7-5cbb03baadba
2169 lines
68 KiB
XML
2169 lines
68 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>OPMap_Widget</class>
|
|
<widget class="QWidget" name="OPMap_Widget">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>514</width>
|
|
<height>412</height>
|
|
</rect>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="mouseTracking">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Form</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_5">
|
|
<property name="spacing">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QFrame" name="frameTopBar">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>32</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="contextMenuPolicy">
|
|
<enum>Qt::NoContextMenu</enum>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QFrame{
|
|
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(110, 110, 110, 255), stop:1 rgba(71, 71, 71, 255));
|
|
color: rgba(0, 0, 0, 128);
|
|
}
|
|
|
|
QLabel {
|
|
background-color: transparent;
|
|
/* background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(0, 0, 0, 80), stop:1 rgba(0, 0, 0, 80)); */
|
|
color: rgb(255, 255, 255);
|
|
/*border: 1px solid black;*/
|
|
border: none;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
QToolButton { /* all types of tool button */
|
|
background-color: transparent;
|
|
color: rgb(255, 255, 255);
|
|
|
|
/*height: 24px;*/
|
|
|
|
/*border-style: none;*/
|
|
/* border: 1px solid rgba(0, 0, 0, 64); */
|
|
/* border: 0px; */
|
|
border-radius: 0px;
|
|
/*border-radius: 3px;*/
|
|
}
|
|
QToolButton:disabled {
|
|
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(128, 128, 128, 128), stop:1 rgba(128, 128, 128, 128));
|
|
color: rgba(255, 255, 255, 128);
|
|
|
|
/*height: 24px;*/
|
|
|
|
border: none;
|
|
border-radius: 0px;
|
|
/*
|
|
border: 1px solid rgb(255, 255, 255);
|
|
border-radius: 0px;
|
|
border-top-color: rgba(0, 0, 0, 64);
|
|
border-right-color: rgba(0, 0, 0, 64);
|
|
border-bottom-color: rgba(255, 255, 255, 64);
|
|
border-left-color: rgba(255, 255, 255, 64);
|
|
*/
|
|
}
|
|
QToolButton:hover {
|
|
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(255, 255, 255,128), stop:1 rgba(180, 180, 180, 128));
|
|
color: rgb(255, 255, 255);
|
|
|
|
/*height: 24px;*/
|
|
|
|
border: 0px;
|
|
border-radius: 0px;
|
|
/*border-radius: 3px;*/
|
|
}
|
|
QToolButton:pressed {
|
|
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(48, 48, 48, 255), stop:1 rgba(64, 64, 64, 255));
|
|
color: rgb(255, 255, 255);
|
|
|
|
/*height: 24px;*/
|
|
|
|
border: none;
|
|
border-radius: 0px;
|
|
/*
|
|
border: 1px solid rgb(255, 255, 255);
|
|
border-radius: 0px;
|
|
border-top-color: rgba(0, 0, 0, 64);
|
|
border-right-color: rgba(0, 0, 0, 64);
|
|
border-bottom-color: rgba(255, 255, 255, 64);
|
|
border-left-color: rgba(255, 255, 255, 64);
|
|
*/
|
|
}
|
|
|
|
QToolButton:checked {
|
|
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(48, 48, 48, 255), stop:1 rgba(64, 64, 64, 255));
|
|
color: rgb(255, 255, 255);
|
|
|
|
/*height: 24px;*/
|
|
|
|
border: none;
|
|
border-radius: 0px;
|
|
/*
|
|
border: 1px solid rgb(255, 255, 255);
|
|
border-radius: 0px;
|
|
border-top-color: rgba(0, 0, 0, 64);
|
|
border-right-color: rgba(0, 0, 0, 64);
|
|
border-bottom-color: rgba(255, 255, 255, 64);
|
|
border-left-color: rgba(255, 255, 255, 64);
|
|
*/
|
|
}
|
|
|
|
QPushButton {
|
|
background-color: transparent;
|
|
color: rgb(255, 255, 255);
|
|
|
|
/*height: 24px;*/
|
|
|
|
/*border-style: none;*/
|
|
/* border: 1px solid rgba(0, 0, 0, 64); */
|
|
/* border: 0px; */
|
|
border-radius: 0px;
|
|
/*border-radius: 3px;*/
|
|
}
|
|
QPushButton:disabled {
|
|
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(128, 128, 128, 128), stop:1 rgba(128, 128, 128, 128));
|
|
color: rgb(255, 255, 255);
|
|
|
|
/*height: 24px;*/
|
|
|
|
border: none;
|
|
border-radius: 0px;
|
|
/*
|
|
border: 1px solid rgb(255, 255, 255);
|
|
border-radius: 0px;
|
|
border-top-color: rgba(0, 0, 0, 64);
|
|
border-right-color: rgba(0, 0, 0, 64);
|
|
border-bottom-color: rgba(255, 255, 255, 64);
|
|
border-left-color: rgba(255, 255, 255, 64);
|
|
*/
|
|
}
|
|
QPushButton:hover {
|
|
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(255, 255, 255,128), stop:1 rgba(180, 180, 180, 128));
|
|
color: rgb(255, 255, 255);
|
|
|
|
/*height: 24px;*/
|
|
|
|
border: 0px;
|
|
border-radius: 0px;
|
|
/*border-radius: 3px;*/
|
|
}
|
|
QPushButton:pressed {
|
|
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(48, 48, 48, 255), stop:1 rgba(64, 64, 64, 255));
|
|
color: rgb(255, 255, 255);
|
|
|
|
/*height: 24px;*/
|
|
|
|
border: none;
|
|
border-radius: 0px;
|
|
/*
|
|
border: 1px solid rgb(255, 255, 255);
|
|
border-radius: 0px;
|
|
border-top-color: rgba(0, 0, 0, 64);
|
|
border-right-color: rgba(0, 0, 0, 64);
|
|
border-bottom-color: rgba(255, 255, 255, 64);
|
|
border-left-color: rgba(255, 255, 255, 64);
|
|
*/
|
|
}
|
|
|
|
QComboBox {
|
|
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(48, 48, 48, 255), stop:1 rgba(120, 120, 120, 255));
|
|
color: rgba(255, 255, 255, 255);
|
|
border: 1px solid rgba(0, 0, 0, 128);
|
|
border-radius: 0px;
|
|
}
|
|
QComboBox::down-arrow:on {
|
|
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(48, 48, 48, 255), stop:1 rgba(120, 120, 120, 255));
|
|
top: 1px; left: 1px; /* move the arrow when the popup is open */
|
|
}
|
|
QComboBox::down-arrow {
|
|
image: url(:/opmap/images/combobox_down_arrow.png);
|
|
}
|
|
QComboBox:drop-down {
|
|
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(110, 110, 110, 255), stop:1 rgba(71, 71, 71, 255));
|
|
border-left: 1px solid rgba(0, 0, 0, 128);
|
|
/* subcontrol-origin: padding;
|
|
subcontrol-position: top right;
|
|
border-top-right-radius: 1px;
|
|
border-bottom-right-radius: 1px; */
|
|
}
|
|
QComboBox QAbstractItemView { /* the drop down list */
|
|
background-color: rgb(255, 255, 255);
|
|
color: rgb(0, 0, 0);
|
|
border: 1px solid rgba(0, 0, 0, 128);
|
|
selection-background-color: rgb(160, 160, 255);
|
|
border-radius: 2px;
|
|
}
|
|
</string>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::NoFrame</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Plain</enum>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
|
<property name="spacing">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="layoutWidgetStatusBar_2">
|
|
<property name="spacing">
|
|
<number>5</number>
|
|
</property>
|
|
<property name="leftMargin">
|
|
<number>8</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>5</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>8</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>5</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QToolButton" name="toolButtonNormalMapMode">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>8</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Normal Map Mode</string>
|
|
</property>
|
|
<property name="text">
|
|
<string> Normal </string>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>16</width>
|
|
<height>32</height>
|
|
</size>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="toolButtonStyle">
|
|
<enum>Qt::ToolButtonTextOnly</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>QSizePolicy::Fixed</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>10</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="toolButtonMagicWaypointMapMode">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>8</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Magic Waypoint Map Mode</string>
|
|
</property>
|
|
<property name="text">
|
|
<string> Magic Waypoint </string>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>16</width>
|
|
<height>32</height>
|
|
</size>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="toolButtonStyle">
|
|
<enum>Qt::ToolButtonTextOnly</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="Line" name="line_6">
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Plain</enum>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_4">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>10</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="Line" name="lineWaypoint">
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Plain</enum>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="toolButtonMoveToWP">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Click to move the UAV to the magic waypoint position</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Move to WP</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="opmap.qrc">
|
|
<normaloff>:/opmap/images/move_to_wp.png</normaloff>:/opmap/images/move_to_wp.png</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>28</width>
|
|
<height>28</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="toolButtonHomeWaypoint">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Move the magic waypoint to the home position</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Home WP</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="opmap.qrc">
|
|
<normaloff>:/opmap/images/home_wp.png</normaloff>:/opmap/images/home_wp.png</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>28</width>
|
|
<height>28</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="Line" name="line_8">
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Plain</enum>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="toolButtonMapHome">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Center map over home position</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Home</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="opmap.qrc">
|
|
<normaloff>:/opmap/images/gcs.png</normaloff>:/opmap/images/gcs.png</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>28</width>
|
|
<height>28</height>
|
|
</size>
|
|
</property>
|
|
<property name="autoRepeat">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="toolButtonStyle">
|
|
<enum>Qt::ToolButtonIconOnly</enum>
|
|
</property>
|
|
<property name="autoRaise">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="toolButtonMapUAV">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Center map over UAV position</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>UAV</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="opmap.qrc">
|
|
<normaloff>:/opmap/images/uav.png</normaloff>:/opmap/images/uav.png</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>28</width>
|
|
<height>28</height>
|
|
</size>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="autoRepeat">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="toolButtonStyle">
|
|
<enum>Qt::ToolButtonIconOnly</enum>
|
|
</property>
|
|
<property name="autoRaise">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="toolButtonMapUAVheading">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Map rotation follows UAV heading</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Heading</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="opmap.qrc">
|
|
<normaloff>:/opmap/images/uav_heading.png</normaloff>:/opmap/images/uav_heading.png</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>28</width>
|
|
<height>28</height>
|
|
</size>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="autoRepeat">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="toolButtonStyle">
|
|
<enum>Qt::ToolButtonIconOnly</enum>
|
|
</property>
|
|
<property name="autoRaise">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QSplitter" name="splitter">
|
|
<property name="styleSheet">
|
|
<string notr="true">QSplitter::handle {
|
|
/* image: url(images/splitter.png); */
|
|
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(71, 71, 71, 255), stop:0.5 rgba(200, 200, 200, 255), stop:1 rgba(110, 110, 110, 255));
|
|
}
|
|
QSplitter::handle:horizontal {
|
|
/* height: 5px; */
|
|
}
|
|
QSplitter::handle:vertical {
|
|
/* width: 5px; */
|
|
}
|
|
</string>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::NoFrame</enum>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="opaqueResize">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="handleWidth">
|
|
<number>5</number>
|
|
</property>
|
|
<widget class="QFrame" name="frameLeftPanel">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>170</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>300</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QFrame {
|
|
background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(71, 71, 71, 255), stop:1 rgba(110, 110, 110, 255));
|
|
/* color: rgba(0, 0, 0, 48); */
|
|
}
|
|
|
|
QToolButton { /* all types of tool button */
|
|
background-color: transparent;
|
|
color: rgb(255, 255, 255);
|
|
border: 0px;
|
|
border-radius: 3px;
|
|
}
|
|
QToolButton:hover {
|
|
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(255, 255, 255, 200), stop:1 rgba(180, 180, 180, 200));
|
|
color: rgb(255, 255, 255);
|
|
border: 0px;
|
|
border-radius: 3px;
|
|
}
|
|
QToolButton:pressed {
|
|
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(48, 48, 48, 255), stop:1 rgba(120, 120, 120, 255));
|
|
color: rgb(255, 255, 255);
|
|
border: 0px;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
QToolButton:checked {
|
|
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(48, 48, 48, 255), stop:1 rgba(120, 120, 120, 255));
|
|
color: rgb(255, 255, 255);
|
|
border: 0px;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
QComboBox {
|
|
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(48, 48, 48, 255), stop:1 rgba(120, 120, 120, 255));
|
|
color: rgba(255, 255, 255, 255);
|
|
border: 1px solid rgba(0, 0, 0, 128);
|
|
border-radius: 0px;
|
|
}
|
|
QComboBox::down-arrow:on {
|
|
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(48, 48, 48, 255), stop:1 rgba(120, 120, 120, 255));
|
|
top: 1px; left: 1px; /* move the arrow when the popup is open */
|
|
}
|
|
QComboBox::down-arrow {
|
|
image: url(:/opmap/images/combobox_down_arrow.png);
|
|
}
|
|
QComboBox:drop-down {
|
|
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(110, 110, 110, 255), stop:1 rgba(71, 71, 71, 255));
|
|
border-left: 1px solid rgba(0, 0, 0, 128);
|
|
/* subcontrol-origin: padding;
|
|
subcontrol-position: top right;
|
|
border-top-right-radius: 1px;
|
|
border-bottom-right-radius: 1px; */
|
|
}
|
|
QComboBox QAbstractItemView { /* the drop down list */
|
|
background-color: rgb(255, 255, 255);
|
|
color: rgb(0, 0, 0);
|
|
border: 1px solid rgba(0, 0, 0, 128);
|
|
selection-background-color: rgb(160, 160, 255);
|
|
border-radius: 2px;
|
|
}
|
|
</string>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::NoFrame</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Raised</enum>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
<property name="spacing">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QComboBox" name="comboBoxFindPlace">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>20</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Enter place to find</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="editable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="currentIndex">
|
|
<number>-1</number>
|
|
</property>
|
|
<property name="maxVisibleItems">
|
|
<number>20</number>
|
|
</property>
|
|
<property name="sizeAdjustPolicy">
|
|
<enum>QComboBox::AdjustToContents</enum>
|
|
</property>
|
|
<property name="frame">
|
|
<bool>false</bool>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>london</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>new york</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>paris</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="toolButtonFindPlace">
|
|
<property name="toolTip">
|
|
<string>Find place</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QToolButton {
|
|
}
|
|
|
|
QToolButton {
|
|
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(110, 110, 110, 255), stop:1 rgba(71, 71, 71, 255));
|
|
color: rgb(255, 255, 255);
|
|
border: 1px solid black;
|
|
border-radius: 3px;
|
|
}
|
|
QToolButton:hover {
|
|
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(255, 255, 255, 200), stop:1 rgba(180, 180, 180, 200));
|
|
color: rgb(255, 255, 255);
|
|
border: 0px;
|
|
border-radius: 3px;
|
|
}
|
|
QToolButton:pressed {
|
|
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(48, 48, 48, 255), stop:1 rgba(120, 120, 120, 255));
|
|
color: rgb(255, 255, 255);
|
|
border: 0px;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
QToolButton:checked {
|
|
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(48, 48, 48, 255), stop:1 rgba(120, 120, 120, 255));
|
|
color: rgb(255, 255, 255);
|
|
border: 0px;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../coreplugin/core.qrc">
|
|
<normaloff>:/core/images/find.png</normaloff>:/core/images/find.png</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>20</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
<property name="autoRaise">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="arrowType">
|
|
<enum>Qt::NoArrow</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>QSizePolicy::Fixed</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>6</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QTabWidget" name="tabWidget">
|
|
<property name="styleSheet">
|
|
<string notr="true">QTabWidget::pane {
|
|
/* The tab widget frame */
|
|
border-top: 1px solid rgba(255, 255, 255, 80);
|
|
margin: 0px,1px,1px,1px;
|
|
}
|
|
QTabWidget::tab-bar {
|
|
left: 5px; /* move to the right by 5px */
|
|
}
|
|
/* Style the tab using the tab sub-control. Note that it reads QTabBar _not_ QTabWidget */
|
|
QTabBar::tab {
|
|
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #B1B1B1, stop: 0.4 #ADADAD, stop: 0.5 #A8A8A8, stop: 1.0 #A3A3A3);
|
|
border: 1px solid #C4C4C3;
|
|
border-bottom-color: #C2C7CB; /* same as the pane color */
|
|
border-top-left-radius: 4px;
|
|
border-top-right-radius: 4px;
|
|
min-width: 8ex;
|
|
padding: 1px;
|
|
}
|
|
QTabBar::tab:selected, QTabBar::tab:hover {
|
|
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #fafafa, stop: 0.4 #f4f4f4, stop: 0.5 #e7e7e7, stop: 1.0 #fafafa);
|
|
}
|
|
QTabBar::tab:selected {
|
|
border-color: #9B9B9B;
|
|
border-bottom-color: #C2C7CB; /* same as pane color */
|
|
}
|
|
QTabBar::tab:!selected {
|
|
margin-top: 2px; /* make non-selected tabs look smaller */
|
|
}
|
|
/* make use of negative margins for overlapping tabs */
|
|
QTabBar::tab:selected {
|
|
/* expand/overlap to the left and right by 4px */
|
|
margin-left: -4px; margin-right: -4px;
|
|
}
|
|
QTabBar::tab:first:selected {
|
|
margin-left: 0; /* the first selected tab has nothing to overlap with on the left */
|
|
}
|
|
QTabBar::tab:last:selected {
|
|
margin-right: 0; /* the last selected tab has nothing to overlap with on the right */
|
|
}
|
|
QTabBar::tab:only-one {
|
|
margin: 0; /* if there is only one tab, we don't want overlapping margins */
|
|
}
|
|
</string>
|
|
</property>
|
|
<property name="tabPosition">
|
|
<enum>QTabWidget::North</enum>
|
|
</property>
|
|
<property name="tabShape">
|
|
<enum>QTabWidget::Rounded</enum>
|
|
</property>
|
|
<property name="currentIndex">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="elideMode">
|
|
<enum>Qt::ElideNone</enum>
|
|
</property>
|
|
<property name="documentMode">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="tabsClosable">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="movable">
|
|
<bool>false</bool>
|
|
</property>
|
|
<widget class="QWidget" name="tabPlaces">
|
|
<attribute name="title">
|
|
<string> Places </string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout_6">
|
|
<item>
|
|
<widget class="QListWidget" name="listWidget">
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(255, 255, 255);</string>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::NoFrame</enum>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>New Item</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>New Item</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="tabWaypoints">
|
|
<attribute name="title">
|
|
<string> Waypoints </string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout_7">
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
|
<property name="spacing">
|
|
<number>5</number>
|
|
</property>
|
|
<property name="leftMargin">
|
|
<number>3</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>3</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QToolButton" name="toolButtonNewWaypoints">
|
|
<property name="toolTip">
|
|
<string>New waypoints</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="text">
|
|
<string>New</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../coreplugin/core.qrc">
|
|
<normaloff>:/core/images/filenew.png</normaloff>:/core/images/filenew.png</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>20</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
<property name="autoRepeat">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="toolButtonStyle">
|
|
<enum>Qt::ToolButtonTextUnderIcon</enum>
|
|
</property>
|
|
<property name="autoRaise">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="toolButtonOpenWaypoints">
|
|
<property name="focusPolicy">
|
|
<enum>Qt::TabFocus</enum>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Open waypoints</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="text">
|
|
<string>Open</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../coreplugin/core.qrc">
|
|
<normaloff>:/core/images/fileopen.png</normaloff>:/core/images/fileopen.png</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>20</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
<property name="autoRepeat">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="toolButtonStyle">
|
|
<enum>Qt::ToolButtonTextUnderIcon</enum>
|
|
</property>
|
|
<property name="autoRaise">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="toolButtonSaveWaypoints">
|
|
<property name="toolTip">
|
|
<string>Save waypoints</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="text">
|
|
<string>Save</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../coreplugin/core.qrc">
|
|
<normaloff>:/core/images/filesave.png</normaloff>:/core/images/filesave.png</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>20</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
<property name="autoRepeat">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="toolButtonStyle">
|
|
<enum>Qt::ToolButtonTextUnderIcon</enum>
|
|
</property>
|
|
<property name="autoRaise">
|
|
<bool>false</bool>
|
|
</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="QToolButton" name="toolButtonAddWaypoint">
|
|
<property name="toolTip">
|
|
<string>Add a waypoint</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="text">
|
|
<string>Add</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="opmap.qrc">
|
|
<normaloff>:/opmap/images/waypoint.png</normaloff>:/opmap/images/waypoint.png</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>20</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
<property name="autoRepeat">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="toolButtonStyle">
|
|
<enum>Qt::ToolButtonTextUnderIcon</enum>
|
|
</property>
|
|
<property name="autoRaise">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QTreeView" name="treeViewWaypoints">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>100</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="contextMenuPolicy">
|
|
<enum>Qt::DefaultContextMenu</enum>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">/* background-color: transparent; */
|
|
/* background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(0, 0, 0, 64), stop:1 rgba(0, 0, 0, 32)); */
|
|
color: rgb(255, 255, 255);
|
|
border: 0px;
|
|
/*
|
|
QTreeView::item {
|
|
border: 1px solid #d9d9d9;
|
|
border-top-color: transparent;
|
|
border-bottom-color: transparent;
|
|
}
|
|
*/
|
|
QTreeView::item:hover {
|
|
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #e7effd, stop: 1 #cbdaf1);
|
|
border: 1px solid #bfcde4;
|
|
}
|
|
|
|
QTreeView::branch:has-children:!has-siblings:closed, QTreeView::branch:closed:has-children:has-siblings {
|
|
border-image: none;
|
|
image: url(branch-closed.png);
|
|
}
|
|
QTreeView::branch:open:has-children:!has-siblings, QTreeView::branch:open:has-children:has-siblings {
|
|
border-image: none;
|
|
image: url(branch-open.png);
|
|
}</string>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::NoFrame</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Plain</enum>
|
|
</property>
|
|
<property name="tabKeyNavigation">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="selectionBehavior">
|
|
<enum>QAbstractItemView::SelectItems</enum>
|
|
</property>
|
|
<property name="animated">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="headerHidden">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="layoutWidget">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<property name="spacing">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QWidget" name="mapWidget" native="true">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>64</width>
|
|
<height>64</height>
|
|
</size>
|
|
</property>
|
|
<property name="mouseTracking">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="acceptDrops">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">
|
|
/* background-color: black; */
|
|
border: 1px solid black;
|
|
|
|
QLabel { /* all label types */
|
|
/* background-color: rgba(255, 255, 255, 0); */
|
|
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(64, 64, 64, 255), stop:1 rgba(128, 128, 128, 255));
|
|
color: rgb(255, 255, 255);
|
|
}
|
|
|
|
QToolButton { /* all types of tool button */
|
|
background-color: rgba(255, 255, 255, 0);
|
|
color: rgb(255, 255, 255);
|
|
/*border-style: none;*/
|
|
border: 0px;
|
|
}
|
|
QToolButton:hover {
|
|
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(255, 160, 0, 255), stop:1 rgba(160, 100, 0, 255));
|
|
color: rgb(255, 255, 255);
|
|
}
|
|
QToolButton:pressed {
|
|
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(48, 48, 48, 255), stop:1 rgba(120, 120, 120, 255));
|
|
color: rgb(255, 255, 255);
|
|
}
|
|
|
|
QToolButton:checked {
|
|
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(48, 48, 48, 255), stop:1 rgba(120, 120, 120, 255));
|
|
color: rgb(255, 255, 255);
|
|
}
|
|
|
|
QSlider::groove:horizontal {
|
|
border: none;
|
|
height: 4px;
|
|
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(48, 48, 48, 255), stop:1 rgba(80, 80, 80, 255));
|
|
margin: 2px 0;
|
|
}
|
|
QSlider::handle:horizontal {
|
|
border: 1px solid #5c5c5c;
|
|
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(255, 255, 255, 255), stop:1 rgba(128, 128, 128, 255));
|
|
width: 24px;
|
|
margin: -2px 0;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
QComboBox {
|
|
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(48, 48, 48, 255), stop:1 rgba(120, 120, 120, 255));
|
|
color: rgb(255, 255, 255);
|
|
}
|
|
QComboBox:hover {
|
|
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(48, 48, 48, 255), stop:1 rgba(120, 120, 120, 255));
|
|
background-color: rgb(197, 138, 0);
|
|
}
|
|
QComboBox::down-arrow {
|
|
image: url(:/opmap/images/combobox_down_arrow.png);
|
|
}
|
|
QComboBox:drop-down {
|
|
subcontrol-origin: padding;
|
|
subcontrol-position: top right;
|
|
border-left-style: none;
|
|
border-top-right-radius: 1px;
|
|
border-bottom-right-radius: 1px;
|
|
}
|
|
</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QWidget" name="widget" native="true">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QFrame {
|
|
background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(71, 71, 71, 255), stop:1 rgba(110, 110, 110, 255));
|
|
color: rgb(255, 255, 255);
|
|
}
|
|
|
|
QToolButton { /* all types of tool button */
|
|
background-color: rgba(255, 255, 255, 0);
|
|
color: rgb(255, 255, 255);
|
|
/*border-style: none;*/
|
|
border: 0px;
|
|
border-radius: 3px;
|
|
}
|
|
QToolButton:hover {
|
|
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(255, 255, 255, 200), stop:1 rgba(180, 180, 180, 200));
|
|
color: rgb(255, 255, 255);
|
|
border: 0px;
|
|
border-radius: 3px;
|
|
}
|
|
QToolButton:pressed {
|
|
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(48, 48, 48, 255), stop:1 rgba(120, 120, 120, 255));
|
|
color: rgb(255, 255, 255);
|
|
border: 0px;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
QToolButton:checked {
|
|
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(48, 48, 48, 255), stop:1 rgba(120, 120, 120, 255));
|
|
color: rgb(255, 255, 255);
|
|
border: 0px;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
QSlider::groove:horizontal {
|
|
border: none;
|
|
height: 4px;
|
|
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(48, 48, 48, 255), stop:1 rgba(80, 80, 80, 255));
|
|
margin: 2px 0;
|
|
}
|
|
QSlider::handle:horizontal {
|
|
border: 1px solid #5c5c5c;
|
|
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(255, 255, 255, 255), stop:1 rgba(128, 128, 128, 255));
|
|
width: 24px;
|
|
margin: -2px 0;
|
|
border-radius: 3px;
|
|
}
|
|
</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
<property name="spacing">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QFrame" name="frameMapControls">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QFrame {
|
|
background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(71, 71, 71, 255), stop:1 rgba(110, 110, 110, 255));
|
|
color: rgba(0, 0, 0, 48);
|
|
}
|
|
|
|
QToolButton { /* all types of tool button */
|
|
background-color: transparent;
|
|
/*background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(110, 110, 110, 255), stop:1 rgba(71, 71, 71, 255));*/
|
|
color: rgb(255, 255, 255);
|
|
/*
|
|
border: 1px solid black;
|
|
border-radius: 0px;
|
|
*/
|
|
border: none;
|
|
border-radius: 0px;
|
|
/*border: 1px solid white;
|
|
border-radius: 3px;
|
|
border-top-color: rgba(255, 255, 255, 48);
|
|
border-right-color: rgba(255, 255, 255, 48);
|
|
border-bottom-color: rgba(0, 0, 0, 48);
|
|
border-left-color: rgba(0, 0, 0, 48);*/
|
|
}
|
|
QToolButton:hover {
|
|
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(255, 255, 255, 200), stop:1 rgba(180, 180, 180, 200));
|
|
color: rgb(255, 255, 255);
|
|
border: none;
|
|
/*border: 1px solid white;
|
|
border-radius:3px;
|
|
border-top-color: rgba(255, 255, 255, 48);
|
|
border-right-color: rgba(255, 255, 255, 48);
|
|
border-bottom-color: rgba(0, 0, 0, 48);
|
|
border-left-color: rgba(0, 0, 0, 48);*/
|
|
}
|
|
QToolButton:pressed {
|
|
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(48, 48, 48, 255), stop:1 rgba(80, 80, 80, 255));
|
|
color: rgb(255, 255, 255);
|
|
border: 1px solid white;
|
|
border-radius:3px;
|
|
border-top-color: rgba(0, 0, 0,160);
|
|
border-right-color: rgba(0, 0, 0, 160);
|
|
border-bottom-color: rgba(255, 255, 255, 80);
|
|
border-left-color: rgba(255, 255, 255, 80);
|
|
}
|
|
|
|
QToolButton:checked {
|
|
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(48, 48, 48, 255), stop:1 rgba(80, 80, 80, 255));
|
|
color: rgb(255, 255, 255);
|
|
border: 1px solid white;
|
|
border-radius: 3px;
|
|
border-top-color: rgba(0, 0, 0,160);
|
|
border-right-color: rgba(0, 0, 0, 160);
|
|
border-bottom-color: rgba(255, 255, 255, 80);
|
|
border-left-color: rgba(255, 255, 255, 80);
|
|
}
|
|
|
|
QSliderl {
|
|
background-color: rgba(255, 255, 255, 0);
|
|
}
|
|
QSlider::groove:vertical {
|
|
border: none;
|
|
width: 4px;
|
|
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(48, 48, 48, 255), stop:1 rgba(80, 80, 80, 255));
|
|
margin: 2px 0;
|
|
}
|
|
QSlider::handle:vertical {
|
|
border: 1px solid #5c5c5c;
|
|
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(255, 255, 255, 255), stop:1 rgba(128, 128, 128, 255));
|
|
height: 10px;
|
|
margin: 0 -9px; /* expand outside the groove */
|
|
border-radius: 3px;
|
|
}
|
|
</string>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::NoFrame</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Plain</enum>
|
|
</property>
|
|
<property name="lineWidth">
|
|
<number>2</number>
|
|
</property>
|
|
<property name="midLineWidth">
|
|
<number>0</number>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<property name="spacing">
|
|
<number>5</number>
|
|
</property>
|
|
<property name="margin">
|
|
<number>1</number>
|
|
</property>
|
|
<item>
|
|
<spacer name="verticalSpacer_3">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>QSizePolicy::Fixed</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>10</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="toolButtonZoomP">
|
|
<property name="toolTip">
|
|
<string>Zoom in</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="opmap.qrc">
|
|
<normaloff>:/opmap/images/plus.png</normaloff>:/opmap/images/plus.png</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>28</width>
|
|
<height>28</height>
|
|
</size>
|
|
</property>
|
|
<property name="autoRepeat">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="autoRepeatDelay">
|
|
<number>1000</number>
|
|
</property>
|
|
<property name="autoRepeatInterval">
|
|
<number>1000</number>
|
|
</property>
|
|
<property name="autoRaise">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QSlider" name="horizontalSliderZoom">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>50</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>200</height>
|
|
</size>
|
|
</property>
|
|
<property name="cursor">
|
|
<cursorShape>OpenHandCursor</cursorShape>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Zoom level</string>
|
|
</property>
|
|
<property name="autoFillBackground">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>2</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>17</number>
|
|
</property>
|
|
<property name="pageStep">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="invertedControls">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="tickPosition">
|
|
<enum>QSlider::NoTicks</enum>
|
|
</property>
|
|
<property name="tickInterval">
|
|
<number>2</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="toolButtonZoomM">
|
|
<property name="toolTip">
|
|
<string>Zoom out</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="opmap.qrc">
|
|
<normaloff>:/opmap/images/minus.png</normaloff>:/opmap/images/minus.png</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>28</width>
|
|
<height>28</height>
|
|
</size>
|
|
</property>
|
|
<property name="autoRepeat">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="autoRepeatDelay">
|
|
<number>1000</number>
|
|
</property>
|
|
<property name="autoRepeatInterval">
|
|
<number>1000</number>
|
|
</property>
|
|
<property name="autoRaise">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacer_2">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>QSizePolicy::Expanding</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>10</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QFrame" name="frameFlightControls">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="MinimumExpanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>80</width>
|
|
<height>50</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>80</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="mouseTracking">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="contextMenuPolicy">
|
|
<enum>Qt::NoContextMenu</enum>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QFrame {
|
|
background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(71, 71, 71, 255), stop:1 rgba(110, 110, 110, 255));
|
|
color: rgb(255, 255, 255);
|
|
}
|
|
|
|
QToolButton {
|
|
background-color: transparent;
|
|
color: rgb(255, 255, 255);
|
|
/*border-style: none;*/
|
|
border: 0px;
|
|
}
|
|
QToolButton:hover {
|
|
background-color: qlineargradient(spread:pad, x1:1, y1:0.5, x2:0, y2:0.5, stop:0 rgba(71, 71, 71, 0), stop:0.5 rgba(150, 150, 150, 255), stop:1 rgba(71, 71, 71, 0));
|
|
color: rgb(255, 255, 255);
|
|
}
|
|
QToolButton:pressed {
|
|
background-color: qlineargradient(spread:pad, x1:1, y1:0.5, x2:0, y2:0.5, stop:0 rgba(71, 71, 71, 0), stop:0.5 rgba(48, 48, 48, 255), stop:1 rgba(71, 71, 71, 0));
|
|
color: rgb(255, 255, 255);
|
|
}
|
|
</string>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::NoFrame</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Plain</enum>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
|
<property name="spacing">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QToolButton" name="toolButtonHoldPosition">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>48</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>UAV hold position</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="text">
|
|
<string>Hold</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="opmap.qrc">
|
|
<normaloff>:/opmap/images/hold.png</normaloff>:/opmap/images/hold.png</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>80</width>
|
|
<height>35</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolButtonStyle">
|
|
<enum>Qt::ToolButtonTextUnderIcon</enum>
|
|
</property>
|
|
<property name="autoRaise">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="toolButtonHome">
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>48</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>UAV go home</string>
|
|
</property>
|
|
<property name="autoFillBackground">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="text">
|
|
<string>Home</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="opmap.qrc">
|
|
<normaloff>:/opmap/images/home.png</normaloff>:/opmap/images/home.png</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>80</width>
|
|
<height>35</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolButtonStyle">
|
|
<enum>Qt::ToolButtonTextUnderIcon</enum>
|
|
</property>
|
|
<property name="autoRaise">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="toolButtonPrevWaypoint">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>48</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Move UAV to previous waypoint</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="text">
|
|
<string>Previous WP</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="opmap.qrc">
|
|
<normaloff>:/opmap/images/prev_waypoint.png</normaloff>:/opmap/images/prev_waypoint.png</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>80</width>
|
|
<height>35</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolButtonStyle">
|
|
<enum>Qt::ToolButtonTextUnderIcon</enum>
|
|
</property>
|
|
<property name="autoRaise">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="toolButtonNextWaypoint">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>48</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Move UAV to next waypoint</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="text">
|
|
<string>Next WP</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="opmap.qrc">
|
|
<normaloff>:/opmap/images/next_waypoint.png</normaloff>:/opmap/images/next_waypoint.png</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>80</width>
|
|
<height>35</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolButtonStyle">
|
|
<enum>Qt::ToolButtonTextUnderIcon</enum>
|
|
</property>
|
|
<property name="autoRaise">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="toolButtonGo">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>48</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>UAV go!</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="text">
|
|
<string>Go</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="opmap.qrc">
|
|
<normaloff>:/opmap/images/go.png</normaloff>:/opmap/images/go.png</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>80</width>
|
|
<height>35</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolButtonStyle">
|
|
<enum>Qt::ToolButtonTextUnderIcon</enum>
|
|
</property>
|
|
<property name="autoRaise">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QFrame" name="frameStatusBar">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>25</height>
|
|
</size>
|
|
</property>
|
|
<property name="contextMenuPolicy">
|
|
<enum>Qt::NoContextMenu</enum>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QFrame{
|
|
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(110, 110, 110, 255), stop:1 rgba(71, 71, 71, 255));
|
|
color: rgba(0, 0, 0, 128);
|
|
}
|
|
|
|
QLabel {
|
|
background-color: transparent;
|
|
/* background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(0, 0, 0, 80), stop:1 rgba(0, 0, 0, 80)); */
|
|
color: rgb(255, 255, 255);
|
|
/*border: 1px solid black;*/
|
|
border: none;
|
|
border-radius: 2px;
|
|
}
|
|
</string>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::NoFrame</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Plain</enum>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<property name="spacing">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="leftMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>3</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>3</number>
|
|
</property>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="layoutWidgetStatusBar">
|
|
<property name="spacing">
|
|
<number>5</number>
|
|
</property>
|
|
<property name="leftMargin">
|
|
<number>3</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>8</number>
|
|
</property>
|
|
<item>
|
|
<spacer name="horizontalSpacer_7">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>QSizePolicy::Fixed</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>10</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="labelUAVPos">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>8</pointsize>
|
|
<weight>50</weight>
|
|
<italic>false</italic>
|
|
<bold>false</bold>
|
|
<kerning>true</kerning>
|
|
</font>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>UAV position</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::NoFrame</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Plain</enum>
|
|
</property>
|
|
<property name="text">
|
|
<string>labelUAVPos</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="Line" name="line_3">
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Plain</enum>
|
|
</property>
|
|
<property name="lineWidth">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="labelMapPos">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>8</pointsize>
|
|
<weight>50</weight>
|
|
<italic>false</italic>
|
|
<bold>false</bold>
|
|
<kerning>true</kerning>
|
|
</font>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Map position</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::NoFrame</enum>
|
|
</property>
|
|
<property name="text">
|
|
<string>labelMapPos</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="Line" name="line_4">
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Plain</enum>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="labelMousePos">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>8</pointsize>
|
|
<weight>50</weight>
|
|
<italic>false</italic>
|
|
<bold>false</bold>
|
|
<kerning>true</kerning>
|
|
</font>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Mouse position</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::NoFrame</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Plain</enum>
|
|
</property>
|
|
<property name="text">
|
|
<string>labelMousePos</string>
|
|
</property>
|
|
<property name="scaledContents">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="Line" name="line">
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Plain</enum>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="labelMapZoom">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>8</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>labelMapZoom</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="Line" name="line_2">
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Plain</enum>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_3">
|
|
<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="QProgressBar" name="progressBarMap">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>40</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>100</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="autoFillBackground">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QProgressBar {
|
|
border: none;
|
|
border-radius: 5px;
|
|
padding: 3px;
|
|
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(48, 48, 48, 255), stop:1 rgba(120, 120, 120, 255));
|
|
color: rgb(255, 255, 255);
|
|
}
|
|
QProgressBar::chunk {
|
|
background-color: rgb(85, 85, 255);
|
|
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(160, 160, 255, 255), stop:1 rgba(80, 80, 160, 255));
|
|
border: none;
|
|
border-radius: 3px;
|
|
}</string>
|
|
</property>
|
|
<property name="value">
|
|
<number>50</number>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
<property name="textVisible">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="invertedAppearance">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="format">
|
|
<string>%v</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources>
|
|
<include location="../coreplugin/core.qrc"/>
|
|
<include location="opmap.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|