configurationwidget.ui 15.2 KB
Newer Older
Edric Milaret's avatar
Edric Milaret committed
1 2 3 4 5 6 7 8
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>ConfigurationWidget</class>
 <widget class="QWidget" name="ConfigurationWidget">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
9 10
    <width>558</width>
    <height>342</height>
Edric Milaret's avatar
Edric Milaret committed
11 12 13 14 15 16 17 18 19
   </rect>
  </property>
  <property name="sizePolicy">
   <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
    <horstretch>0</horstretch>
    <verstretch>0</verstretch>
   </sizepolicy>
  </property>
  <property name="windowTitle">
20
   <string>Settings</string>
Edric Milaret's avatar
Edric Milaret committed
21
  </property>
22
  <layout class="QVBoxLayout" name="verticalLayout">
Edric Milaret's avatar
Edric Milaret committed
23 24
   <item>
    <widget class="QTabWidget" name="tabWidget">
25 26 27 28 29 30
     <property name="sizePolicy">
      <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
       <horstretch>0</horstretch>
       <verstretch>0</verstretch>
      </sizepolicy>
     </property>
Edric Milaret's avatar
Edric Milaret committed
31
     <property name="currentIndex">
32
      <number>0</number>
Edric Milaret's avatar
Edric Milaret committed
33
     </property>
34 35 36 37 38
     <widget class="QWidget" name="generalTab">
      <attribute name="title">
       <string>General</string>
      </attribute>
      <layout class="QVBoxLayout" name="verticalLayout_2">
39 40 41
       <property name="spacing">
        <number>10</number>
       </property>
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87
       <item>
        <widget class="QLabel" name="label">
         <property name="font">
          <font>
           <weight>75</weight>
           <bold>true</bold>
          </font>
         </property>
         <property name="text">
          <string>History Settings</string>
         </property>
        </widget>
       </item>
       <item>
        <layout class="QFormLayout" name="formLayout_2">
         <item row="0" column="0">
          <widget class="QLabel" name="label_2">
           <property name="text">
            <string>Keep History for (days)</string>
           </property>
          </widget>
         </item>
         <item row="0" column="1">
          <layout class="QHBoxLayout" name="horizontalLayout_3">
           <item>
            <widget class="QSpinBox" name="historyDaySettingsSpinBox">
             <property name="minimumSize">
              <size>
               <width>100</width>
               <height>0</height>
              </size>
             </property>
            </widget>
           </item>
           <item>
            <widget class="QLabel" name="label_4">
             <property name="text">
              <string>(Set to 0 for unlimited history)</string>
             </property>
            </widget>
           </item>
           <item>
            <spacer name="horizontalSpacer_2">
             <property name="orientation">
              <enum>Qt::Horizontal</enum>
             </property>
88 89 90
             <property name="sizeType">
              <enum>QSizePolicy::MinimumExpanding</enum>
             </property>
91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135
             <property name="sizeHint" stdset="0">
              <size>
               <width>40</width>
               <height>20</height>
              </size>
             </property>
            </spacer>
           </item>
          </layout>
         </item>
         <item row="1" column="0">
          <widget class="QPushButton" name="clearHistoryButton">
           <property name="text">
            <string>Clear History</string>
           </property>
          </widget>
         </item>
        </layout>
       </item>
       <item>
        <widget class="QLabel" name="label_3">
         <property name="font">
          <font>
           <weight>75</weight>
           <bold>true</bold>
          </font>
         </property>
         <property name="text">
          <string>Ringtones Selection</string>
         </property>
        </widget>
       </item>
       <item>
        <layout class="QHBoxLayout" name="horizontalLayout_4">
         <property name="topMargin">
          <number>0</number>
         </property>
         <item>
          <widget class="QComboBox" name="ringtonesBox"/>
         </item>
         <item>
          <spacer name="horizontalSpacer_3">
           <property name="orientation">
            <enum>Qt::Horizontal</enum>
           </property>
136 137 138
           <property name="sizeType">
            <enum>QSizePolicy::MinimumExpanding</enum>
           </property>
139 140
           <property name="sizeHint" stdset="0">
            <size>
141
             <width>20</width>
142 143 144 145 146 147 148
             <height>20</height>
            </size>
           </property>
          </spacer>
         </item>
        </layout>
       </item>
149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168
       <item>
        <widget class="QLabel" name="label_5">
         <property name="font">
          <font>
           <weight>75</weight>
           <bold>true</bold>
          </font>
         </property>
         <property name="text">
          <string>Misc. Settings</string>
         </property>
        </widget>
       </item>
       <item>
        <widget class="QCheckBox" name="closeOrMinCheckBox">
         <property name="text">
          <string>Keep minimized on close</string>
         </property>
        </widget>
       </item>
169 170 171 172 173
       <item>
        <spacer name="verticalSpacer_2">
         <property name="orientation">
          <enum>Qt::Vertical</enum>
         </property>
174 175 176
         <property name="sizeType">
          <enum>QSizePolicy::MinimumExpanding</enum>
         </property>
177 178 179 180 181 182 183 184 185 186
         <property name="sizeHint" stdset="0">
          <size>
           <width>20</width>
           <height>40</height>
          </size>
         </property>
        </spacer>
       </item>
      </layout>
     </widget>
Edric Milaret's avatar
Edric Milaret committed
187 188 189 190
     <widget class="QWidget" name="videoTab">
      <attribute name="title">
       <string>Video</string>
      </attribute>
191
      <layout class="QGridLayout" name="gridLayout" rowstretch="0,1" columnstretch="0,0">
Edric Milaret's avatar
Edric Milaret committed
192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208
       <item row="0" column="0">
        <layout class="QVBoxLayout" name="verticalLayout_3">
         <property name="spacing">
          <number>0</number>
         </property>
         <property name="sizeConstraint">
          <enum>QLayout::SetFixedSize</enum>
         </property>
         <property name="topMargin">
          <number>10</number>
         </property>
         <property name="rightMargin">
          <number>0</number>
         </property>
         <property name="bottomMargin">
          <number>0</number>
         </property>
Edric Milaret's avatar
Edric Milaret committed
209 210 211
         <item>
          <widget class="QLabel" name="deviceSelecLabel">
           <property name="sizePolicy">
212
            <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
Edric Milaret's avatar
Edric Milaret committed
213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240
             <horstretch>0</horstretch>
             <verstretch>0</verstretch>
            </sizepolicy>
           </property>
           <property name="maximumSize">
            <size>
             <width>16777215</width>
             <height>20</height>
            </size>
           </property>
           <property name="font">
            <font>
             <pointsize>11</pointsize>
             <weight>75</weight>
             <bold>true</bold>
            </font>
           </property>
           <property name="text">
            <string>Device Selection</string>
           </property>
          </widget>
         </item>
         <item>
          <spacer name="verticalSpacer">
           <property name="orientation">
            <enum>Qt::Vertical</enum>
           </property>
           <property name="sizeType">
241
            <enum>QSizePolicy::Minimum</enum>
Edric Milaret's avatar
Edric Milaret committed
242 243 244 245 246 247 248 249 250
           </property>
           <property name="sizeHint" stdset="0">
            <size>
             <width>20</width>
             <height>15</height>
            </size>
           </property>
          </spacer>
         </item>
Edric Milaret's avatar
Edric Milaret committed
251 252 253 254 255
         <item>
          <layout class="QFormLayout" name="formLayout">
           <property name="sizeConstraint">
            <enum>QLayout::SetDefaultConstraint</enum>
           </property>
Edric Milaret's avatar
Edric Milaret committed
256 257 258 259 260
           <property name="horizontalSpacing">
            <number>15</number>
           </property>
           <property name="verticalSpacing">
            <number>6</number>
Edric Milaret's avatar
Edric Milaret committed
261 262 263
           </property>
           <item row="3" column="0">
            <widget class="QLabel" name="deviceLabel">
264 265 266 267 268 269
             <property name="sizePolicy">
              <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
               <horstretch>0</horstretch>
               <verstretch>0</verstretch>
              </sizepolicy>
             </property>
Edric Milaret's avatar
Edric Milaret committed
270 271 272 273 274 275
             <property name="text">
              <string>Device</string>
             </property>
            </widget>
           </item>
           <item row="3" column="1">
276 277 278 279 280 281 282 283
            <widget class="QComboBox" name="deviceBox">
             <property name="sizePolicy">
              <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
               <horstretch>0</horstretch>
               <verstretch>0</verstretch>
              </sizepolicy>
             </property>
            </widget>
Edric Milaret's avatar
Edric Milaret committed
284 285 286
           </item>
           <item row="4" column="0">
            <widget class="QLabel" name="resolutionLabel">
287 288 289 290 291 292
             <property name="sizePolicy">
              <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
               <horstretch>0</horstretch>
               <verstretch>0</verstretch>
              </sizepolicy>
             </property>
Edric Milaret's avatar
Edric Milaret committed
293 294 295 296 297 298
             <property name="text">
              <string>Resolution</string>
             </property>
            </widget>
           </item>
           <item row="4" column="1">
299 300 301 302 303 304 305 306
            <widget class="QComboBox" name="sizeBox">
             <property name="sizePolicy">
              <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
               <horstretch>0</horstretch>
               <verstretch>0</verstretch>
              </sizepolicy>
             </property>
            </widget>
Edric Milaret's avatar
Edric Milaret committed
307 308 309
           </item>
           <item row="5" column="0">
            <widget class="QLabel" name="framerateLabel">
310 311 312 313 314 315
             <property name="sizePolicy">
              <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
               <horstretch>0</horstretch>
               <verstretch>0</verstretch>
              </sizepolicy>
             </property>
Edric Milaret's avatar
Edric Milaret committed
316 317 318 319 320 321
             <property name="text">
              <string>Framerate</string>
             </property>
            </widget>
           </item>
           <item row="5" column="1">
322 323 324 325 326 327 328 329
            <widget class="QComboBox" name="rateBox">
             <property name="sizePolicy">
              <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
               <horstretch>0</horstretch>
               <verstretch>0</verstretch>
              </sizepolicy>
             </property>
            </widget>
Edric Milaret's avatar
Edric Milaret committed
330 331 332 333 334 335 336 337 338
           </item>
          </layout>
         </item>
        </layout>
       </item>
       <item row="1" column="0" colspan="2">
        <layout class="QVBoxLayout" name="verticalLayout_4">
         <item>
          <widget class="VideoWidget" name="videoView" native="true">
339 340 341 342 343 344
           <property name="sizePolicy">
            <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
             <horstretch>0</horstretch>
             <verstretch>0</verstretch>
            </sizepolicy>
           </property>
Edric Milaret's avatar
Edric Milaret committed
345 346
           <property name="minimumSize">
            <size>
347 348
             <width>0</width>
             <height>0</height>
Edric Milaret's avatar
Edric Milaret committed
349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378
            </size>
           </property>
          </widget>
         </item>
         <item>
          <widget class="QLabel" name="cameraPreviewLabel">
           <property name="maximumSize">
            <size>
             <width>16777215</width>
             <height>20</height>
            </size>
           </property>
           <property name="font">
            <font>
             <weight>75</weight>
             <bold>true</bold>
            </font>
           </property>
           <property name="text">
            <string>Camera Preview</string>
           </property>
          </widget>
         </item>
        </layout>
       </item>
       <item row="0" column="1">
        <spacer name="horizontalSpacer">
         <property name="orientation">
          <enum>Qt::Horizontal</enum>
         </property>
379 380 381
         <property name="sizeType">
          <enum>QSizePolicy::MinimumExpanding</enum>
         </property>
Edric Milaret's avatar
Edric Milaret committed
382 383
         <property name="sizeHint" stdset="0">
          <size>
384
           <width>10</width>
Edric Milaret's avatar
Edric Milaret committed
385 386 387 388 389 390 391 392 393 394 395 396 397 398 399
           <height>20</height>
          </size>
         </property>
        </spacer>
       </item>
      </layout>
     </widget>
     <widget class="QWidget" name="accountTab">
      <attribute name="title">
       <string>Account</string>
      </attribute>
      <layout class="QGridLayout" name="gridLayout_2" columnstretch="0,1">
       <item row="0" column="0">
        <layout class="QVBoxLayout" name="verticalLayout_5">
         <item>
400 401 402 403 404 405 406 407
          <widget class="QListView" name="accountView">
           <property name="sizePolicy">
            <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
             <horstretch>0</horstretch>
             <verstretch>0</verstretch>
            </sizepolicy>
           </property>
          </widget>
Edric Milaret's avatar
Edric Milaret committed
408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440
         </item>
         <item>
          <layout class="QHBoxLayout" name="horizontalLayout_2">
           <item>
            <widget class="QToolButton" name="deleteAccountButton">
             <property name="text">
              <string/>
             </property>
             <property name="icon">
              <iconset resource="ressources.qrc">
               <normaloff>:/images/minus.png</normaloff>:/images/minus.png</iconset>
             </property>
            </widget>
           </item>
           <item>
            <widget class="QToolButton" name="addAccountButton">
             <property name="text">
              <string/>
             </property>
             <property name="icon">
              <iconset resource="ressources.qrc">
               <normaloff>:/images/plus.png</normaloff>:/images/plus.png</iconset>
             </property>
            </widget>
           </item>
           <item>
            <widget class="QComboBox" name="accountTypeBox"/>
           </item>
          </layout>
         </item>
        </layout>
       </item>
       <item row="0" column="1">
Edric Milaret's avatar
Edric Milaret committed
441 442 443 444 445
        <layout class="QVBoxLayout" name="accountDetailLayout">
         <property name="bottomMargin">
          <number>13</number>
         </property>
        </layout>
Edric Milaret's avatar
Edric Milaret committed
446 447 448 449 450
       </item>
      </layout>
     </widget>
    </widget>
   </item>
451
   <item>
452 453 454
    <layout class="QHBoxLayout" name="horizontalLayout">
     <property name="topMargin">
      <number>0</number>
455
     </property>
456 457
     <property name="rightMargin">
      <number>10</number>
458
     </property>
459 460
     <item alignment="Qt::AlignRight">
      <widget class="QCheckBox" name="startupBox">
461 462 463 464 465 466
       <property name="sizePolicy">
        <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
         <horstretch>0</horstretch>
         <verstretch>0</verstretch>
        </sizepolicy>
       </property>
467 468 469 470 471 472 473 474 475
       <property name="layoutDirection">
        <enum>Qt::LeftToRight</enum>
       </property>
       <property name="text">
        <string>Launch Ring on Startup</string>
       </property>
      </widget>
     </item>
    </layout>
476
   </item>
Edric Milaret's avatar
Edric Milaret committed
477 478 479 480 481 482 483 484 485 486 487 488 489 490 491
  </layout>
 </widget>
 <customwidgets>
  <customwidget>
   <class>VideoWidget</class>
   <extends>QWidget</extends>
   <header>videowidget.h</header>
   <container>1</container>
  </customwidget>
 </customwidgets>
 <resources>
  <include location="ressources.qrc"/>
 </resources>
 <connections/>
</ui>