qtmobility/tests/cameracapture_s60/cameracapture.ui
changeset 4 90517678cc4f
parent 1 2b40d63a9c3d
child 5 453da2cfceef
equal deleted inserted replaced
1:2b40d63a9c3d 4:90517678cc4f
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <ui version="4.0">
       
     3  <class>CameraCapture</class>
       
     4  <widget class="QMainWindow" name="CameraCapture">
       
     5   <property name="geometry">
       
     6    <rect>
       
     7     <x>0</x>
       
     8     <y>0</y>
       
     9     <width>300</width>
       
    10     <height>383</height>
       
    11    </rect>
       
    12   </property>
       
    13   <property name="windowTitle">
       
    14    <string>MainWindow</string>
       
    15   </property>
       
    16   <widget class="QWidget" name="centralwidget">
       
    17    <layout class="QVBoxLayout" name="verticalLayout_2">
       
    18     <item>
       
    19      <widget class="QWidget" name="widget" native="true">
       
    20       <layout class="QVBoxLayout" name="verticalLayout">
       
    21        <item>
       
    22         <layout class="QHBoxLayout" name="horizontalLayout" stretch="3,3">
       
    23          <item>
       
    24           <widget class="QStackedWidget" name="stackedWidget">
       
    25            <property name="sizePolicy">
       
    26             <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
       
    27              <horstretch>0</horstretch>
       
    28              <verstretch>0</verstretch>
       
    29             </sizepolicy>
       
    30            </property>
       
    31            <property name="palette">
       
    32             <palette>
       
    33              <active>
       
    34               <colorrole role="Base">
       
    35                <brush brushstyle="SolidPattern">
       
    36                 <color alpha="255">
       
    37                  <red>255</red>
       
    38                  <green>255</green>
       
    39                  <blue>255</blue>
       
    40                 </color>
       
    41                </brush>
       
    42               </colorrole>
       
    43               <colorrole role="Window">
       
    44                <brush brushstyle="SolidPattern">
       
    45                 <color alpha="255">
       
    46                  <red>145</red>
       
    47                  <green>145</green>
       
    48                  <blue>145</blue>
       
    49                 </color>
       
    50                </brush>
       
    51               </colorrole>
       
    52              </active>
       
    53              <inactive>
       
    54               <colorrole role="Base">
       
    55                <brush brushstyle="SolidPattern">
       
    56                 <color alpha="255">
       
    57                  <red>255</red>
       
    58                  <green>255</green>
       
    59                  <blue>255</blue>
       
    60                 </color>
       
    61                </brush>
       
    62               </colorrole>
       
    63               <colorrole role="Window">
       
    64                <brush brushstyle="SolidPattern">
       
    65                 <color alpha="255">
       
    66                  <red>145</red>
       
    67                  <green>145</green>
       
    68                  <blue>145</blue>
       
    69                 </color>
       
    70                </brush>
       
    71               </colorrole>
       
    72              </inactive>
       
    73              <disabled>
       
    74               <colorrole role="Base">
       
    75                <brush brushstyle="SolidPattern">
       
    76                 <color alpha="255">
       
    77                  <red>145</red>
       
    78                  <green>145</green>
       
    79                  <blue>145</blue>
       
    80                 </color>
       
    81                </brush>
       
    82               </colorrole>
       
    83               <colorrole role="Window">
       
    84                <brush brushstyle="SolidPattern">
       
    85                 <color alpha="255">
       
    86                  <red>145</red>
       
    87                  <green>145</green>
       
    88                  <blue>145</blue>
       
    89                 </color>
       
    90                </brush>
       
    91               </colorrole>
       
    92              </disabled>
       
    93             </palette>
       
    94            </property>
       
    95            <property name="currentIndex">
       
    96             <number>-1</number>
       
    97            </property>
       
    98           </widget>
       
    99          </item>
       
   100          <item>
       
   101           <widget class="QLabel" name="lastImagePreviewLabel">
       
   102            <property name="sizePolicy">
       
   103             <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
       
   104              <horstretch>0</horstretch>
       
   105              <verstretch>0</verstretch>
       
   106             </sizepolicy>
       
   107            </property>
       
   108            <property name="text">
       
   109             <string/>
       
   110            </property>
       
   111           </widget>
       
   112          </item>
       
   113         </layout>
       
   114        </item>
       
   115        <item>
       
   116         <layout class="QHBoxLayout" name="horizontalLayout_2" stretch="0,0">
       
   117          <item>
       
   118           <widget class="QToolButton" name="startCameraButton">
       
   119            <property name="sizePolicy">
       
   120             <sizepolicy hsizetype="Minimum" vsizetype="Maximum">
       
   121              <horstretch>0</horstretch>
       
   122              <verstretch>0</verstretch>
       
   123             </sizepolicy>
       
   124            </property>
       
   125            <property name="minimumSize">
       
   126             <size>
       
   127              <width>1</width>
       
   128              <height>1</height>
       
   129             </size>
       
   130            </property>
       
   131            <property name="text">
       
   132             <string>Start camera</string>
       
   133            </property>
       
   134            <property name="checkable">
       
   135             <bool>true</bool>
       
   136            </property>
       
   137            <property name="checked">
       
   138             <bool>false</bool>
       
   139            </property>
       
   140           </widget>
       
   141          </item>
       
   142          <item>
       
   143           <widget class="QToolButton" name="takeImageButton">
       
   144            <property name="enabled">
       
   145             <bool>false</bool>
       
   146            </property>
       
   147            <property name="sizePolicy">
       
   148             <sizepolicy hsizetype="Minimum" vsizetype="Maximum">
       
   149              <horstretch>0</horstretch>
       
   150              <verstretch>0</verstretch>
       
   151             </sizepolicy>
       
   152            </property>
       
   153            <property name="minimumSize">
       
   154             <size>
       
   155              <width>1</width>
       
   156              <height>1</height>
       
   157             </size>
       
   158            </property>
       
   159            <property name="text">
       
   160             <string>Take Image</string>
       
   161            </property>
       
   162           </widget>
       
   163          </item>
       
   164         </layout>
       
   165        </item>
       
   166        <item>
       
   167         <layout class="QHBoxLayout" name="horizontalLayout_3" stretch="0,0,0">
       
   168          <item>
       
   169           <widget class="QToolButton" name="stopButton">
       
   170            <property name="sizePolicy">
       
   171             <sizepolicy hsizetype="Minimum" vsizetype="Maximum">
       
   172              <horstretch>0</horstretch>
       
   173              <verstretch>0</verstretch>
       
   174             </sizepolicy>
       
   175            </property>
       
   176            <property name="minimumSize">
       
   177             <size>
       
   178              <width>1</width>
       
   179              <height>1</height>
       
   180             </size>
       
   181            </property>
       
   182            <property name="text">
       
   183             <string>Stop</string>
       
   184            </property>
       
   185           </widget>
       
   186          </item>
       
   187          <item>
       
   188           <widget class="QToolButton" name="pauseButton">
       
   189            <property name="sizePolicy">
       
   190             <sizepolicy hsizetype="Minimum" vsizetype="Maximum">
       
   191              <horstretch>0</horstretch>
       
   192              <verstretch>0</verstretch>
       
   193             </sizepolicy>
       
   194            </property>
       
   195            <property name="minimumSize">
       
   196             <size>
       
   197              <width>1</width>
       
   198              <height>1</height>
       
   199             </size>
       
   200            </property>
       
   201            <property name="text">
       
   202             <string>Pause</string>
       
   203            </property>
       
   204           </widget>
       
   205          </item>
       
   206          <item>
       
   207           <widget class="QToolButton" name="recordButton">
       
   208            <property name="sizePolicy">
       
   209             <sizepolicy hsizetype="Minimum" vsizetype="Maximum">
       
   210              <horstretch>0</horstretch>
       
   211              <verstretch>0</verstretch>
       
   212             </sizepolicy>
       
   213            </property>
       
   214            <property name="minimumSize">
       
   215             <size>
       
   216              <width>1</width>
       
   217              <height>1</height>
       
   218             </size>
       
   219            </property>
       
   220            <property name="text">
       
   221             <string>Record</string>
       
   222            </property>
       
   223           </widget>
       
   224          </item>
       
   225         </layout>
       
   226        </item>
       
   227       </layout>
       
   228      </widget>
       
   229     </item>
       
   230    </layout>
       
   231   </widget>
       
   232   <widget class="QMenuBar" name="menubar">
       
   233    <property name="geometry">
       
   234     <rect>
       
   235      <x>0</x>
       
   236      <y>0</y>
       
   237      <width>300</width>
       
   238      <height>18</height>
       
   239     </rect>
       
   240    </property>
       
   241    <widget class="QMenu" name="menuFile">
       
   242     <property name="title">
       
   243      <string>File</string>
       
   244     </property>
       
   245     <addaction name="actionExit"/>
       
   246    </widget>
       
   247    <widget class="QMenu" name="menuDevices">
       
   248     <property name="title">
       
   249      <string>Devices</string>
       
   250     </property>
       
   251     <addaction name="separator"/>
       
   252     <addaction name="actionSettings"/>
       
   253     <addaction name="separator"/>
       
   254     <addaction name="actionCamera"/>
       
   255     <addaction name="actionAudio"/>
       
   256    </widget>
       
   257    <widget class="QMenu" name="menuFlash">
       
   258     <property name="title">
       
   259      <string>Settings</string>
       
   260     </property>
       
   261     <widget class="QMenu" name="menuFlash_On">
       
   262      <property name="title">
       
   263       <string>Flash</string>
       
   264      </property>
       
   265      <addaction name="actionFlash_On_2"/>
       
   266      <addaction name="actionFlash_Off"/>
       
   267      <addaction name="actionFlash_auto"/>
       
   268      <addaction name="actionRed_eye"/>
       
   269      <addaction name="actionFlash_FillIn"/>
       
   270     </widget>
       
   271     <widget class="QMenu" name="menuFocus">
       
   272      <property name="title">
       
   273       <string>Focus</string>
       
   274      </property>
       
   275      <addaction name="action_Focus_On"/>
       
   276      <addaction name="action_Focus_Off"/>
       
   277     </widget>
       
   278     <widget class="QMenu" name="menuExposure">
       
   279      <property name="title">
       
   280       <string>Exposure</string>
       
   281      </property>
       
   282      <addaction name="actionNight"/>
       
   283      <addaction name="actionBacklight"/>
       
   284      <addaction name="actionSport"/>
       
   285      <addaction name="actionBeach"/>
       
   286     </widget>
       
   287     <widget class="QMenu" name="menuWhiteBalance">
       
   288      <property name="title">
       
   289       <string>WhiteBalance</string>
       
   290      </property>
       
   291      <addaction name="actionAuto"/>
       
   292      <addaction name="actionSunlight"/>
       
   293      <addaction name="actionCloudy"/>
       
   294      <addaction name="actionTungsten"/>
       
   295     </widget>
       
   296     <addaction name="menuFlash_On"/>
       
   297     <addaction name="menuFocus"/>
       
   298     <addaction name="menuExposure"/>
       
   299     <addaction name="menuWhiteBalance"/>
       
   300    </widget>
       
   301    <addaction name="menuFile"/>
       
   302    <addaction name="menuDevices"/>
       
   303    <addaction name="menuFlash"/>
       
   304   </widget>
       
   305   <widget class="QStatusBar" name="statusbar"/>
       
   306   <action name="actionExit">
       
   307    <property name="text">
       
   308     <string>Exit</string>
       
   309    </property>
       
   310   </action>
       
   311   <action name="actionSettings">
       
   312    <property name="text">
       
   313     <string>Settings</string>
       
   314    </property>
       
   315   </action>
       
   316   <action name="actionCamera">
       
   317    <property name="text">
       
   318     <string>Camera</string>
       
   319    </property>
       
   320   </action>
       
   321   <action name="actionAudio">
       
   322    <property name="text">
       
   323     <string>Audio</string>
       
   324    </property>
       
   325   </action>
       
   326   <action name="actionFlash_On_2">
       
   327    <property name="text">
       
   328     <string>Flash On</string>
       
   329    </property>
       
   330   </action>
       
   331   <action name="actionFlash_Off">
       
   332    <property name="text">
       
   333     <string>Flash Off</string>
       
   334    </property>
       
   335   </action>
       
   336   <action name="actionFlash_auto">
       
   337    <property name="text">
       
   338     <string>Flash Auto</string>
       
   339    </property>
       
   340   </action>
       
   341   <action name="actionRed_eye">
       
   342    <property name="text">
       
   343     <string>Red Eye</string>
       
   344    </property>
       
   345   </action>
       
   346   <action name="actionFlash_FillIn">
       
   347    <property name="text">
       
   348     <string>Flash FillIn</string>
       
   349    </property>
       
   350   </action>
       
   351   <action name="action_Focus_On">
       
   352    <property name="text">
       
   353     <string>Focus On (auto)</string>
       
   354    </property>
       
   355   </action>
       
   356   <action name="action_Focus_Off">
       
   357    <property name="text">
       
   358     <string>Focus Off (auto)</string>
       
   359    </property>
       
   360   </action>
       
   361   <action name="actionNight">
       
   362    <property name="text">
       
   363     <string>Night</string>
       
   364    </property>
       
   365   </action>
       
   366   <action name="actionBacklight">
       
   367    <property name="text">
       
   368     <string>Backlight</string>
       
   369    </property>
       
   370   </action>
       
   371   <action name="actionSport">
       
   372    <property name="text">
       
   373     <string>Sport</string>
       
   374    </property>
       
   375   </action>
       
   376   <action name="actionBeach">
       
   377    <property name="text">
       
   378     <string>Beach</string>
       
   379    </property>
       
   380   </action>
       
   381   <action name="actionAuto">
       
   382    <property name="text">
       
   383     <string>Auto</string>
       
   384    </property>
       
   385   </action>
       
   386   <action name="actionSunlight">
       
   387    <property name="text">
       
   388     <string>Sunlight</string>
       
   389    </property>
       
   390   </action>
       
   391   <action name="actionCloudy">
       
   392    <property name="text">
       
   393     <string>Cloudy</string>
       
   394    </property>
       
   395   </action>
       
   396   <action name="actionTungsten">
       
   397    <property name="text">
       
   398     <string>Tungsten</string>
       
   399    </property>
       
   400   </action>
       
   401  </widget>
       
   402  <resources/>
       
   403  <connections>
       
   404   <connection>
       
   405    <sender>actionExit</sender>
       
   406    <signal>triggered()</signal>
       
   407    <receiver>CameraCapture</receiver>
       
   408    <slot>close()</slot>
       
   409    <hints>
       
   410     <hint type="sourcelabel">
       
   411      <x>-1</x>
       
   412      <y>-1</y>
       
   413     </hint>
       
   414     <hint type="destinationlabel">
       
   415      <x>154</x>
       
   416      <y>130</y>
       
   417     </hint>
       
   418    </hints>
       
   419   </connection>
       
   420   <connection>
       
   421    <sender>actionSettings</sender>
       
   422    <signal>triggered()</signal>
       
   423    <receiver>CameraCapture</receiver>
       
   424    <slot>settings()</slot>
       
   425    <hints>
       
   426     <hint type="sourcelabel">
       
   427      <x>-1</x>
       
   428      <y>-1</y>
       
   429     </hint>
       
   430     <hint type="destinationlabel">
       
   431      <x>242</x>
       
   432      <y>206</y>
       
   433     </hint>
       
   434    </hints>
       
   435   </connection>
       
   436   <connection>
       
   437    <sender>startCameraButton</sender>
       
   438    <signal>clicked()</signal>
       
   439    <receiver>CameraCapture</receiver>
       
   440    <slot>toggleCamera()</slot>
       
   441    <hints>
       
   442     <hint type="sourcelabel">
       
   443      <x>82</x>
       
   444      <y>309</y>
       
   445     </hint>
       
   446     <hint type="destinationlabel">
       
   447      <x>149</x>
       
   448      <y>191</y>
       
   449     </hint>
       
   450    </hints>
       
   451   </connection>
       
   452   <connection>
       
   453    <sender>stopButton</sender>
       
   454    <signal>clicked()</signal>
       
   455    <receiver>CameraCapture</receiver>
       
   456    <slot>stop()</slot>
       
   457    <hints>
       
   458     <hint type="sourcelabel">
       
   459      <x>60</x>
       
   460      <y>336</y>
       
   461     </hint>
       
   462     <hint type="destinationlabel">
       
   463      <x>149</x>
       
   464      <y>191</y>
       
   465     </hint>
       
   466    </hints>
       
   467   </connection>
       
   468   <connection>
       
   469    <sender>pauseButton</sender>
       
   470    <signal>clicked()</signal>
       
   471    <receiver>CameraCapture</receiver>
       
   472    <slot>pause()</slot>
       
   473    <hints>
       
   474     <hint type="sourcelabel">
       
   475      <x>149</x>
       
   476      <y>336</y>
       
   477     </hint>
       
   478     <hint type="destinationlabel">
       
   479      <x>149</x>
       
   480      <y>191</y>
       
   481     </hint>
       
   482    </hints>
       
   483   </connection>
       
   484   <connection>
       
   485    <sender>recordButton</sender>
       
   486    <signal>clicked()</signal>
       
   487    <receiver>CameraCapture</receiver>
       
   488    <slot>record()</slot>
       
   489    <hints>
       
   490     <hint type="sourcelabel">
       
   491      <x>239</x>
       
   492      <y>336</y>
       
   493     </hint>
       
   494     <hint type="destinationlabel">
       
   495      <x>149</x>
       
   496      <y>191</y>
       
   497     </hint>
       
   498    </hints>
       
   499   </connection>
       
   500   <connection>
       
   501    <sender>takeImageButton</sender>
       
   502    <signal>clicked()</signal>
       
   503    <receiver>CameraCapture</receiver>
       
   504    <slot>takeImage()</slot>
       
   505    <hints>
       
   506     <hint type="sourcelabel">
       
   507      <x>216</x>
       
   508      <y>309</y>
       
   509     </hint>
       
   510     <hint type="destinationlabel">
       
   511      <x>149</x>
       
   512      <y>191</y>
       
   513     </hint>
       
   514    </hints>
       
   515   </connection>
       
   516  </connections>
       
   517  <slots>
       
   518   <slot>record()</slot>
       
   519   <slot>pause()</slot>
       
   520   <slot>stop()</slot>
       
   521   <slot>enablePreview(bool)</slot>
       
   522   <slot>settings()</slot>
       
   523   <slot>takeImage()</slot>
       
   524   <slot>toggleCamera()</slot>
       
   525  </slots>
       
   526 </ui>