Open Source Snapmatic picture and Savegame viewer/editor for GTA V https://gta5view.syping.de/

ImportDialog.ui 11KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>ImportDialog</class>
  4. <widget class="QDialog" name="ImportDialog">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>516</width>
  10. <height>512</height>
  11. </rect>
  12. </property>
  13. <property name="minimumSize">
  14. <size>
  15. <width>516</width>
  16. <height>512</height>
  17. </size>
  18. </property>
  19. <property name="windowTitle">
  20. <string>Import...</string>
  21. </property>
  22. <property name="modal">
  23. <bool>true</bool>
  24. </property>
  25. <layout class="QVBoxLayout" name="vlImport">
  26. <property name="leftMargin">
  27. <number>0</number>
  28. </property>
  29. <property name="topMargin">
  30. <number>0</number>
  31. </property>
  32. <property name="rightMargin">
  33. <number>0</number>
  34. </property>
  35. <property name="bottomMargin">
  36. <number>0</number>
  37. </property>
  38. <item>
  39. <widget class="UiModLabel" name="labPicture">
  40. <property name="minimumSize">
  41. <size>
  42. <width>516</width>
  43. <height>288</height>
  44. </size>
  45. </property>
  46. <property name="text">
  47. <string/>
  48. </property>
  49. </widget>
  50. </item>
  51. <item>
  52. <widget class="QFrame" name="buttomFrame">
  53. <property name="sizePolicy">
  54. <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
  55. <horstretch>0</horstretch>
  56. <verstretch>0</verstretch>
  57. </sizepolicy>
  58. </property>
  59. <property name="frameShape">
  60. <enum>QFrame::NoFrame</enum>
  61. </property>
  62. <property name="frameShadow">
  63. <enum>QFrame::Plain</enum>
  64. </property>
  65. <property name="lineWidth">
  66. <number>0</number>
  67. </property>
  68. <layout class="QVBoxLayout" name="vlButtom">
  69. <property name="leftMargin">
  70. <number>9</number>
  71. </property>
  72. <property name="topMargin">
  73. <number>6</number>
  74. </property>
  75. <property name="rightMargin">
  76. <number>9</number>
  77. </property>
  78. <property name="bottomMargin">
  79. <number>9</number>
  80. </property>
  81. <item>
  82. <widget class="QGroupBox" name="gbSettings">
  83. <property name="title">
  84. <string>Picture</string>
  85. </property>
  86. <layout class="QVBoxLayout" name="vlSettings">
  87. <item>
  88. <layout class="QHBoxLayout" name="hlCheckboxesTop">
  89. <item>
  90. <widget class="QCheckBox" name="cbAvatar">
  91. <property name="sizePolicy">
  92. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
  93. <horstretch>0</horstretch>
  94. <verstretch>0</verstretch>
  95. </sizepolicy>
  96. </property>
  97. <property name="text">
  98. <string>Avatar</string>
  99. </property>
  100. </widget>
  101. </item>
  102. <item>
  103. <widget class="QCheckBox" name="cbIgnore">
  104. <property name="sizePolicy">
  105. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
  106. <horstretch>0</horstretch>
  107. <verstretch>0</verstretch>
  108. </sizepolicy>
  109. </property>
  110. <property name="text">
  111. <string>Ignore Aspect Ratio</string>
  112. </property>
  113. </widget>
  114. </item>
  115. </layout>
  116. </item>
  117. <item>
  118. <layout class="QHBoxLayout" name="hlCheckboxesButtom">
  119. <item>
  120. <widget class="QCheckBox" name="cbWatermark">
  121. <property name="sizePolicy">
  122. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
  123. <horstretch>0</horstretch>
  124. <verstretch>0</verstretch>
  125. </sizepolicy>
  126. </property>
  127. <property name="text">
  128. <string>Watermark</string>
  129. </property>
  130. </widget>
  131. </item>
  132. </layout>
  133. </item>
  134. </layout>
  135. </widget>
  136. </item>
  137. <item>
  138. <widget class="QGroupBox" name="gbBackground">
  139. <property name="title">
  140. <string>Background</string>
  141. </property>
  142. <layout class="QVBoxLayout" name="vlBackground">
  143. <item>
  144. <layout class="QHBoxLayout" name="hlColour">
  145. <item>
  146. <layout class="QHBoxLayout" name="hlColourManage">
  147. <item>
  148. <widget class="QLabel" name="labColour">
  149. <property name="text">
  150. <string>Background Colour: &lt;span style=&quot;color: %1&quot;&gt;%1&lt;/span&gt;</string>
  151. </property>
  152. </widget>
  153. </item>
  154. <item>
  155. <layout class="QHBoxLayout" name="hlColourButton">
  156. <property name="spacing">
  157. <number>0</number>
  158. </property>
  159. <property name="leftMargin">
  160. <number>0</number>
  161. </property>
  162. <property name="topMargin">
  163. <number>0</number>
  164. </property>
  165. <property name="rightMargin">
  166. <number>0</number>
  167. </property>
  168. <property name="bottomMargin">
  169. <number>0</number>
  170. </property>
  171. <item>
  172. <widget class="QToolButton" name="cmdColourChange">
  173. <property name="toolTip">
  174. <string>Select background colour</string>
  175. </property>
  176. <property name="text">
  177. <string>...</string>
  178. </property>
  179. </widget>
  180. </item>
  181. </layout>
  182. </item>
  183. <item>
  184. <spacer name="hsColour">
  185. <property name="orientation">
  186. <enum>Qt::Horizontal</enum>
  187. </property>
  188. <property name="sizeHint" stdset="0">
  189. <size>
  190. <width>40</width>
  191. <height>20</height>
  192. </size>
  193. </property>
  194. </spacer>
  195. </item>
  196. </layout>
  197. </item>
  198. <item>
  199. <layout class="QHBoxLayout" name="hlBackgroundManage">
  200. <item>
  201. <widget class="QLabel" name="labBackgroundImage">
  202. <property name="text">
  203. <string>Background Image:</string>
  204. </property>
  205. </widget>
  206. </item>
  207. <item>
  208. <layout class="QHBoxLayout" name="hlBackgroundButton">
  209. <property name="spacing">
  210. <number>0</number>
  211. </property>
  212. <property name="leftMargin">
  213. <number>0</number>
  214. </property>
  215. <property name="topMargin">
  216. <number>0</number>
  217. </property>
  218. <property name="rightMargin">
  219. <number>0</number>
  220. </property>
  221. <property name="bottomMargin">
  222. <number>0</number>
  223. </property>
  224. <item>
  225. <widget class="QToolButton" name="cmdBackgroundChange">
  226. <property name="toolTip">
  227. <string>Select background image</string>
  228. </property>
  229. <property name="text">
  230. <string>...</string>
  231. </property>
  232. </widget>
  233. </item>
  234. <item>
  235. <widget class="QToolButton" name="cmdBackgroundWipe">
  236. <property name="toolTip">
  237. <string>Remove background image</string>
  238. </property>
  239. <property name="text">
  240. <string>X</string>
  241. </property>
  242. </widget>
  243. </item>
  244. </layout>
  245. </item>
  246. <item>
  247. <spacer name="hsBackgroundImage">
  248. <property name="orientation">
  249. <enum>Qt::Horizontal</enum>
  250. </property>
  251. <property name="sizeHint" stdset="0">
  252. <size>
  253. <width>40</width>
  254. <height>20</height>
  255. </size>
  256. </property>
  257. </spacer>
  258. </item>
  259. </layout>
  260. </item>
  261. </layout>
  262. </item>
  263. <item>
  264. <layout class="QHBoxLayout" name="hlBackground">
  265. <item>
  266. <widget class="QCheckBox" name="cbForceAvatarColour">
  267. <property name="text">
  268. <string>Force Colour in Avatar Zone</string>
  269. </property>
  270. </widget>
  271. </item>
  272. <item>
  273. <widget class="QCheckBox" name="cbStretch">
  274. <property name="enabled">
  275. <bool>true</bool>
  276. </property>
  277. <property name="text">
  278. <string>Ignore Aspect Ratio</string>
  279. </property>
  280. </widget>
  281. </item>
  282. </layout>
  283. </item>
  284. </layout>
  285. </widget>
  286. </item>
  287. <item>
  288. <spacer name="vsInterface">
  289. <property name="orientation">
  290. <enum>Qt::Vertical</enum>
  291. </property>
  292. <property name="sizeHint" stdset="0">
  293. <size>
  294. <width>0</width>
  295. <height>0</height>
  296. </size>
  297. </property>
  298. </spacer>
  299. </item>
  300. <item>
  301. <layout class="QHBoxLayout" name="hlButtons">
  302. <item>
  303. <widget class="QPushButton" name="cmdOptions">
  304. <property name="toolTip">
  305. <string>Import options</string>
  306. </property>
  307. <property name="text">
  308. <string>&amp;Options</string>
  309. </property>
  310. <property name="autoDefault">
  311. <bool>false</bool>
  312. </property>
  313. </widget>
  314. </item>
  315. <item>
  316. <spacer name="hsButtons">
  317. <property name="orientation">
  318. <enum>Qt::Horizontal</enum>
  319. </property>
  320. <property name="sizeHint" stdset="0">
  321. <size>
  322. <width>0</width>
  323. <height>0</height>
  324. </size>
  325. </property>
  326. </spacer>
  327. </item>
  328. <item>
  329. <widget class="QPushButton" name="cmdOK">
  330. <property name="sizePolicy">
  331. <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
  332. <horstretch>0</horstretch>
  333. <verstretch>0</verstretch>
  334. </sizepolicy>
  335. </property>
  336. <property name="toolTip">
  337. <string>Import picture</string>
  338. </property>
  339. <property name="text">
  340. <string>&amp;OK</string>
  341. </property>
  342. </widget>
  343. </item>
  344. <item>
  345. <widget class="QPushButton" name="cmdCancel">
  346. <property name="sizePolicy">
  347. <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
  348. <horstretch>0</horstretch>
  349. <verstretch>0</verstretch>
  350. </sizepolicy>
  351. </property>
  352. <property name="toolTip">
  353. <string>Discard picture</string>
  354. </property>
  355. <property name="text">
  356. <string>&amp;Cancel</string>
  357. </property>
  358. </widget>
  359. </item>
  360. </layout>
  361. </item>
  362. </layout>
  363. </widget>
  364. </item>
  365. </layout>
  366. </widget>
  367. <customwidgets>
  368. <customwidget>
  369. <class>UiModLabel</class>
  370. <extends>QLabel</extends>
  371. <header>uimod/UiModLabel.h</header>
  372. <slots>
  373. <signal>mouseMoved()</signal>
  374. <signal>mouseReleased()</signal>
  375. <signal>mousePressed()</signal>
  376. <signal>mouseDoubleClicked()</signal>
  377. </slots>
  378. </customwidget>
  379. </customwidgets>
  380. <resources/>
  381. <connections/>
  382. </ui>