ctkDICOMAppWidget.ui 7.2 KB

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