configurationwidget.ui 16.2 KB
Newer Older
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
    <width>558</width>
10
    <height>475</height>
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>
21
  </property>
22
  <layout class="QVBoxLayout" name="verticalLayout">
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>
31
     <property name="currentIndex">
32
      <number>0</number>
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
             <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>
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129
       <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>
130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203
       <item>
        <layout class="QHBoxLayout" name="horizontalLayout_6">
         <property name="topMargin">
          <number>0</number>
         </property>
         <item>
          <widget class="QCheckBox" name="autoUpdateCheckBox">
           <property name="text">
            <string>Check for update automatically every</string>
           </property>
          </widget>
         </item>
         <item>
          <widget class="QSpinBox" name="intervalUpdateCheckSpinBox">
           <property name="enabled">
            <bool>false</bool>
           </property>
           <property name="maximumSize">
            <size>
             <width>60</width>
             <height>16777215</height>
            </size>
           </property>
          </widget>
         </item>
         <item>
          <widget class="QLabel" name="updateDayLabel">
           <property name="text">
            <string>days</string>
           </property>
          </widget>
         </item>
         <item>
          <spacer name="horizontalSpacer_5">
           <property name="orientation">
            <enum>Qt::Horizontal</enum>
           </property>
           <property name="sizeHint" stdset="0">
            <size>
             <width>40</width>
             <height>20</height>
            </size>
           </property>
          </spacer>
         </item>
        </layout>
       </item>
       <item>
        <layout class="QHBoxLayout" name="horizontalLayout_5">
         <property name="topMargin">
          <number>0</number>
         </property>
         <item>
          <widget class="QPushButton" name="checkUpdateButton">
           <property name="text">
            <string>Check for updates</string>
           </property>
          </widget>
         </item>
         <item>
          <spacer name="horizontalSpacer_4">
           <property name="orientation">
            <enum>Qt::Horizontal</enum>
           </property>
           <property name="sizeHint" stdset="0">
            <size>
             <width>40</width>
             <height>20</height>
            </size>
           </property>
          </spacer>
         </item>
        </layout>
       </item>
204 205 206 207 208
       <item>
        <spacer name="verticalSpacer_2">
         <property name="orientation">
          <enum>Qt::Vertical</enum>
         </property>
209 210 211
         <property name="sizeType">
          <enum>QSizePolicy::MinimumExpanding</enum>
         </property>
212 213 214 215 216 217 218 219 220 221
         <property name="sizeHint" stdset="0">
          <size>
           <width>20</width>
           <height>40</height>
          </size>
         </property>
        </spacer>
       </item>
      </layout>
     </widget>
222 223 224 225
     <widget class="QWidget" name="videoTab">
      <attribute name="title">
       <string>Video</string>
      </attribute>
226
      <layout class="QGridLayout" name="gridLayout" rowstretch="0,1" columnstretch="0,0">
227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243
       <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>
244 245 246
         <item>
          <widget class="QLabel" name="deviceSelecLabel">
           <property name="sizePolicy">
247
            <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275
             <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">
276
            <enum>QSizePolicy::Minimum</enum>
277 278 279 280 281 282 283 284 285
           </property>
           <property name="sizeHint" stdset="0">
            <size>
             <width>20</width>
             <height>15</height>
            </size>
           </property>
          </spacer>
         </item>
286 287 288 289 290
         <item>
          <layout class="QFormLayout" name="formLayout">
           <property name="sizeConstraint">
            <enum>QLayout::SetDefaultConstraint</enum>
           </property>
291 292 293 294 295
           <property name="horizontalSpacing">
            <number>15</number>
           </property>
           <property name="verticalSpacing">
            <number>6</number>
296 297 298
           </property>
           <item row="3" column="0">
            <widget class="QLabel" name="deviceLabel">
299 300 301 302 303 304
             <property name="sizePolicy">
              <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
               <horstretch>0</horstretch>
               <verstretch>0</verstretch>
              </sizepolicy>
             </property>
305 306 307 308 309 310
             <property name="text">
              <string>Device</string>
             </property>
            </widget>
           </item>
           <item row="3" column="1">
311 312 313 314 315 316 317 318
            <widget class="QComboBox" name="deviceBox">
             <property name="sizePolicy">
              <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
               <horstretch>0</horstretch>
               <verstretch>0</verstretch>
              </sizepolicy>
             </property>
            </widget>
319 320 321
           </item>
           <item row="4" column="0">
            <widget class="QLabel" name="resolutionLabel">
322 323 324 325 326 327
             <property name="sizePolicy">
              <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
               <horstretch>0</horstretch>
               <verstretch>0</verstretch>
              </sizepolicy>
             </property>
328 329 330 331 332 333
             <property name="text">
              <string>Resolution</string>
             </property>
            </widget>
           </item>
           <item row="4" column="1">
334 335 336 337 338 339 340 341
            <widget class="QComboBox" name="sizeBox">
             <property name="sizePolicy">
              <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
               <horstretch>0</horstretch>
               <verstretch>0</verstretch>
              </sizepolicy>
             </property>
            </widget>
342 343 344 345 346 347 348 349 350
           </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">
351 352 353 354 355 356
           <property name="sizePolicy">
            <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
             <horstretch>0</horstretch>
             <verstretch>0</verstretch>
            </sizepolicy>
           </property>
357 358
           <property name="minimumSize">
            <size>
359 360
             <width>0</width>
             <height>0</height>
361 362 363 364
            </size>
           </property>
          </widget>
         </item>
365 366 367 368 369 370 371 372 373 374 375 376 377 378
         <item alignment="Qt::AlignHCenter|Qt::AlignVCenter">
          <widget class="QLabel" name="previewUnavailable">
           <property name="font">
            <font>
             <pointsize>13</pointsize>
             <weight>75</weight>
             <bold>true</bold>
            </font>
           </property>
           <property name="text">
            <string>Preview unavailable during call</string>
           </property>
          </widget>
         </item>
379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404
         <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>
405 406 407
         <property name="sizeType">
          <enum>QSizePolicy::MinimumExpanding</enum>
         </property>
408 409
         <property name="sizeHint" stdset="0">
          <size>
410
           <width>10</width>
411 412 413 414 415 416 417 418 419 420 421 422 423 424 425
           <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>
426 427 428 429 430 431 432 433
          <widget class="QListView" name="accountView">
           <property name="sizePolicy">
            <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
             <horstretch>0</horstretch>
             <verstretch>0</verstretch>
            </sizepolicy>
           </property>
          </widget>
434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466
         </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">
467 468 469 470 471
        <layout class="QVBoxLayout" name="accountDetailLayout">
         <property name="bottomMargin">
          <number>13</number>
         </property>
        </layout>
472 473 474 475 476
       </item>
      </layout>
     </widget>
    </widget>
   </item>
477
   <item>
478 479 480
    <layout class="QHBoxLayout" name="horizontalLayout">
     <property name="topMargin">
      <number>0</number>
481
     </property>
482 483
     <property name="rightMargin">
      <number>10</number>
484
     </property>
485 486
     <item alignment="Qt::AlignRight">
      <widget class="QCheckBox" name="startupBox">
487 488 489 490 491 492
       <property name="sizePolicy">
        <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
         <horstretch>0</horstretch>
         <verstretch>0</verstretch>
        </sizepolicy>
       </property>
493 494 495 496 497 498 499 500 501
       <property name="layoutDirection">
        <enum>Qt::LeftToRight</enum>
       </property>
       <property name="text">
        <string>Launch Ring on Startup</string>
       </property>
      </widget>
     </item>
    </layout>
502
   </item>
503 504 505 506 507 508 509 510 511 512 513 514 515
  </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>
516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533
 <connections>
  <connection>
   <sender>autoUpdateCheckBox</sender>
   <signal>toggled(bool)</signal>
   <receiver>intervalUpdateCheckSpinBox</receiver>
   <slot>setEnabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>78</x>
     <y>278</y>
    </hint>
    <hint type="destinationlabel">
     <x>321</x>
     <y>279</y>
    </hint>
   </hints>
  </connection>
 </connections>
534
</ui>