QGCUnconnectedInfoWidget.ui 2.48 KB
Newer Older
pixhawk's avatar
pixhawk committed
1 2 3 4 5 6 7 8
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>QGCUnconnectedInfoWidget</class>
 <widget class="QWidget" name="QGCUnconnectedInfoWidget">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
9
    <width>372</width>
10
    <height>309</height>
pixhawk's avatar
pixhawk committed
11 12 13 14 15
   </rect>
  </property>
  <property name="windowTitle">
   <string>Form</string>
  </property>
16
  <layout class="QGridLayout" name="gridLayout" rowstretch="90,30">
17 18 19
   <item row="0" column="0">
    <widget class="QToolButton" name="connectButton">
     <property name="minimumSize">
pixhawk's avatar
pixhawk committed
20
      <size>
21 22 23 24 25 26 27 28 29 30 31 32 33 34
       <width>150</width>
       <height>150</height>
      </size>
     </property>
     <property name="sizeIncrement">
      <size>
       <width>20</width>
       <height>20</height>
      </size>
     </property>
     <property name="baseSize">
      <size>
       <width>150</width>
       <height>150</height>
pixhawk's avatar
pixhawk committed
35 36
      </size>
     </property>
37
     <property name="styleSheet">
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
      <string notr="true">
QToolButton {
color: #222222;
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #80B81D, stop: 1 #306807);
margin: 15px;
padding: 20px;
border-radius: 18px;
min-height: 100px;
border: 2px solid #085B35;
}

QToolButton:pressed {
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #306807, stop: 1 #80B81D);
color: #222222;
border-color: #D1892A;
}

QToolButton:checked {
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #306807, stop: 1 #80B81D);
color: #222222;
border-color: #D1892A;
}</string>
pixhawk's avatar
pixhawk committed
60 61
     </property>
     <property name="text">
62
      <string/>
63 64 65
     </property>
     <property name="icon">
      <iconset resource="../../../qgroundcontrol.qrc">
66
       <normaloff>:/files/images/actions/qgroundcontrol-connect.svg</normaloff>:/files/images/actions/qgroundcontrol-connect.svg</iconset>
67 68 69
     </property>
     <property name="iconSize">
      <size>
70 71
       <width>140</width>
       <height>140</height>
72 73 74
      </size>
     </property>
     <property name="toolButtonStyle">
75
      <enum>Qt::ToolButtonIconOnly</enum>
pixhawk's avatar
pixhawk committed
76 77 78
     </property>
    </widget>
   </item>
79 80 81 82 83 84 85 86 87 88 89 90 91
   <item row="1" column="0">
    <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>
pixhawk's avatar
pixhawk committed
92 93
  </layout>
 </widget>
94 95 96
 <resources>
  <include location="../../../qgroundcontrol.qrc"/>
 </resources>
pixhawk's avatar
pixhawk committed
97 98
 <connections/>
</ui>