ctkDICOMBrowser.ui 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337
  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>802</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. <addaction name="ActionRepair"/>
  49. </widget>
  50. </item>
  51. <item>
  52. <layout class="QVBoxLayout" name="VerticalLayout">
  53. <property name="spacing">
  54. <number>12</number>
  55. </property>
  56. <item>
  57. <layout class="QHBoxLayout" name="TopLayout">
  58. <property name="leftMargin">
  59. <number>12</number>
  60. </property>
  61. <property name="rightMargin">
  62. <number>12</number>
  63. </property>
  64. <item>
  65. <widget class="QLabel" name="DatabaseNameLabel">
  66. <property name="maximumSize">
  67. <size>
  68. <width>100</width>
  69. <height>20</height>
  70. </size>
  71. </property>
  72. <property name="text">
  73. <string>LocalDatabase:</string>
  74. </property>
  75. </widget>
  76. </item>
  77. <item>
  78. <widget class="ctkDirectoryButton" name="DirectoryButton">
  79. <property name="minimumSize">
  80. <size>
  81. <width>200</width>
  82. <height>20</height>
  83. </size>
  84. </property>
  85. </widget>
  86. </item>
  87. <item>
  88. <widget class="QLabel" name="tablesDensityLabel">
  89. <property name="maximumSize">
  90. <size>
  91. <width>100</width>
  92. <height>20</height>
  93. </size>
  94. </property>
  95. <property name="text">
  96. <string>Density</string>
  97. </property>
  98. </widget>
  99. </item>
  100. <item>
  101. <widget class="QComboBox" name="tableDensityComboBox">
  102. <item>
  103. <property name="text">
  104. <string>Comfortable</string>
  105. </property>
  106. </item>
  107. <item>
  108. <property name="text">
  109. <string>Cozy</string>
  110. </property>
  111. </item>
  112. <item>
  113. <property name="text">
  114. <string>Compact</string>
  115. </property>
  116. </item>
  117. </widget>
  118. </item>
  119. <item>
  120. <spacer name="HorizontalSpacer">
  121. <property name="orientation">
  122. <enum>Qt::Horizontal</enum>
  123. </property>
  124. <property name="sizeHint" stdset="0">
  125. <size>
  126. <width>40</width>
  127. <height>20</height>
  128. </size>
  129. </property>
  130. </spacer>
  131. </item>
  132. </layout>
  133. </item>
  134. </layout>
  135. </item>
  136. <item>
  137. <layout class="QHBoxLayout" name="QueryLayout" stretch="0">
  138. <property name="spacing">
  139. <number>0</number>
  140. </property>
  141. <property name="leftMargin">
  142. <number>0</number>
  143. </property>
  144. <property name="rightMargin">
  145. <number>0</number>
  146. </property>
  147. <item>
  148. <widget class="ctkDICOMTableManager" name="dicomTableManager">
  149. <property name="dynamicTableLayout">
  150. <bool>true</bool>
  151. </property>
  152. <property name="m_DynamicLayout" stdset="0">
  153. <bool>true</bool>
  154. </property>
  155. </widget>
  156. </item>
  157. </layout>
  158. </item>
  159. </layout>
  160. <action name="ActionImport">
  161. <property name="text">
  162. <string>Import</string>
  163. </property>
  164. <property name="toolTip">
  165. <string>Import a DICOM file or folder</string>
  166. </property>
  167. </action>
  168. <action name="ActionExport">
  169. <property name="enabled">
  170. <bool>false</bool>
  171. </property>
  172. <property name="text">
  173. <string>Export</string>
  174. </property>
  175. <property name="toolTip">
  176. <string>Export selected study/series to a DICOM folder (not yet available)</string>
  177. </property>
  178. </action>
  179. <action name="ActionQuery">
  180. <property name="text">
  181. <string>Query</string>
  182. </property>
  183. <property name="toolTip">
  184. <string>Query and Retrieve DICOM studies from a DICOM node</string>
  185. </property>
  186. </action>
  187. <action name="ActionSend">
  188. <property name="enabled">
  189. <bool>false</bool>
  190. </property>
  191. <property name="text">
  192. <string>Send</string>
  193. </property>
  194. <property name="toolTip">
  195. <string>Send DICOM Studies to a DICOM node (not yet available)</string>
  196. </property>
  197. </action>
  198. <action name="ActionRemove">
  199. <property name="enabled">
  200. <bool>false</bool>
  201. </property>
  202. <property name="text">
  203. <string>Remove</string>
  204. </property>
  205. <property name="toolTip">
  206. <string>Remove from database</string>
  207. </property>
  208. </action>
  209. <action name="ActionRepair">
  210. <property name="enabled">
  211. <bool>true</bool>
  212. </property>
  213. <property name="text">
  214. <string>Repair</string>
  215. </property>
  216. <property name="toolTip">
  217. <string>Check whether all the files associated with images in the local Database are available on the disk.</string>
  218. </property>
  219. </action>
  220. </widget>
  221. <customwidgets>
  222. <customwidget>
  223. <class>ctkDICOMTableManager</class>
  224. <extends>QWidget</extends>
  225. <header>ctkDICOMTableManager.h</header>
  226. <container>1</container>
  227. </customwidget>
  228. <customwidget>
  229. <class>ctkDirectoryButton</class>
  230. <extends>QWidget</extends>
  231. <header>ctkDirectoryButton.h</header>
  232. <container>1</container>
  233. <slots>
  234. <signal>directoryChanged(QString)</signal>
  235. </slots>
  236. </customwidget>
  237. </customwidgets>
  238. <resources/>
  239. <connections>
  240. <connection>
  241. <sender>ActionImport</sender>
  242. <signal>triggered(bool)</signal>
  243. <receiver>ctkDICOMBrowser</receiver>
  244. <slot>openImportDialog()</slot>
  245. <hints>
  246. <hint type="sourcelabel">
  247. <x>-1</x>
  248. <y>-1</y>
  249. </hint>
  250. <hint type="destinationlabel">
  251. <x>319</x>
  252. <y>239</y>
  253. </hint>
  254. </hints>
  255. </connection>
  256. <connection>
  257. <sender>ActionExport</sender>
  258. <signal>triggered(bool)</signal>
  259. <receiver>ctkDICOMBrowser</receiver>
  260. <slot>openExportDialog()</slot>
  261. <hints>
  262. <hint type="sourcelabel">
  263. <x>-1</x>
  264. <y>-1</y>
  265. </hint>
  266. <hint type="destinationlabel">
  267. <x>319</x>
  268. <y>239</y>
  269. </hint>
  270. </hints>
  271. </connection>
  272. <connection>
  273. <sender>ActionQuery</sender>
  274. <signal>triggered(bool)</signal>
  275. <receiver>ctkDICOMBrowser</receiver>
  276. <slot>openQueryDialog()</slot>
  277. <hints>
  278. <hint type="sourcelabel">
  279. <x>-1</x>
  280. <y>-1</y>
  281. </hint>
  282. <hint type="destinationlabel">
  283. <x>319</x>
  284. <y>239</y>
  285. </hint>
  286. </hints>
  287. </connection>
  288. <connection>
  289. <sender>ActionRemove</sender>
  290. <signal>triggered()</signal>
  291. <receiver>ctkDICOMBrowser</receiver>
  292. <slot>onRemoveAction()</slot>
  293. <hints>
  294. <hint type="sourcelabel">
  295. <x>-1</x>
  296. <y>-1</y>
  297. </hint>
  298. <hint type="destinationlabel">
  299. <x>391</x>
  300. <y>303</y>
  301. </hint>
  302. </hints>
  303. </connection>
  304. <connection>
  305. <sender>ActionRepair</sender>
  306. <signal>triggered()</signal>
  307. <receiver>ctkDICOMBrowser</receiver>
  308. <slot>onRepairAction()</slot>
  309. <hints>
  310. <hint type="sourcelabel">
  311. <x>-1</x>
  312. <y>-1</y>
  313. </hint>
  314. <hint type="destinationlabel">
  315. <x>400</x>
  316. <y>303</y>
  317. </hint>
  318. </hints>
  319. </connection>
  320. </connections>
  321. <slots>
  322. <slot>openImportDialog()</slot>
  323. <slot>openExportDialog()</slot>
  324. <slot>openQueryDialog()</slot>
  325. <slot>onDatabaseDirectoryChaged(QString)</slot>
  326. <slot>onNextImage()</slot>
  327. <slot>onPreviousImage()</slot>
  328. <slot>onNextSeries()</slot>
  329. <slot>onPreviousSeries()</slot>
  330. <slot>onNextStudy()</slot>
  331. <slot>onPreviousStudy()</slot>
  332. <slot>onAutoPlayCheckboxStateChanged(int)</slot>
  333. <slot>onThumbnailWidthSliderValueChanged(int)</slot>
  334. <slot>onRemoveAction()</slot>
  335. </slots>
  336. </ui>