VideoCaptureDialog.ui 4.96 KB
Newer Older
Dirk Wilden's avatar
Dirk Wilden committed
1 2 3 4 5 6 7 8 9 10 11
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>VideoCaptureDialog</class>
 <widget class="QDialog" name="VideoCaptureDialog">
  <property name="windowModality">
   <enum>Qt::ApplicationModal</enum>
  </property>
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
12
    <width>441</width>
13
    <height>283</height>
Dirk Wilden's avatar
Dirk Wilden committed
14 15 16 17 18 19 20
   </rect>
  </property>
  <property name="windowTitle">
   <string>Start Video Capturing</string>
  </property>
  <layout class="QVBoxLayout" name="verticalLayout">
   <item>
21
    <layout class="QFormLayout" name="formLayout_2">
Dirk Wilden's avatar
Dirk Wilden committed
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
     <item row="0" column="0">
      <widget class="QLabel" name="label">
       <property name="text">
        <string>Output filename:</string>
       </property>
      </widget>
     </item>
     <item row="0" column="1">
      <layout class="QHBoxLayout" name="horizontalLayout_2">
       <item>
        <widget class="QLineEdit" name="filename"/>
       </item>
       <item>
        <widget class="QToolButton" name="findButton">
         <property name="text">
          <string>...</string>
         </property>
        </widget>
       </item>
      </layout>
     </item>
     <item row="1" column="0">
      <widget class="QLabel" name="label_2">
       <property name="text">
        <string>Frames per second:</string>
       </property>
      </widget>
     </item>
     <item row="1" column="1">
      <widget class="QSpinBox" name="fps">
       <property name="minimum">
        <number>1</number>
       </property>
       <property name="maximum">
        <number>60</number>
       </property>
       <property name="value">
        <number>25</number>
       </property>
      </widget>
     </item>
    </layout>
   </item>
65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95
   <item>
    <widget class="QGroupBox" name="groupBox">
     <property name="title">
      <string> Capture Region </string>
     </property>
     <layout class="QHBoxLayout" name="horizontalLayout">
      <item>
       <widget class="QRadioButton" name="captureViewers">
        <property name="text">
         <string>Viewers only</string>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QRadioButton" name="captureApplication">
        <property name="text">
         <string>Application</string>
        </property>
        <property name="checked">
         <bool>true</bool>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
   <item>
    <widget class="QGroupBox" name="groupBox_2">
     <property name="title">
      <string> Video Resolution </string>
     </property>
96 97
     <layout class="QHBoxLayout" name="horizontalLayout_4">
      <item>
98 99 100 101 102 103
       <widget class="QLabel" name="label_3">
        <property name="text">
         <string>Width:</string>
        </property>
       </widget>
      </item>
104
      <item>
105 106 107 108 109 110 111 112
       <widget class="QSpinBox" name="videoWidth">
        <property name="minimum">
         <number>100</number>
        </property>
        <property name="maximum">
         <number>2000</number>
        </property>
        <property name="value">
113
         <number>1280</number>
114 115 116
        </property>
       </widget>
      </item>
117
      <item>
118 119 120 121 122 123
       <widget class="QLabel" name="label_4">
        <property name="text">
         <string>Height:</string>
        </property>
       </widget>
      </item>
124
      <item>
125 126 127 128 129 130 131 132
       <widget class="QSpinBox" name="videoHeight">
        <property name="minimum">
         <number>100</number>
        </property>
        <property name="maximum">
         <number>2000</number>
        </property>
        <property name="value">
133
         <number>1024</number>
134 135 136
        </property>
       </widget>
      </item>
137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156
      <item>
       <spacer name="horizontalSpacer_2">
        <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
        <property name="sizeHint" stdset="0">
         <size>
          <width>40</width>
          <height>20</height>
         </size>
        </property>
       </spacer>
      </item>
      <item>
       <widget class="QPushButton" name="resButton">
        <property name="text">
         <string>Change now</string>
        </property>
       </widget>
      </item>
157 158 159
     </layout>
    </widget>
   </item>
Dirk Wilden's avatar
Dirk Wilden committed
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
   <item>
    <layout class="QHBoxLayout" name="horizontalLayout_3">
     <item>
      <widget class="QPushButton" name="cancelButton">
       <property name="text">
        <string>Cancel</string>
       </property>
      </widget>
     </item>
     <item>
      <spacer name="horizontalSpacer">
       <property name="orientation">
        <enum>Qt::Horizontal</enum>
       </property>
       <property name="sizeHint" stdset="0">
        <size>
         <width>40</width>
         <height>20</height>
        </size>
       </property>
      </spacer>
     </item>
     <item>
      <widget class="QPushButton" name="startButton">
       <property name="text">
        <string>Start Capturing</string>
       </property>
      </widget>
     </item>
    </layout>
   </item>
  </layout>
 </widget>
193
 <resources/>
Dirk Wilden's avatar
Dirk Wilden committed
194 195
 <connections/>
</ui>