ctkDICOMAppWidget.ui 6.5 KB

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