ctkDICOMAppWidget.ui 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  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="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. <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" stretch="1,0">
  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. </item>
  78. <item>
  79. <spacer name="verticalSpacer">
  80. <property name="orientation">
  81. <enum>Qt::Vertical</enum>
  82. </property>
  83. <property name="sizeHint" stdset="0">
  84. <size>
  85. <width>20</width>
  86. <height>40</height>
  87. </size>
  88. </property>
  89. </spacer>
  90. </item>
  91. </layout>
  92. </item>
  93. </layout>
  94. </item>
  95. <item>
  96. <layout class="QHBoxLayout" name="viewerLayout">
  97. <item>
  98. <widget class="ctkDICOMThumbnailListWidget" name="thumbnailsWidget" native="true">
  99. <property name="minimumSize">
  100. <size>
  101. <width>0</width>
  102. <height>200</height>
  103. </size>
  104. </property>
  105. </widget>
  106. </item>
  107. <item>
  108. <widget class="QWidget" name="previewWidget" native="true">
  109. <property name="minimumSize">
  110. <size>
  111. <width>256</width>
  112. <height>256</height>
  113. </size>
  114. </property>
  115. </widget>
  116. </item>
  117. </layout>
  118. </item>
  119. </layout>
  120. </widget>
  121. <widget class="QMenuBar" name="menubar">
  122. <property name="geometry">
  123. <rect>
  124. <x>0</x>
  125. <y>0</y>
  126. <width>739</width>
  127. <height>21</height>
  128. </rect>
  129. </property>
  130. <widget class="QMenu" name="menuFile">
  131. <property name="title">
  132. <string>File</string>
  133. </property>
  134. </widget>
  135. <addaction name="menuFile"/>
  136. </widget>
  137. <widget class="QStatusBar" name="statusbar"/>
  138. <widget class="QToolBar" name="toolBar">
  139. <property name="windowTitle">
  140. <string>toolBar</string>
  141. </property>
  142. <property name="floatable">
  143. <bool>true</bool>
  144. </property>
  145. <attribute name="toolBarArea">
  146. <enum>TopToolBarArea</enum>
  147. </attribute>
  148. <attribute name="toolBarBreak">
  149. <bool>false</bool>
  150. </attribute>
  151. <addaction name="actionImport"/>
  152. <addaction name="actionExport"/>
  153. <addaction name="actionQuery"/>
  154. </widget>
  155. <action name="actionImport">
  156. <property name="text">
  157. <string>Import</string>
  158. </property>
  159. <property name="toolTip">
  160. <string>Import a DICOM file or folder</string>
  161. </property>
  162. </action>
  163. <action name="actionExport">
  164. <property name="text">
  165. <string>Export</string>
  166. </property>
  167. <property name="toolTip">
  168. <string>Export selected study/series to a DICOM folder</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. </widget>
  180. <customwidgets>
  181. <customwidget>
  182. <class>ctkDICOMQueryWidget</class>
  183. <extends>QWidget</extends>
  184. <header>ctkDICOMQueryWidget.h</header>
  185. <container>1</container>
  186. </customwidget>
  187. <customwidget>
  188. <class>ctkDirectoryButton</class>
  189. <extends>QWidget</extends>
  190. <header>ctkDirectoryButton.h</header>
  191. <container>1</container>
  192. <slots>
  193. <signal>directoryChanged(QString)</signal>
  194. </slots>
  195. </customwidget>
  196. <customwidget>
  197. <class>ctkDICOMThumbnailListWidget</class>
  198. <extends>QWidget</extends>
  199. <header>ctkDICOMThumbnailListWidget.h</header>
  200. <container>1</container>
  201. </customwidget>
  202. </customwidgets>
  203. <resources/>
  204. <connections>
  205. <connection>
  206. <sender>actionImport</sender>
  207. <signal>triggered(bool)</signal>
  208. <receiver>ctkDICOMAppWidget</receiver>
  209. <slot>onImport()</slot>
  210. <hints>
  211. <hint type="sourcelabel">
  212. <x>-1</x>
  213. <y>-1</y>
  214. </hint>
  215. <hint type="destinationlabel">
  216. <x>319</x>
  217. <y>239</y>
  218. </hint>
  219. </hints>
  220. </connection>
  221. <connection>
  222. <sender>actionExport</sender>
  223. <signal>triggered(bool)</signal>
  224. <receiver>ctkDICOMAppWidget</receiver>
  225. <slot>onExport()</slot>
  226. <hints>
  227. <hint type="sourcelabel">
  228. <x>-1</x>
  229. <y>-1</y>
  230. </hint>
  231. <hint type="destinationlabel">
  232. <x>319</x>
  233. <y>239</y>
  234. </hint>
  235. </hints>
  236. </connection>
  237. <connection>
  238. <sender>actionQuery</sender>
  239. <signal>triggered(bool)</signal>
  240. <receiver>ctkDICOMAppWidget</receiver>
  241. <slot>onQuery()</slot>
  242. <hints>
  243. <hint type="sourcelabel">
  244. <x>-1</x>
  245. <y>-1</y>
  246. </hint>
  247. <hint type="destinationlabel">
  248. <x>319</x>
  249. <y>239</y>
  250. </hint>
  251. </hints>
  252. </connection>
  253. </connections>
  254. <slots>
  255. <signal>signal1()</signal>
  256. <slot>onImport()</slot>
  257. <slot>onExport()</slot>
  258. <slot>onQuery()</slot>
  259. <slot>onDatabaseDirectoryChaged(QString)</slot>
  260. </slots>
  261. </ui>