ctkDICOMObjectViewerMainWindow.ui 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>MainWindow</class>
  4. <widget class="QDialog" name="MainWindow">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>626</width>
  10. <height>667</height>
  11. </rect>
  12. </property>
  13. <property name="sizePolicy">
  14. <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
  15. <horstretch>0</horstretch>
  16. <verstretch>0</verstretch>
  17. </sizepolicy>
  18. </property>
  19. <property name="font">
  20. <font>
  21. <weight>75</weight>
  22. <bold>true</bold>
  23. </font>
  24. </property>
  25. <property name="windowTitle">
  26. <string>CTK Simple Image Viewer</string>
  27. </property>
  28. <property name="sizeGripEnabled">
  29. <bool>false</bool>
  30. </property>
  31. <layout class="QVBoxLayout" name="verticalLayout" stretch="1,0,0,0,0,0,0,0">
  32. <item>
  33. <layout class="QHBoxLayout" name="horizontalLayout_5" stretch="0,0">
  34. <item>
  35. <widget class="ctkQImageViewerWidget" name="OpenGlWindow" native="true">
  36. <property name="sizePolicy">
  37. <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
  38. <horstretch>20</horstretch>
  39. <verstretch>20</verstretch>
  40. </sizepolicy>
  41. </property>
  42. <property name="minimumSize">
  43. <size>
  44. <width>100</width>
  45. <height>100</height>
  46. </size>
  47. </property>
  48. <property name="autoFillBackground">
  49. <bool>false</bool>
  50. </property>
  51. </widget>
  52. </item>
  53. <item>
  54. <layout class="QGridLayout" name="gridLayout_2">
  55. <item row="0" column="0" colspan="3">
  56. <widget class="QSpinBox" name="SliceNum">
  57. <property name="enabled">
  58. <bool>true</bool>
  59. </property>
  60. <property name="sizePolicy">
  61. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  62. <horstretch>5</horstretch>
  63. <verstretch>0</verstretch>
  64. </sizepolicy>
  65. </property>
  66. </widget>
  67. </item>
  68. <item row="1" column="1">
  69. <widget class="QSlider" name="Slice">
  70. <property name="sizePolicy">
  71. <sizepolicy hsizetype="Fixed" vsizetype="Expanding">
  72. <horstretch>10</horstretch>
  73. <verstretch>0</verstretch>
  74. </sizepolicy>
  75. </property>
  76. <property name="layoutDirection">
  77. <enum>Qt::RightToLeft</enum>
  78. </property>
  79. <property name="orientation">
  80. <enum>Qt::Vertical</enum>
  81. </property>
  82. </widget>
  83. </item>
  84. </layout>
  85. </item>
  86. </layout>
  87. </item>
  88. <item>
  89. <spacer name="verticalSpacer">
  90. <property name="orientation">
  91. <enum>Qt::Vertical</enum>
  92. </property>
  93. <property name="sizeHint" stdset="0">
  94. <size>
  95. <width>20</width>
  96. <height>2</height>
  97. </size>
  98. </property>
  99. </spacer>
  100. </item>
  101. <item>
  102. <layout class="QHBoxLayout" name="horizontalLayout">
  103. <item>
  104. <widget class="QLabel" name="PositionX">
  105. <property name="text">
  106. <string>0</string>
  107. </property>
  108. </widget>
  109. </item>
  110. <item>
  111. <widget class="QLabel" name="PositionY">
  112. <property name="text">
  113. <string>0</string>
  114. </property>
  115. </widget>
  116. </item>
  117. <item>
  118. <widget class="QLabel" name="PositionZ">
  119. <property name="text">
  120. <string>0</string>
  121. </property>
  122. </widget>
  123. </item>
  124. <item>
  125. <widget class="QLabel" name="TextLabel1">
  126. <property name="text">
  127. <string>=</string>
  128. </property>
  129. <property name="wordWrap">
  130. <bool>false</bool>
  131. </property>
  132. </widget>
  133. </item>
  134. <item>
  135. <widget class="QLabel" name="PixelValue">
  136. <property name="text">
  137. <string>0</string>
  138. </property>
  139. </widget>
  140. </item>
  141. <item>
  142. <spacer name="horizontalSpacer">
  143. <property name="orientation">
  144. <enum>Qt::Horizontal</enum>
  145. </property>
  146. <property name="sizeHint" stdset="0">
  147. <size>
  148. <width>5</width>
  149. <height>20</height>
  150. </size>
  151. </property>
  152. </spacer>
  153. </item>
  154. <item>
  155. <widget class="QToolButton" name="ZoomIn">
  156. <property name="font">
  157. <font>
  158. <family>Arial</family>
  159. </font>
  160. </property>
  161. <property name="text">
  162. <string>Zoom In</string>
  163. </property>
  164. </widget>
  165. </item>
  166. <item>
  167. <widget class="QToolButton" name="ZoomOut">
  168. <property name="font">
  169. <font>
  170. <family>Arial</family>
  171. </font>
  172. </property>
  173. <property name="text">
  174. <string>Zoom Out</string>
  175. </property>
  176. </widget>
  177. </item>
  178. </layout>
  179. </item>
  180. <item>
  181. <spacer name="verticalSpacer_2">
  182. <property name="orientation">
  183. <enum>Qt::Vertical</enum>
  184. </property>
  185. <property name="sizeHint" stdset="0">
  186. <size>
  187. <width>20</width>
  188. <height>2</height>
  189. </size>
  190. </property>
  191. </spacer>
  192. </item>
  193. <item>
  194. <layout class="QHBoxLayout" name="horizontalLayout_2" stretch="0,1">
  195. <item>
  196. <widget class="QSpinBox" name="IntensityMinDisplay"/>
  197. </item>
  198. <item>
  199. <widget class="QSlider" name="IntensityMin">
  200. <property name="orientation">
  201. <enum>Qt::Horizontal</enum>
  202. </property>
  203. </widget>
  204. </item>
  205. </layout>
  206. </item>
  207. <item>
  208. <layout class="QHBoxLayout" name="horizontalLayout_3"/>
  209. </item>
  210. <item>
  211. <spacer name="verticalSpacer_3">
  212. <property name="orientation">
  213. <enum>Qt::Vertical</enum>
  214. </property>
  215. <property name="sizeHint" stdset="0">
  216. <size>
  217. <width>20</width>
  218. <height>2</height>
  219. </size>
  220. </property>
  221. </spacer>
  222. </item>
  223. <item>
  224. <layout class="QHBoxLayout" name="horizontalLayout_6">
  225. <property name="spacing">
  226. <number>6</number>
  227. </property>
  228. <property name="margin">
  229. <number>0</number>
  230. </property>
  231. <item>
  232. <spacer name="horizontalSpacer_2">
  233. <property name="orientation">
  234. <enum>Qt::Horizontal</enum>
  235. </property>
  236. <property name="sizeHint" stdset="0">
  237. <size>
  238. <width>28</width>
  239. <height>20</height>
  240. </size>
  241. </property>
  242. </spacer>
  243. </item>
  244. <item>
  245. <widget class="QPushButton" name="buttonOk">
  246. <property name="sizePolicy">
  247. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  248. <horstretch>0</horstretch>
  249. <verstretch>0</verstretch>
  250. </sizepolicy>
  251. </property>
  252. <property name="font">
  253. <font>
  254. <family>Arial</family>
  255. </font>
  256. </property>
  257. <property name="windowTitle">
  258. <string/>
  259. </property>
  260. <property name="text">
  261. <string>&amp;Quit</string>
  262. </property>
  263. <property name="autoDefault">
  264. <bool>true</bool>
  265. </property>
  266. <property name="default">
  267. <bool>true</bool>
  268. </property>
  269. </widget>
  270. </item>
  271. </layout>
  272. </item>
  273. </layout>
  274. </widget>
  275. <customwidgets>
  276. <customwidget>
  277. <class>ctkQImageViewerWidget</class>
  278. <extends>QWidget</extends>
  279. <header location="global">ctkQImageViewerWidget.h</header>
  280. <container>1</container>
  281. </customwidget>
  282. </customwidgets>
  283. <tabstops>
  284. <tabstop>buttonOk</tabstop>
  285. </tabstops>
  286. <resources/>
  287. <connections>
  288. <connection>
  289. <sender>Slice</sender>
  290. <signal>valueChanged(int)</signal>
  291. <receiver>SliceNum</receiver>
  292. <slot>setValue(int)</slot>
  293. <hints>
  294. <hint type="sourcelabel">
  295. <x>1018</x>
  296. <y>134</y>
  297. </hint>
  298. <hint type="destinationlabel">
  299. <x>993</x>
  300. <y>27</y>
  301. </hint>
  302. </hints>
  303. </connection>
  304. <connection>
  305. <sender>SliceNum</sender>
  306. <signal>valueChanged(int)</signal>
  307. <receiver>Slice</receiver>
  308. <slot>setValue(int)</slot>
  309. <hints>
  310. <hint type="sourcelabel">
  311. <x>993</x>
  312. <y>29</y>
  313. </hint>
  314. <hint type="destinationlabel">
  315. <x>1018</x>
  316. <y>118</y>
  317. </hint>
  318. </hints>
  319. </connection>
  320. <connection>
  321. <sender>buttonOk</sender>
  322. <signal>clicked()</signal>
  323. <receiver>MainWindow</receiver>
  324. <slot>accept()</slot>
  325. <hints>
  326. <hint type="sourcelabel">
  327. <x>960</x>
  328. <y>701</y>
  329. </hint>
  330. <hint type="destinationlabel">
  331. <x>734</x>
  332. <y>667</y>
  333. </hint>
  334. </hints>
  335. </connection>
  336. <connection>
  337. <sender>IntensityMinDisplay</sender>
  338. <signal>valueChanged(int)</signal>
  339. <receiver>IntensityMin</receiver>
  340. <slot>setValue(int)</slot>
  341. <hints>
  342. <hint type="sourcelabel">
  343. <x>96</x>
  344. <y>643</y>
  345. </hint>
  346. <hint type="destinationlabel">
  347. <x>118</x>
  348. <y>643</y>
  349. </hint>
  350. </hints>
  351. </connection>
  352. <connection>
  353. <sender>IntensityMin</sender>
  354. <signal>valueChanged(int)</signal>
  355. <receiver>IntensityMinDisplay</receiver>
  356. <slot>setValue(int)</slot>
  357. <hints>
  358. <hint type="sourcelabel">
  359. <x>116</x>
  360. <y>643</y>
  361. </hint>
  362. <hint type="destinationlabel">
  363. <x>98</x>
  364. <y>643</y>
  365. </hint>
  366. </hints>
  367. </connection>
  368. </connections>
  369. </ui>