ctkScreenshotDialog.ui 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319
  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="ctkDoubleSpinBox" 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="decimalsOption">
  159. <enum>ctkDoubleSpinBox::FixedDecimals</enum>
  160. </property>
  161. <property name="decimals">
  162. <number>1</number>
  163. </property>
  164. <property name="minimum">
  165. <double>0.500000000000000</double>
  166. </property>
  167. <property name="maximum">
  168. <double>5.000000000000000</double>
  169. </property>
  170. <property name="singleStep">
  171. <double>0.500000000000000</double>
  172. </property>
  173. <property name="value">
  174. <double>1.000000000000000</double>
  175. </property>
  176. </widget>
  177. </item>
  178. <item row="4" column="0" colspan="2">
  179. <layout class="QHBoxLayout" name="horizontalLayout_2">
  180. <item>
  181. <widget class="QRadioButton" name="OutputResolutionRadioButton">
  182. <property name="text">
  183. <string>Output resolution:</string>
  184. </property>
  185. </widget>
  186. </item>
  187. <item>
  188. <widget class="QSpinBox" name="WidthSpinBox">
  189. <property name="toolTip">
  190. <string>Width of the screenshot</string>
  191. </property>
  192. <property name="suffix">
  193. <string> px</string>
  194. </property>
  195. <property name="minimum">
  196. <number>1</number>
  197. </property>
  198. </widget>
  199. </item>
  200. <item>
  201. <widget class="QLabel" name="xLabel">
  202. <property name="text">
  203. <string>x</string>
  204. </property>
  205. <property name="alignment">
  206. <set>Qt::AlignCenter</set>
  207. </property>
  208. </widget>
  209. </item>
  210. <item>
  211. <widget class="QSpinBox" name="HeightSpinBox">
  212. <property name="toolTip">
  213. <string>Height of the screenshot</string>
  214. </property>
  215. <property name="suffix">
  216. <string> px</string>
  217. </property>
  218. <property name="minimum">
  219. <number>1</number>
  220. </property>
  221. </widget>
  222. </item>
  223. <item>
  224. <widget class="QToolButton" name="LockAspectToolButton">
  225. <property name="enabled">
  226. <bool>false</bool>
  227. </property>
  228. <property name="toolTip">
  229. <string>Lock/unlock aspect ratio</string>
  230. </property>
  231. <property name="icon">
  232. <iconset resource="../ctkWidgets.qrc">
  233. <normaloff>:/Icons/unlock.png</normaloff>
  234. <normalon>:/Icons/lock.png</normalon>:/Icons/unlock.png</iconset>
  235. </property>
  236. <property name="checkable">
  237. <bool>true</bool>
  238. </property>
  239. <property name="checked">
  240. <bool>false</bool>
  241. </property>
  242. </widget>
  243. </item>
  244. </layout>
  245. </item>
  246. <item row="5" column="0">
  247. <widget class="QLabel" name="OverwriteLabel">
  248. <property name="text">
  249. <string>Overwrite:</string>
  250. </property>
  251. </widget>
  252. </item>
  253. <item row="5" column="1">
  254. <widget class="QCheckBox" name="OverwriteCheckBox">
  255. <property name="enabled">
  256. <bool>false</bool>
  257. </property>
  258. <property name="text">
  259. <string/>
  260. </property>
  261. </widget>
  262. </item>
  263. <item row="6" column="0">
  264. <widget class="QLabel" name="DelayLabel">
  265. <property name="text">
  266. <string>Screenshot delay:</string>
  267. </property>
  268. </widget>
  269. </item>
  270. <item row="6" column="1">
  271. <widget class="QSpinBox" name="DelaySpinBox">
  272. <property name="suffix">
  273. <string> s</string>
  274. </property>
  275. <property name="maximum">
  276. <number>60</number>
  277. </property>
  278. </widget>
  279. </item>
  280. </layout>
  281. </widget>
  282. </item>
  283. </layout>
  284. </widget>
  285. <customwidgets>
  286. <customwidget>
  287. <class>ctkPathLineEdit</class>
  288. <extends>QWidget</extends>
  289. <header>ctkPathLineEdit.h</header>
  290. </customwidget>
  291. <customwidget>
  292. <class>ctkDoubleSpinBox</class>
  293. <extends>QWidget</extends>
  294. <header>ctkDoubleSpinBox.h</header>
  295. </customwidget>
  296. </customwidgets>
  297. <resources>
  298. <include location="../ctkWidgets.qrc"/>
  299. </resources>
  300. <connections>
  301. <connection>
  302. <sender>ButtonBox</sender>
  303. <signal>rejected()</signal>
  304. <receiver>ctkScreenshotDialog</receiver>
  305. <slot>reject()</slot>
  306. <hints>
  307. <hint type="sourcelabel">
  308. <x>651</x>
  309. <y>221</y>
  310. </hint>
  311. <hint type="destinationlabel">
  312. <x>674</x>
  313. <y>188</y>
  314. </hint>
  315. </hints>
  316. </connection>
  317. </connections>
  318. </ui>