ctkScreenshotDialog.ui 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>ctkScreenshotDialog</class>
  4. <widget class="QDialog" name="ctkScreenshotDialog">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>579</width>
  10. <height>334</height>
  11. </rect>
  12. </property>
  13. <property name="sizePolicy">
  14. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  15. <horstretch>0</horstretch>
  16. <verstretch>0</verstretch>
  17. </sizepolicy>
  18. </property>
  19. <property name="windowTitle">
  20. <string>Screen Capture Options</string>
  21. </property>
  22. <layout class="QGridLayout" name="gridLayout">
  23. <item row="2" column="0">
  24. <layout class="QHBoxLayout" name="horizontalLayout">
  25. <item>
  26. <widget class="QLabel" name="CountDownLabel">
  27. <property name="text">
  28. <string>0 s</string>
  29. </property>
  30. </widget>
  31. </item>
  32. <item>
  33. <spacer name="horizontalSpacer">
  34. <property name="orientation">
  35. <enum>Qt::Horizontal</enum>
  36. </property>
  37. <property name="sizeHint" stdset="0">
  38. <size>
  39. <width>40</width>
  40. <height>20</height>
  41. </size>
  42. </property>
  43. </spacer>
  44. </item>
  45. <item>
  46. <widget class="QLabel" name="ImageFullNameLabel">
  47. <property name="text">
  48. <string>Untitled_0.png</string>
  49. </property>
  50. </widget>
  51. </item>
  52. <item>
  53. <spacer name="horizontalSpacer_2">
  54. <property name="orientation">
  55. <enum>Qt::Horizontal</enum>
  56. </property>
  57. <property name="sizeHint" stdset="0">
  58. <size>
  59. <width>40</width>
  60. <height>20</height>
  61. </size>
  62. </property>
  63. </spacer>
  64. </item>
  65. <item>
  66. <widget class="QDialogButtonBox" name="ButtonBox">
  67. <property name="standardButtons">
  68. <set>QDialogButtonBox::Close|QDialogButtonBox::Ok</set>
  69. </property>
  70. </widget>
  71. </item>
  72. </layout>
  73. </item>
  74. <item row="1" column="0">
  75. <spacer name="verticalSpacer">
  76. <property name="orientation">
  77. <enum>Qt::Vertical</enum>
  78. </property>
  79. <property name="sizeHint" stdset="0">
  80. <size>
  81. <width>20</width>
  82. <height>0</height>
  83. </size>
  84. </property>
  85. </spacer>
  86. </item>
  87. <item row="0" column="0">
  88. <widget class="QGroupBox" name="OptionGroupBox">
  89. <property name="enabled">
  90. <bool>false</bool>
  91. </property>
  92. <property name="sizePolicy">
  93. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  94. <horstretch>0</horstretch>
  95. <verstretch>0</verstretch>
  96. </sizepolicy>
  97. </property>
  98. <property name="title">
  99. <string>Options</string>
  100. </property>
  101. <layout class="QGridLayout" name="gridLayout_2">
  102. <item row="0" column="0">
  103. <widget class="QLabel" name="DirectoryLabel">
  104. <property name="text">
  105. <string>Folder:</string>
  106. </property>
  107. </widget>
  108. </item>
  109. <item row="0" column="1">
  110. <widget class="ctkPathLineEdit" name="DirectoryPathLineEdit" native="true">
  111. <property name="toolTip">
  112. <string>Select a directory in which screen captures will be saved.</string>
  113. </property>
  114. </widget>
  115. </item>
  116. <item row="1" column="0">
  117. <widget class="QLabel" name="ImageNameLabel">
  118. <property name="text">
  119. <string>Image name:</string>
  120. </property>
  121. </widget>
  122. </item>
  123. <item row="1" column="1">
  124. <widget class="QLineEdit" name="ImageNameLineEdit">
  125. <property name="toolTip">
  126. <string>Type in a base-name for the image file, or use the default provided.</string>
  127. </property>
  128. <property name="text">
  129. <string>Untitled</string>
  130. </property>
  131. </widget>
  132. </item>
  133. <item row="2" column="0">
  134. <widget class="QLabel" name="ImageVersionNumberLabel">
  135. <property name="text">
  136. <string>Image version number:</string>
  137. </property>
  138. </widget>
  139. </item>
  140. <item row="2" column="1">
  141. <widget class="QSpinBox" name="ImageVersionNumberSpinBox"/>
  142. </item>
  143. <item row="3" column="0">
  144. <widget class="QRadioButton" name="ScaleFactorRadioButton">
  145. <property name="text">
  146. <string>Scale factor:</string>
  147. </property>
  148. <property name="checked">
  149. <bool>true</bool>
  150. </property>
  151. </widget>
  152. </item>
  153. <item row="3" column="1">
  154. <widget class="QDoubleSpinBox" name="ScaleFactorSpinBox">
  155. <property name="toolTip">
  156. <string>Select an integer scale factor (between 0.5 and 5) for the image file, e.g. a value of &quot;2&quot; will save an image twice the size.</string>
  157. </property>
  158. <property name="decimals">
  159. <number>1</number>
  160. </property>
  161. <property name="minimum">
  162. <double>0.500000000000000</double>
  163. </property>
  164. <property name="maximum">
  165. <double>5.000000000000000</double>
  166. </property>
  167. <property name="singleStep">
  168. <double>0.500000000000000</double>
  169. </property>
  170. <property name="value">
  171. <double>1.000000000000000</double>
  172. </property>
  173. </widget>
  174. </item>
  175. <item row="4" column="0" colspan="2">
  176. <layout class="QHBoxLayout" name="horizontalLayout_2">
  177. <item>
  178. <widget class="QRadioButton" name="OutputResolutionRadioButton">
  179. <property name="text">
  180. <string>Output resolution:</string>
  181. </property>
  182. </widget>
  183. </item>
  184. <item>
  185. <widget class="QSpinBox" name="WidthSpinBox">
  186. <property name="toolTip">
  187. <string>Width of the screenshot</string>
  188. </property>
  189. <property name="suffix">
  190. <string> px</string>
  191. </property>
  192. <property name="minimum">
  193. <number>1</number>
  194. </property>
  195. </widget>
  196. </item>
  197. <item>
  198. <widget class="QLabel" name="xLabel">
  199. <property name="text">
  200. <string>x</string>
  201. </property>
  202. <property name="alignment">
  203. <set>Qt::AlignCenter</set>
  204. </property>
  205. </widget>
  206. </item>
  207. <item>
  208. <widget class="QSpinBox" name="HeightSpinBox">
  209. <property name="toolTip">
  210. <string>Height of the screenshot</string>
  211. </property>
  212. <property name="suffix">
  213. <string> px</string>
  214. </property>
  215. <property name="minimum">
  216. <number>1</number>
  217. </property>
  218. </widget>
  219. </item>
  220. <item>
  221. <widget class="QToolButton" name="LockAspectToolButton">
  222. <property name="enabled">
  223. <bool>false</bool>
  224. </property>
  225. <property name="toolTip">
  226. <string>Lock/unlock aspect ratio</string>
  227. </property>
  228. <property name="icon">
  229. <iconset resource="../ctkWidgets.qrc">
  230. <normaloff>:/Icons/unlock.png</normaloff>
  231. <normalon>:/Icons/lock.png</normalon>:/Icons/unlock.png</iconset>
  232. </property>
  233. <property name="checkable">
  234. <bool>true</bool>
  235. </property>
  236. <property name="checked">
  237. <bool>false</bool>
  238. </property>
  239. </widget>
  240. </item>
  241. </layout>
  242. </item>
  243. <item row="5" column="0">
  244. <widget class="QLabel" name="OverwriteLabel">
  245. <property name="text">
  246. <string>Overwrite:</string>
  247. </property>
  248. </widget>
  249. </item>
  250. <item row="5" column="1">
  251. <widget class="QCheckBox" name="OverwriteCheckBox">
  252. <property name="enabled">
  253. <bool>false</bool>
  254. </property>
  255. <property name="text">
  256. <string/>
  257. </property>
  258. </widget>
  259. </item>
  260. <item row="6" column="0">
  261. <widget class="QLabel" name="DelayLabel">
  262. <property name="text">
  263. <string>Screenshot delay:</string>
  264. </property>
  265. </widget>
  266. </item>
  267. <item row="6" column="1">
  268. <widget class="QSpinBox" name="DelaySpinBox">
  269. <property name="suffix">
  270. <string> s</string>
  271. </property>
  272. <property name="maximum">
  273. <number>60</number>
  274. </property>
  275. </widget>
  276. </item>
  277. </layout>
  278. </widget>
  279. </item>
  280. </layout>
  281. </widget>
  282. <customwidgets>
  283. <customwidget>
  284. <class>ctkPathLineEdit</class>
  285. <extends>QWidget</extends>
  286. <header>ctkPathLineEdit.h</header>
  287. </customwidget>
  288. </customwidgets>
  289. <resources>
  290. <include location="../ctkWidgets.qrc"/>
  291. </resources>
  292. <connections>
  293. <connection>
  294. <sender>ButtonBox</sender>
  295. <signal>rejected()</signal>
  296. <receiver>ctkScreenshotDialog</receiver>
  297. <slot>reject()</slot>
  298. <hints>
  299. <hint type="sourcelabel">
  300. <x>651</x>
  301. <y>221</y>
  302. </hint>
  303. <hint type="destinationlabel">
  304. <x>674</x>
  305. <y>188</y>
  306. </hint>
  307. </hints>
  308. </connection>
  309. </connections>
  310. </ui>