all repos — mgba @ 8219b70c2eb34cd6eb3dbe6e1ccaea7f4d01f81f

mGBA Game Boy Advance Emulator

src/platform/qt/GIFView.ui (view raw)

  1<?xml version="1.0" encoding="UTF-8"?>
  2<ui version="4.0">
  3 <class>GIFView</class>
  4 <widget class="QWidget" name="GIFView">
  5  <property name="geometry">
  6   <rect>
  7    <x>0</x>
  8    <y>0</y>
  9    <width>278</width>
 10    <height>247</height>
 11   </rect>
 12  </property>
 13  <property name="windowTitle">
 14   <string>Record GIF</string>
 15  </property>
 16  <layout class="QVBoxLayout" name="verticalLayout">
 17   <property name="sizeConstraint">
 18    <enum>QLayout::SetFixedSize</enum>
 19   </property>
 20   <item>
 21    <layout class="QGridLayout" name="gridLayout">
 22     <item row="1" column="0">
 23      <widget class="QPushButton" name="start">
 24       <property name="enabled">
 25        <bool>false</bool>
 26       </property>
 27       <property name="sizePolicy">
 28        <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
 29         <horstretch>0</horstretch>
 30         <verstretch>0</verstretch>
 31        </sizepolicy>
 32       </property>
 33       <property name="text">
 34        <string>Start</string>
 35       </property>
 36      </widget>
 37     </item>
 38     <item row="1" column="1">
 39      <widget class="QPushButton" name="stop">
 40       <property name="enabled">
 41        <bool>false</bool>
 42       </property>
 43       <property name="sizePolicy">
 44        <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
 45         <horstretch>0</horstretch>
 46         <verstretch>0</verstretch>
 47        </sizepolicy>
 48       </property>
 49       <property name="text">
 50        <string>Stop</string>
 51       </property>
 52      </widget>
 53     </item>
 54     <item row="1" column="3">
 55      <widget class="QPushButton" name="selectFile">
 56       <property name="sizePolicy">
 57        <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
 58         <horstretch>0</horstretch>
 59         <verstretch>0</verstretch>
 60        </sizepolicy>
 61       </property>
 62       <property name="text">
 63        <string>Select File</string>
 64       </property>
 65      </widget>
 66     </item>
 67     <item row="0" column="0" colspan="4">
 68      <widget class="QLineEdit" name="filename">
 69       <property name="sizePolicy">
 70        <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
 71         <horstretch>1</horstretch>
 72         <verstretch>0</verstretch>
 73        </sizepolicy>
 74       </property>
 75      </widget>
 76     </item>
 77     <item row="1" column="2">
 78      <spacer name="horizontalSpacer">
 79       <property name="orientation">
 80        <enum>Qt::Horizontal</enum>
 81       </property>
 82       <property name="sizeHint" stdset="0">
 83        <size>
 84         <width>40</width>
 85         <height>20</height>
 86        </size>
 87       </property>
 88      </spacer>
 89     </item>
 90    </layout>
 91   </item>
 92   <item>
 93    <widget class="QGroupBox" name="groupBox">
 94     <property name="title">
 95      <string/>
 96     </property>
 97     <layout class="QFormLayout" name="formLayout_2">
 98      <item row="0" column="0">
 99       <widget class="QLabel" name="label">
100        <property name="text">
101         <string>Frameskip</string>
102        </property>
103       </widget>
104      </item>
105      <item row="0" column="1">
106       <widget class="QSpinBox" name="frameskip">
107        <property name="value">
108         <number>2</number>
109        </property>
110       </widget>
111      </item>
112      <item row="1" column="0">
113       <widget class="QLabel" name="label_2">
114        <property name="text">
115         <string>Frame delay (ms)</string>
116        </property>
117       </widget>
118      </item>
119      <item row="2" column="1">
120       <widget class="QCheckBox" name="delayAuto">
121        <property name="text">
122         <string>Automatic</string>
123        </property>
124        <property name="checked">
125         <bool>true</bool>
126        </property>
127       </widget>
128      </item>
129      <item row="1" column="1">
130       <widget class="QSpinBox" name="delayMs">
131        <property name="enabled">
132         <bool>false</bool>
133        </property>
134        <property name="maximum">
135         <number>5000</number>
136        </property>
137        <property name="value">
138         <number>50</number>
139        </property>
140       </widget>
141      </item>
142     </layout>
143    </widget>
144   </item>
145   <item>
146    <widget class="QDialogButtonBox" name="buttonBox">
147     <property name="standardButtons">
148      <set>QDialogButtonBox::Close</set>
149     </property>
150    </widget>
151   </item>
152  </layout>
153 </widget>
154 <resources/>
155 <connections>
156  <connection>
157   <sender>buttonBox</sender>
158   <signal>rejected()</signal>
159   <receiver>GIFView</receiver>
160   <slot>close()</slot>
161   <hints>
162    <hint type="sourcelabel">
163     <x>138</x>
164     <y>226</y>
165    </hint>
166    <hint type="destinationlabel">
167     <x>138</x>
168     <y>123</y>
169    </hint>
170   </hints>
171  </connection>
172  <connection>
173   <sender>delayAuto</sender>
174   <signal>clicked(bool)</signal>
175   <receiver>delayMs</receiver>
176   <slot>setDisabled(bool)</slot>
177   <hints>
178    <hint type="sourcelabel">
179     <x>202</x>
180     <y>177</y>
181    </hint>
182    <hint type="destinationlabel">
183     <x>192</x>
184     <y>148</y>
185    </hint>
186   </hints>
187  </connection>
188 </connections>
189</ui>