ctkDICOMAppWidget.ui 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264
  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="QLabel" name="imagePreview">
  136. <property name="text">
  137. <string>TextLabel</string>
  138. </property>
  139. </widget>
  140. </item>
  141. </layout>
  142. </widget>
  143. </item>
  144. </layout>
  145. </item>
  146. </layout>
  147. </item>
  148. </layout>
  149. <action name="actionImport">
  150. <property name="text">
  151. <string>Import</string>
  152. </property>
  153. <property name="toolTip">
  154. <string>Import a DICOM file or folder</string>
  155. </property>
  156. </action>
  157. <action name="actionExport">
  158. <property name="text">
  159. <string>Export</string>
  160. </property>
  161. <property name="toolTip">
  162. <string>Export selected study/series to a DICOM folder</string>
  163. </property>
  164. </action>
  165. <action name="actionQuery">
  166. <property name="text">
  167. <string>Query</string>
  168. </property>
  169. <property name="toolTip">
  170. <string>Query and Retrieve DICOM studies from a DICOM node</string>
  171. </property>
  172. </action>
  173. <action name="actionSend">
  174. <property name="text">
  175. <string>Send</string>
  176. </property>
  177. <property name="toolTip">
  178. <string>Send DICOM Studies to a DICOM node</string>
  179. </property>
  180. </action>
  181. </widget>
  182. <customwidgets>
  183. <customwidget>
  184. <class>ctkDICOMQueryWidget</class>
  185. <extends>QWidget</extends>
  186. <header>ctkDICOMQueryWidget.h</header>
  187. <container>1</container>
  188. </customwidget>
  189. <customwidget>
  190. <class>ctkDirectoryButton</class>
  191. <extends>QWidget</extends>
  192. <header>ctkDirectoryButton.h</header>
  193. <container>1</container>
  194. <slots>
  195. <signal>directoryChanged(QString)</signal>
  196. </slots>
  197. </customwidget>
  198. <customwidget>
  199. <class>ctkDICOMThumbnailListWidget</class>
  200. <extends>QWidget</extends>
  201. <header>ctkDICOMThumbnailListWidget.h</header>
  202. <container>1</container>
  203. </customwidget>
  204. </customwidgets>
  205. <resources/>
  206. <connections>
  207. <connection>
  208. <sender>actionImport</sender>
  209. <signal>triggered(bool)</signal>
  210. <receiver>ctkDICOMAppWidget</receiver>
  211. <slot>onImport()</slot>
  212. <hints>
  213. <hint type="sourcelabel">
  214. <x>-1</x>
  215. <y>-1</y>
  216. </hint>
  217. <hint type="destinationlabel">
  218. <x>319</x>
  219. <y>239</y>
  220. </hint>
  221. </hints>
  222. </connection>
  223. <connection>
  224. <sender>actionExport</sender>
  225. <signal>triggered(bool)</signal>
  226. <receiver>ctkDICOMAppWidget</receiver>
  227. <slot>onExport()</slot>
  228. <hints>
  229. <hint type="sourcelabel">
  230. <x>-1</x>
  231. <y>-1</y>
  232. </hint>
  233. <hint type="destinationlabel">
  234. <x>319</x>
  235. <y>239</y>
  236. </hint>
  237. </hints>
  238. </connection>
  239. <connection>
  240. <sender>actionQuery</sender>
  241. <signal>triggered(bool)</signal>
  242. <receiver>ctkDICOMAppWidget</receiver>
  243. <slot>onQuery()</slot>
  244. <hints>
  245. <hint type="sourcelabel">
  246. <x>-1</x>
  247. <y>-1</y>
  248. </hint>
  249. <hint type="destinationlabel">
  250. <x>319</x>
  251. <y>239</y>
  252. </hint>
  253. </hints>
  254. </connection>
  255. </connections>
  256. <slots>
  257. <signal>signal1()</signal>
  258. <slot>onImport()</slot>
  259. <slot>onExport()</slot>
  260. <slot>onQuery()</slot>
  261. <slot>onDatabaseDirectoryChaged(QString)</slot>
  262. </slots>
  263. </ui>