ctkDICOMAppWidget.ui 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>ctkDICOMAppWidget</class>
  4. <widget class="QMainWindow" name="ctkDICOMAppWidget">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>739</width>
  10. <height>638</height>
  11. </rect>
  12. </property>
  13. <property name="sizePolicy">
  14. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  15. <horstretch>0</horstretch>
  16. <verstretch>0</verstretch>
  17. </sizepolicy>
  18. </property>
  19. <property name="windowTitle">
  20. <string>ctkDICOMAppWidget</string>
  21. </property>
  22. <widget class="QWidget" name="centralwidget">
  23. <layout class="QVBoxLayout" name="verticalLayout">
  24. <item>
  25. <layout class="QHBoxLayout" name="topLayout">
  26. <item>
  27. <widget class="QLabel" name="label">
  28. <property name="maximumSize">
  29. <size>
  30. <width>100</width>
  31. <height>20</height>
  32. </size>
  33. </property>
  34. <property name="text">
  35. <string>LocalDatabase:</string>
  36. </property>
  37. </widget>
  38. </item>
  39. <item>
  40. <widget class="ctkDirectoryButton" name="directoryButton" native="true">
  41. <property name="minimumSize">
  42. <size>
  43. <width>200</width>
  44. <height>20</height>
  45. </size>
  46. </property>
  47. </widget>
  48. </item>
  49. <item>
  50. <spacer name="horizontalSpacer">
  51. <property name="orientation">
  52. <enum>Qt::Horizontal</enum>
  53. </property>
  54. <property name="sizeHint" stdset="0">
  55. <size>
  56. <width>40</width>
  57. <height>20</height>
  58. </size>
  59. </property>
  60. </spacer>
  61. </item>
  62. </layout>
  63. </item>
  64. <item>
  65. <layout class="QHBoxLayout" name="queryLayout">
  66. <item>
  67. <widget class="QTreeView" name="treeView">
  68. <property name="alternatingRowColors">
  69. <bool>true</bool>
  70. </property>
  71. </widget>
  72. </item>
  73. <item>
  74. <layout class="QVBoxLayout" name="searchOptionLayout">
  75. <item>
  76. <widget class="ctkDICOMQueryWidget" name="searchOption" native="true">
  77. <property name="minimumSize">
  78. <size>
  79. <width>200</width>
  80. <height>200</height>
  81. </size>
  82. </property>
  83. <property name="maximumSize">
  84. <size>
  85. <width>400</width>
  86. <height>16777215</height>
  87. </size>
  88. </property>
  89. </widget>
  90. </item>
  91. <item>
  92. <spacer name="verticalSpacer">
  93. <property name="orientation">
  94. <enum>Qt::Vertical</enum>
  95. </property>
  96. <property name="sizeHint" stdset="0">
  97. <size>
  98. <width>20</width>
  99. <height>40</height>
  100. </size>
  101. </property>
  102. </spacer>
  103. </item>
  104. </layout>
  105. </item>
  106. </layout>
  107. </item>
  108. <item>
  109. <layout class="QHBoxLayout" name="viewerLayout">
  110. <item>
  111. <widget class="ctkDICOMThumbnailListWidget" name="thumbnailsWidget" native="true">
  112. <property name="minimumSize">
  113. <size>
  114. <width>0</width>
  115. <height>200</height>
  116. </size>
  117. </property>
  118. </widget>
  119. </item>
  120. <item>
  121. <widget class="QWidget" name="previewWidget" native="true">
  122. <property name="minimumSize">
  123. <size>
  124. <width>256</width>
  125. <height>256</height>
  126. </size>
  127. </property>
  128. </widget>
  129. </item>
  130. </layout>
  131. </item>
  132. </layout>
  133. </widget>
  134. <widget class="QMenuBar" name="menubar">
  135. <property name="geometry">
  136. <rect>
  137. <x>0</x>
  138. <y>0</y>
  139. <width>739</width>
  140. <height>22</height>
  141. </rect>
  142. </property>
  143. <widget class="QMenu" name="menuFile">
  144. <property name="title">
  145. <string>File</string>
  146. </property>
  147. </widget>
  148. <addaction name="menuFile"/>
  149. </widget>
  150. <widget class="QStatusBar" name="statusbar"/>
  151. <widget class="QToolBar" name="toolBar">
  152. <property name="windowTitle">
  153. <string>toolBar</string>
  154. </property>
  155. <property name="floatable">
  156. <bool>true</bool>
  157. </property>
  158. <attribute name="toolBarArea">
  159. <enum>TopToolBarArea</enum>
  160. </attribute>
  161. <attribute name="toolBarBreak">
  162. <bool>false</bool>
  163. </attribute>
  164. <addaction name="actionImport"/>
  165. <addaction name="actionExport"/>
  166. <addaction name="actionQuery"/>
  167. </widget>
  168. <action name="actionImport">
  169. <property name="text">
  170. <string>Import</string>
  171. </property>
  172. <property name="toolTip">
  173. <string>Import a DICOM file or folder</string>
  174. </property>
  175. </action>
  176. <action name="actionExport">
  177. <property name="text">
  178. <string>Export</string>
  179. </property>
  180. <property name="toolTip">
  181. <string>Export selected study/series to a DICOM folder</string>
  182. </property>
  183. </action>
  184. <action name="actionQuery">
  185. <property name="text">
  186. <string>Query</string>
  187. </property>
  188. <property name="toolTip">
  189. <string>Query and Retrieve DICOM studies from a DICOM node</string>
  190. </property>
  191. </action>
  192. </widget>
  193. <customwidgets>
  194. <customwidget>
  195. <class>ctkDICOMQueryWidget</class>
  196. <extends>QWidget</extends>
  197. <header>ctkDICOMQueryWidget.h</header>
  198. <container>1</container>
  199. </customwidget>
  200. <customwidget>
  201. <class>ctkDirectoryButton</class>
  202. <extends>QWidget</extends>
  203. <header>ctkDirectoryButton.h</header>
  204. <container>1</container>
  205. <slots>
  206. <signal>directoryChanged(QString)</signal>
  207. </slots>
  208. </customwidget>
  209. <customwidget>
  210. <class>ctkDICOMThumbnailListWidget</class>
  211. <extends>QWidget</extends>
  212. <header>ctkDICOMThumbnailListWidget.h</header>
  213. <container>1</container>
  214. </customwidget>
  215. </customwidgets>
  216. <resources/>
  217. <connections>
  218. <connection>
  219. <sender>actionImport</sender>
  220. <signal>triggered(bool)</signal>
  221. <receiver>ctkDICOMAppWidget</receiver>
  222. <slot>onImport()</slot>
  223. <hints>
  224. <hint type="sourcelabel">
  225. <x>-1</x>
  226. <y>-1</y>
  227. </hint>
  228. <hint type="destinationlabel">
  229. <x>319</x>
  230. <y>239</y>
  231. </hint>
  232. </hints>
  233. </connection>
  234. <connection>
  235. <sender>actionExport</sender>
  236. <signal>triggered(bool)</signal>
  237. <receiver>ctkDICOMAppWidget</receiver>
  238. <slot>onExport()</slot>
  239. <hints>
  240. <hint type="sourcelabel">
  241. <x>-1</x>
  242. <y>-1</y>
  243. </hint>
  244. <hint type="destinationlabel">
  245. <x>319</x>
  246. <y>239</y>
  247. </hint>
  248. </hints>
  249. </connection>
  250. <connection>
  251. <sender>actionQuery</sender>
  252. <signal>triggered(bool)</signal>
  253. <receiver>ctkDICOMAppWidget</receiver>
  254. <slot>onQuery()</slot>
  255. <hints>
  256. <hint type="sourcelabel">
  257. <x>-1</x>
  258. <y>-1</y>
  259. </hint>
  260. <hint type="destinationlabel">
  261. <x>319</x>
  262. <y>239</y>
  263. </hint>
  264. </hints>
  265. </connection>
  266. </connections>
  267. <slots>
  268. <signal>signal1()</signal>
  269. <slot>onImport()</slot>
  270. <slot>onExport()</slot>
  271. <slot>onQuery()</slot>
  272. <slot>onDatabaseDirectoryChaged(QString)</slot>
  273. </slots>
  274. </ui>