ctkDICOMAppWidget.ui 7.0 KB

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