ctkDICOMBrowser.ui 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>ctkDICOMBrowser</class>
  4. <widget class="QWidget" name="ctkDICOMBrowser">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>788</width>
  10. <height>607</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>ctkDICOMBrowser</string>
  21. </property>
  22. <layout class="QVBoxLayout" name="verticalLayout_2">
  23. <property name="leftMargin">
  24. <number>0</number>
  25. </property>
  26. <property name="topMargin">
  27. <number>0</number>
  28. </property>
  29. <property name="rightMargin">
  30. <number>0</number>
  31. </property>
  32. <property name="bottomMargin">
  33. <number>12</number>
  34. </property>
  35. <item>
  36. <widget class="QToolBar" name="ToolBar">
  37. <property name="windowTitle">
  38. <string>toolBar</string>
  39. </property>
  40. <property name="floatable">
  41. <bool>true</bool>
  42. </property>
  43. <addaction name="ActionImport"/>
  44. <addaction name="ActionExport"/>
  45. <addaction name="ActionQuery"/>
  46. <addaction name="ActionSend"/>
  47. <addaction name="ActionRemove"/>
  48. </widget>
  49. </item>
  50. <item>
  51. <layout class="QVBoxLayout" name="VerticalLayout">
  52. <property name="spacing">
  53. <number>12</number>
  54. </property>
  55. <item>
  56. <layout class="QHBoxLayout" name="TopLayout">
  57. <property name="leftMargin">
  58. <number>12</number>
  59. </property>
  60. <property name="rightMargin">
  61. <number>12</number>
  62. </property>
  63. <item>
  64. <widget class="QLabel" name="DatabaseNameLabel">
  65. <property name="maximumSize">
  66. <size>
  67. <width>100</width>
  68. <height>20</height>
  69. </size>
  70. </property>
  71. <property name="text">
  72. <string>LocalDatabase:</string>
  73. </property>
  74. </widget>
  75. </item>
  76. <item>
  77. <widget class="ctkDirectoryButton" name="DirectoryButton" native="true">
  78. <property name="minimumSize">
  79. <size>
  80. <width>200</width>
  81. <height>20</height>
  82. </size>
  83. </property>
  84. </widget>
  85. </item>
  86. <item>
  87. <spacer name="HorizontalSpacer">
  88. <property name="orientation">
  89. <enum>Qt::Horizontal</enum>
  90. </property>
  91. <property name="sizeHint" stdset="0">
  92. <size>
  93. <width>40</width>
  94. <height>20</height>
  95. </size>
  96. </property>
  97. </spacer>
  98. </item>
  99. </layout>
  100. </item>
  101. </layout>
  102. </item>
  103. <item>
  104. <layout class="QHBoxLayout" name="QueryLayout" stretch="0">
  105. <property name="spacing">
  106. <number>0</number>
  107. </property>
  108. <property name="leftMargin">
  109. <number>12</number>
  110. </property>
  111. <property name="rightMargin">
  112. <number>12</number>
  113. </property>
  114. <item>
  115. <widget class="ctkDICOMTableManager" name="dicomTableManager" native="true"/>
  116. </item>
  117. </layout>
  118. </item>
  119. </layout>
  120. <action name="ActionImport">
  121. <property name="text">
  122. <string>Import</string>
  123. </property>
  124. <property name="toolTip">
  125. <string>Import a DICOM file or folder</string>
  126. </property>
  127. </action>
  128. <action name="ActionExport">
  129. <property name="enabled">
  130. <bool>false</bool>
  131. </property>
  132. <property name="text">
  133. <string>Export</string>
  134. </property>
  135. <property name="toolTip">
  136. <string>Export selected study/series to a DICOM folder (not yet available)</string>
  137. </property>
  138. </action>
  139. <action name="ActionQuery">
  140. <property name="text">
  141. <string>Query</string>
  142. </property>
  143. <property name="toolTip">
  144. <string>Query and Retrieve DICOM studies from a DICOM node</string>
  145. </property>
  146. </action>
  147. <action name="ActionSend">
  148. <property name="enabled">
  149. <bool>false</bool>
  150. </property>
  151. <property name="text">
  152. <string>Send</string>
  153. </property>
  154. <property name="toolTip">
  155. <string>Send DICOM Studies to a DICOM node (not yet available)</string>
  156. </property>
  157. </action>
  158. <action name="ActionRemove">
  159. <property name="enabled">
  160. <bool>false</bool>
  161. </property>
  162. <property name="text">
  163. <string>Remove</string>
  164. </property>
  165. <property name="toolTip">
  166. <string>Remove from database</string>
  167. </property>
  168. </action>
  169. </widget>
  170. <customwidgets>
  171. <customwidget>
  172. <class>ctkDirectoryButton</class>
  173. <extends>QWidget</extends>
  174. <header>ctkDirectoryButton.h</header>
  175. <container>1</container>
  176. <slots>
  177. <signal>directoryChanged(QString)</signal>
  178. </slots>
  179. </customwidget>
  180. <customwidget>
  181. <class>ctkDICOMTableManager</class>
  182. <extends>QWidget</extends>
  183. <header>ctkDICOMTableManager.h</header>
  184. <container>1</container>
  185. </customwidget>
  186. </customwidgets>
  187. <resources/>
  188. <connections>
  189. <connection>
  190. <sender>ActionImport</sender>
  191. <signal>triggered(bool)</signal>
  192. <receiver>ctkDICOMBrowser</receiver>
  193. <slot>openImportDialog()</slot>
  194. <hints>
  195. <hint type="sourcelabel">
  196. <x>-1</x>
  197. <y>-1</y>
  198. </hint>
  199. <hint type="destinationlabel">
  200. <x>319</x>
  201. <y>239</y>
  202. </hint>
  203. </hints>
  204. </connection>
  205. <connection>
  206. <sender>ActionExport</sender>
  207. <signal>triggered(bool)</signal>
  208. <receiver>ctkDICOMBrowser</receiver>
  209. <slot>openExportDialog()</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>ActionQuery</sender>
  223. <signal>triggered(bool)</signal>
  224. <receiver>ctkDICOMBrowser</receiver>
  225. <slot>openQueryDialog()</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>ActionRemove</sender>
  239. <signal>triggered()</signal>
  240. <receiver>ctkDICOMBrowser</receiver>
  241. <slot>onRemoveAction()</slot>
  242. <hints>
  243. <hint type="sourcelabel">
  244. <x>-1</x>
  245. <y>-1</y>
  246. </hint>
  247. <hint type="destinationlabel">
  248. <x>391</x>
  249. <y>303</y>
  250. </hint>
  251. </hints>
  252. </connection>
  253. </connections>
  254. <slots>
  255. <slot>openImportDialog()</slot>
  256. <slot>openExportDialog()</slot>
  257. <slot>openQueryDialog()</slot>
  258. <slot>onDatabaseDirectoryChaged(QString)</slot>
  259. <slot>onNextImage()</slot>
  260. <slot>onPreviousImage()</slot>
  261. <slot>onNextSeries()</slot>
  262. <slot>onPreviousSeries()</slot>
  263. <slot>onNextStudy()</slot>
  264. <slot>onPreviousStudy()</slot>
  265. <slot>onAutoPlayCheckboxStateChanged(int)</slot>
  266. <slot>onThumbnailWidthSliderValueChanged(int)</slot>
  267. <slot>onRemoveAction()</slot>
  268. </slots>
  269. </ui>