demos/embedded/flightinfo/form.ui
changeset 0 1918ee327afb
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <ui version="4.0">
       
     3  <class>Form</class>
       
     4  <widget class="QWidget" name="Form">
       
     5   <property name="geometry">
       
     6    <rect>
       
     7     <x>0</x>
       
     8     <y>0</y>
       
     9     <width>220</width>
       
    10     <height>171</height>
       
    11    </rect>
       
    12   </property>
       
    13   <property name="windowTitle">
       
    14    <string>Form</string>
       
    15   </property>
       
    16   <layout class="QVBoxLayout" name="verticalLayout">
       
    17    <property name="spacing">
       
    18     <number>0</number>
       
    19    </property>
       
    20    <property name="margin">
       
    21     <number>0</number>
       
    22    </property>
       
    23    <item>
       
    24     <widget class="QFrame" name="titleBox">
       
    25      <property name="styleSheet">
       
    26       <string>QFrame {
       
    27 background-color: #45629a;
       
    28 }
       
    29 
       
    30 QLabel {
       
    31 color: white;
       
    32 }</string>
       
    33      </property>
       
    34      <property name="frameShape">
       
    35       <enum>QFrame::NoFrame</enum>
       
    36      </property>
       
    37      <property name="frameShadow">
       
    38       <enum>QFrame::Raised</enum>
       
    39      </property>
       
    40      <property name="lineWidth">
       
    41       <number>0</number>
       
    42      </property>
       
    43      <layout class="QHBoxLayout" name="horizontalLayout">
       
    44       <property name="spacing">
       
    45        <number>0</number>
       
    46       </property>
       
    47       <property name="margin">
       
    48        <number>4</number>
       
    49       </property>
       
    50       <item>
       
    51        <widget class="QLabel" name="flightName">
       
    52         <property name="sizePolicy">
       
    53          <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
       
    54           <horstretch>0</horstretch>
       
    55           <verstretch>0</verstretch>
       
    56          </sizepolicy>
       
    57         </property>
       
    58         <property name="text">
       
    59          <string>Powered by FlightView</string>
       
    60         </property>
       
    61        </widget>
       
    62       </item>
       
    63       <item>
       
    64        <widget class="QLabel" name="flightStatus">
       
    65         <property name="sizePolicy">
       
    66          <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
       
    67           <horstretch>0</horstretch>
       
    68           <verstretch>0</verstretch>
       
    69          </sizepolicy>
       
    70         </property>
       
    71         <property name="font">
       
    72          <font>
       
    73           <weight>75</weight>
       
    74           <bold>true</bold>
       
    75          </font>
       
    76         </property>
       
    77         <property name="styleSheet">
       
    78          <string>background-color: white;
       
    79 color:  #45629a;</string>
       
    80         </property>
       
    81         <property name="lineWidth">
       
    82          <number>0</number>
       
    83         </property>
       
    84         <property name="text">
       
    85          <string>Ready</string>
       
    86         </property>
       
    87         <property name="alignment">
       
    88          <set>Qt::AlignCenter</set>
       
    89         </property>
       
    90         <property name="margin">
       
    91          <number>4</number>
       
    92         </property>
       
    93        </widget>
       
    94       </item>
       
    95      </layout>
       
    96     </widget>
       
    97    </item>
       
    98    <item>
       
    99     <widget class="QFrame" name="searchBar">
       
   100      <property name="frameShape">
       
   101       <enum>QFrame::NoFrame</enum>
       
   102      </property>
       
   103      <property name="frameShadow">
       
   104       <enum>QFrame::Raised</enum>
       
   105      </property>
       
   106      <layout class="QHBoxLayout" name="horizontalLayout_2">
       
   107       <property name="margin">
       
   108        <number>5</number>
       
   109       </property>
       
   110       <item>
       
   111        <widget class="QLineEdit" name="flightEdit">
       
   112         <property name="styleSheet">
       
   113          <string>color: black;
       
   114 border: 1px solid black;
       
   115 background: white;
       
   116 selection-background-color: lightgray;</string>
       
   117         </property>
       
   118        </widget>
       
   119       </item>
       
   120       <item>
       
   121        <widget class="QToolButton" name="searchButton">
       
   122         <property name="styleSheet">
       
   123          <string>color: rgb(255, 255, 255);
       
   124 background-color: rgb(85, 85, 255);
       
   125 padding: 2px;
       
   126 border: 2px solid  rgb(0, 0, 127);</string>
       
   127         </property>
       
   128         <property name="text">
       
   129          <string>Search</string>
       
   130         </property>
       
   131         <property name="toolButtonStyle">
       
   132          <enum>Qt::ToolButtonTextBesideIcon</enum>
       
   133         </property>
       
   134        </widget>
       
   135       </item>
       
   136       <item>
       
   137        <spacer name="horizontalSpacer">
       
   138         <property name="orientation">
       
   139          <enum>Qt::Horizontal</enum>
       
   140         </property>
       
   141         <property name="sizeHint" stdset="0">
       
   142          <size>
       
   143           <width>40</width>
       
   144           <height>20</height>
       
   145          </size>
       
   146         </property>
       
   147        </spacer>
       
   148       </item>
       
   149      </layout>
       
   150     </widget>
       
   151    </item>
       
   152    <item>
       
   153     <spacer name="verticalSpacer">
       
   154      <property name="orientation">
       
   155       <enum>Qt::Vertical</enum>
       
   156      </property>
       
   157      <property name="sizeHint" stdset="0">
       
   158       <size>
       
   159        <width>20</width>
       
   160        <height>58</height>
       
   161       </size>
       
   162      </property>
       
   163     </spacer>
       
   164    </item>
       
   165    <item>
       
   166     <widget class="QFrame" name="infoBox">
       
   167      <property name="sizePolicy">
       
   168       <sizepolicy hsizetype="Minimum" vsizetype="MinimumExpanding">
       
   169        <horstretch>0</horstretch>
       
   170        <verstretch>0</verstretch>
       
   171       </sizepolicy>
       
   172      </property>
       
   173      <property name="styleSheet">
       
   174       <string>QFrame { border: 2px solid white;
       
   175 border-radius: 10px;
       
   176 margin: 5px;
       
   177 background-color: rgba(69, 98, 154, 192); }</string>
       
   178      </property>
       
   179      <property name="frameShape">
       
   180       <enum>QFrame::NoFrame</enum>
       
   181      </property>
       
   182      <property name="frameShadow">
       
   183       <enum>QFrame::Raised</enum>
       
   184      </property>
       
   185      <layout class="QVBoxLayout" name="verticalLayout_3">
       
   186       <property name="spacing">
       
   187        <number>0</number>
       
   188       </property>
       
   189       <property name="margin">
       
   190        <number>5</number>
       
   191       </property>
       
   192       <item>
       
   193        <widget class="QLabel" name="detailedInfo">
       
   194         <property name="sizePolicy">
       
   195          <sizepolicy hsizetype="Minimum" vsizetype="MinimumExpanding">
       
   196           <horstretch>0</horstretch>
       
   197           <verstretch>0</verstretch>
       
   198          </sizepolicy>
       
   199         </property>
       
   200         <property name="styleSheet">
       
   201          <string>color: white;
       
   202 border: none;
       
   203 background-color: none;</string>
       
   204         </property>
       
   205         <property name="text">
       
   206          <string/>
       
   207         </property>
       
   208         <property name="textFormat">
       
   209          <enum>Qt::RichText</enum>
       
   210         </property>
       
   211         <property name="wordWrap">
       
   212          <bool>true</bool>
       
   213         </property>
       
   214         <property name="textInteractionFlags">
       
   215          <set>Qt::NoTextInteraction</set>
       
   216         </property>
       
   217        </widget>
       
   218       </item>
       
   219      </layout>
       
   220     </widget>
       
   221    </item>
       
   222   </layout>
       
   223  </widget>
       
   224  <resources/>
       
   225  <connections/>
       
   226 </ui>