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

PictureDialog.ui 7.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>PictureDialog</class>
  4. <widget class="QDialog" name="PictureDialog">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>960</width>
  10. <height>618</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Snapmatic Picture Viewer - %1</string>
  15. </property>
  16. <layout class="QVBoxLayout" name="vlPictureLayout">
  17. <property name="spacing">
  18. <number>0</number>
  19. </property>
  20. <property name="leftMargin">
  21. <number>0</number>
  22. </property>
  23. <property name="topMargin">
  24. <number>0</number>
  25. </property>
  26. <property name="rightMargin">
  27. <number>0</number>
  28. </property>
  29. <property name="bottomMargin">
  30. <number>0</number>
  31. </property>
  32. <item>
  33. <widget class="UiModLabel" name="labPicture">
  34. <property name="sizePolicy">
  35. <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
  36. <horstretch>0</horstretch>
  37. <verstretch>1</verstretch>
  38. </sizepolicy>
  39. </property>
  40. <property name="contextMenuPolicy">
  41. <enum>Qt::CustomContextMenu</enum>
  42. </property>
  43. <property name="text">
  44. <string/>
  45. </property>
  46. <property name="alignment">
  47. <set>Qt::AlignCenter</set>
  48. </property>
  49. </widget>
  50. </item>
  51. <item>
  52. <spacer name="vsJSONUpper">
  53. <property name="orientation">
  54. <enum>Qt::Vertical</enum>
  55. </property>
  56. <property name="sizeHint" stdset="0">
  57. <size>
  58. <width>0</width>
  59. <height>0</height>
  60. </size>
  61. </property>
  62. </spacer>
  63. </item>
  64. <item>
  65. <widget class="QFrame" name="jsonFrame">
  66. <property name="frameShape">
  67. <enum>QFrame::NoFrame</enum>
  68. </property>
  69. <property name="frameShadow">
  70. <enum>QFrame::Plain</enum>
  71. </property>
  72. <property name="lineWidth">
  73. <number>0</number>
  74. </property>
  75. <layout class="QHBoxLayout" name="hlJson">
  76. <property name="spacing">
  77. <number>0</number>
  78. </property>
  79. <property name="leftMargin">
  80. <number>0</number>
  81. </property>
  82. <property name="topMargin">
  83. <number>0</number>
  84. </property>
  85. <property name="rightMargin">
  86. <number>0</number>
  87. </property>
  88. <property name="bottomMargin">
  89. <number>0</number>
  90. </property>
  91. <item>
  92. <layout class="QHBoxLayout" name="jsonLayout">
  93. <property name="leftMargin">
  94. <number>4</number>
  95. </property>
  96. <property name="topMargin">
  97. <number>10</number>
  98. </property>
  99. <property name="rightMargin">
  100. <number>4</number>
  101. </property>
  102. <property name="bottomMargin">
  103. <number>4</number>
  104. </property>
  105. <item>
  106. <widget class="UiModLabel" name="labJSON">
  107. <property name="sizePolicy">
  108. <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
  109. <horstretch>0</horstretch>
  110. <verstretch>0</verstretch>
  111. </sizepolicy>
  112. </property>
  113. <property name="text">
  114. <string>&lt;span style=&quot; font-weight:600;&quot;&gt;Title: &lt;/span&gt;%6&lt;br/&gt;
  115. &lt;span style=&quot; font-weight:600;&quot;&gt;Location: &lt;/span&gt;%7 (%1, %2, %3)&lt;br/&gt;
  116. &lt;span style=&quot; font-weight:600;&quot;&gt;Players: &lt;/span&gt;%4 (Crew %5)&lt;br/&gt;
  117. &lt;span style=&quot; font-weight:600;&quot;&gt;Created: &lt;/span&gt;%8</string>
  118. </property>
  119. <property name="wordWrap">
  120. <bool>true</bool>
  121. </property>
  122. <property name="openExternalLinks">
  123. <bool>true</bool>
  124. </property>
  125. <property name="textInteractionFlags">
  126. <set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
  127. </property>
  128. </widget>
  129. </item>
  130. <item>
  131. <layout class="QVBoxLayout" name="vlButtons">
  132. <property name="spacing">
  133. <number>6</number>
  134. </property>
  135. <property name="rightMargin">
  136. <number>5</number>
  137. </property>
  138. <property name="bottomMargin">
  139. <number>5</number>
  140. </property>
  141. <item>
  142. <spacer name="vsButtons">
  143. <property name="orientation">
  144. <enum>Qt::Vertical</enum>
  145. </property>
  146. <property name="sizeType">
  147. <enum>QSizePolicy::Expanding</enum>
  148. </property>
  149. <property name="sizeHint" stdset="0">
  150. <size>
  151. <width>0</width>
  152. <height>0</height>
  153. </size>
  154. </property>
  155. </spacer>
  156. </item>
  157. <item>
  158. <layout class="QHBoxLayout" name="hlButtons">
  159. <property name="spacing">
  160. <number>6</number>
  161. </property>
  162. <item>
  163. <widget class="QPushButton" name="cmdManage">
  164. <property name="sizePolicy">
  165. <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
  166. <horstretch>0</horstretch>
  167. <verstretch>0</verstretch>
  168. </sizepolicy>
  169. </property>
  170. <property name="focusPolicy">
  171. <enum>Qt::NoFocus</enum>
  172. </property>
  173. <property name="toolTip">
  174. <string>Manage picture</string>
  175. </property>
  176. <property name="text">
  177. <string>&amp;Manage</string>
  178. </property>
  179. <property name="autoDefault">
  180. <bool>false</bool>
  181. </property>
  182. </widget>
  183. </item>
  184. <item>
  185. <widget class="QPushButton" name="cmdClose">
  186. <property name="sizePolicy">
  187. <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
  188. <horstretch>0</horstretch>
  189. <verstretch>0</verstretch>
  190. </sizepolicy>
  191. </property>
  192. <property name="focusPolicy">
  193. <enum>Qt::NoFocus</enum>
  194. </property>
  195. <property name="toolTip">
  196. <string>Close viewer</string>
  197. </property>
  198. <property name="text">
  199. <string>&amp;Close</string>
  200. </property>
  201. <property name="autoDefault">
  202. <bool>false</bool>
  203. </property>
  204. </widget>
  205. </item>
  206. </layout>
  207. </item>
  208. </layout>
  209. </item>
  210. </layout>
  211. </item>
  212. </layout>
  213. </widget>
  214. </item>
  215. </layout>
  216. </widget>
  217. <customwidgets>
  218. <customwidget>
  219. <class>UiModLabel</class>
  220. <extends>QLabel</extends>
  221. <header>uimod/UiModLabel.h</header>
  222. <slots>
  223. <signal>mouseMoved()</signal>
  224. <signal>mouseReleased()</signal>
  225. <signal>mousePressed()</signal>
  226. <signal>mouseDoubleClicked()</signal>
  227. </slots>
  228. </customwidget>
  229. </customwidgets>
  230. <resources/>
  231. <connections>
  232. <connection>
  233. <sender>cmdClose</sender>
  234. <signal>clicked()</signal>
  235. <receiver>PictureDialog</receiver>
  236. <slot>close()</slot>
  237. <hints>
  238. <hint type="sourcelabel">
  239. <x>912</x>
  240. <y>514</y>
  241. </hint>
  242. <hint type="destinationlabel">
  243. <x>479</x>
  244. <y>267</y>
  245. </hint>
  246. </hints>
  247. </connection>
  248. </connections>
  249. </ui>