PreferencesPage.ui 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>AutoSave</class>
  4. <widget class="QWidget" name="AutoSave">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>492</width>
  10. <height>389</height>
  11. </rect>
  12. </property>
  13. <layout class="QVBoxLayout" name="verticalLayout">
  14. <item>
  15. <widget class="QCheckBox" name="EnableAutoSave">
  16. <property name="text">
  17. <string>Enable Autosave</string>
  18. </property>
  19. <property name="checked">
  20. <bool>true</bool>
  21. </property>
  22. </widget>
  23. </item>
  24. <item>
  25. <layout class="QGridLayout" name="gridLayout">
  26. <item row="0" column="0">
  27. <widget class="QLabel" name="label">
  28. <property name="text">
  29. <string>Autosave Interval:</string>
  30. </property>
  31. </widget>
  32. </item>
  33. <item row="0" column="1">
  34. <widget class="QComboBox" name="Interval">
  35. <property name="currentIndex">
  36. <number>4</number>
  37. </property>
  38. <item>
  39. <property name="text">
  40. <string notr="true">1</string>
  41. </property>
  42. </item>
  43. <item>
  44. <property name="text">
  45. <string notr="true">2</string>
  46. </property>
  47. </item>
  48. <item>
  49. <property name="text">
  50. <string notr="true">3</string>
  51. </property>
  52. </item>
  53. <item>
  54. <property name="text">
  55. <string notr="true">4</string>
  56. </property>
  57. </item>
  58. <item>
  59. <property name="text">
  60. <string notr="true">5</string>
  61. </property>
  62. </item>
  63. <item>
  64. <property name="text">
  65. <string notr="true">10</string>
  66. </property>
  67. </item>
  68. <item>
  69. <property name="text">
  70. <string notr="true">15</string>
  71. </property>
  72. </item>
  73. <item>
  74. <property name="text">
  75. <string notr="true">30</string>
  76. </property>
  77. </item>
  78. </widget>
  79. </item>
  80. <item row="0" column="2">
  81. <widget class="QLabel" name="label_2">
  82. <property name="text">
  83. <string>min</string>
  84. </property>
  85. </widget>
  86. </item>
  87. <item row="0" column="3">
  88. <spacer name="horizontalSpacer">
  89. <property name="orientation">
  90. <enum>Qt::Horizontal</enum>
  91. </property>
  92. <property name="sizeHint" stdset="0">
  93. <size>
  94. <width>40</width>
  95. <height>20</height>
  96. </size>
  97. </property>
  98. </spacer>
  99. </item>
  100. </layout>
  101. </item>
  102. <item>
  103. <spacer name="verticalSpacer">
  104. <property name="orientation">
  105. <enum>Qt::Vertical</enum>
  106. </property>
  107. <property name="sizeHint" stdset="0">
  108. <size>
  109. <width>20</width>
  110. <height>244</height>
  111. </size>
  112. </property>
  113. </spacer>
  114. </item>
  115. </layout>
  116. </widget>
  117. <resources/>
  118. <connections>
  119. <connection>
  120. <sender>EnableAutoSave</sender>
  121. <signal>toggled(bool)</signal>
  122. <receiver>label</receiver>
  123. <slot>setEnabled(bool)</slot>
  124. <hints>
  125. <hint type="sourcelabel">
  126. <x>88</x>
  127. <y>16</y>
  128. </hint>
  129. <hint type="destinationlabel">
  130. <x>107</x>
  131. <y>48</y>
  132. </hint>
  133. </hints>
  134. </connection>
  135. <connection>
  136. <sender>EnableAutoSave</sender>
  137. <signal>toggled(bool)</signal>
  138. <receiver>Interval</receiver>
  139. <slot>setEnabled(bool)</slot>
  140. <hints>
  141. <hint type="sourcelabel">
  142. <x>135</x>
  143. <y>18</y>
  144. </hint>
  145. <hint type="destinationlabel">
  146. <x>161</x>
  147. <y>42</y>
  148. </hint>
  149. </hints>
  150. </connection>
  151. <connection>
  152. <sender>EnableAutoSave</sender>
  153. <signal>toggled(bool)</signal>
  154. <receiver>label_2</receiver>
  155. <slot>setEnabled(bool)</slot>
  156. <hints>
  157. <hint type="sourcelabel">
  158. <x>232</x>
  159. <y>16</y>
  160. </hint>
  161. <hint type="destinationlabel">
  162. <x>224</x>
  163. <y>45</y>
  164. </hint>
  165. </hints>
  166. </connection>
  167. </connections>
  168. </ui>