ctkDICOMAppWidget.ui 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530
  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. <layout class="QVBoxLayout" name="verticalLayout">
  39. <item>
  40. <layout class="QHBoxLayout" name="topLayout">
  41. <item>
  42. <widget class="QLabel" name="label">
  43. <property name="maximumSize">
  44. <size>
  45. <width>100</width>
  46. <height>20</height>
  47. </size>
  48. </property>
  49. <property name="text">
  50. <string>LocalDatabase:</string>
  51. </property>
  52. </widget>
  53. </item>
  54. <item>
  55. <widget class="ctkDirectoryButton" name="directoryButton" native="true">
  56. <property name="minimumSize">
  57. <size>
  58. <width>200</width>
  59. <height>20</height>
  60. </size>
  61. </property>
  62. </widget>
  63. </item>
  64. <item>
  65. <spacer name="horizontalSpacer">
  66. <property name="orientation">
  67. <enum>Qt::Horizontal</enum>
  68. </property>
  69. <property name="sizeHint" stdset="0">
  70. <size>
  71. <width>40</width>
  72. <height>20</height>
  73. </size>
  74. </property>
  75. </spacer>
  76. </item>
  77. </layout>
  78. </item>
  79. <item>
  80. <layout class="QHBoxLayout" name="queryLayout" stretch="1,0">
  81. <item>
  82. <widget class="QTreeView" name="treeView">
  83. <property name="alternatingRowColors">
  84. <bool>true</bool>
  85. </property>
  86. </widget>
  87. </item>
  88. <item>
  89. <layout class="QVBoxLayout" name="searchOptionLayout">
  90. <item>
  91. <widget class="ctkDICOMQueryWidget" name="searchOption" native="true"/>
  92. </item>
  93. <item>
  94. <spacer name="verticalSpacer">
  95. <property name="orientation">
  96. <enum>Qt::Vertical</enum>
  97. </property>
  98. <property name="sizeHint" stdset="0">
  99. <size>
  100. <width>20</width>
  101. <height>40</height>
  102. </size>
  103. </property>
  104. </spacer>
  105. </item>
  106. </layout>
  107. </item>
  108. </layout>
  109. </item>
  110. <item>
  111. <widget class="QFrame" name="userFrame">
  112. <property name="frameShape">
  113. <enum>QFrame::StyledPanel</enum>
  114. </property>
  115. <property name="frameShadow">
  116. <enum>QFrame::Raised</enum>
  117. </property>
  118. </widget>
  119. </item>
  120. <item>
  121. <layout class="QHBoxLayout" name="viewerLayout">
  122. <item>
  123. <widget class="ctkDICOMThumbnailListWidget" name="thumbnailsWidget" native="true">
  124. <property name="sizePolicy">
  125. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  126. <horstretch>0</horstretch>
  127. <verstretch>0</verstretch>
  128. </sizepolicy>
  129. </property>
  130. <property name="minimumSize">
  131. <size>
  132. <width>0</width>
  133. <height>200</height>
  134. </size>
  135. </property>
  136. </widget>
  137. </item>
  138. <item>
  139. <widget class="QFrame" name="previewFrame">
  140. <property name="minimumSize">
  141. <size>
  142. <width>256</width>
  143. <height>256</height>
  144. </size>
  145. </property>
  146. <layout class="QVBoxLayout" name="verticalLayout_3">
  147. <item>
  148. <layout class="QHBoxLayout" name="horizontalLayout">
  149. <item>
  150. <widget class="QPushButton" name="prevStudyButton">
  151. <property name="sizePolicy">
  152. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  153. <horstretch>32</horstretch>
  154. <verstretch>32</verstretch>
  155. </sizepolicy>
  156. </property>
  157. <property name="maximumSize">
  158. <size>
  159. <width>40</width>
  160. <height>32</height>
  161. </size>
  162. </property>
  163. <property name="toolTip">
  164. <string>Previous study</string>
  165. </property>
  166. <property name="text">
  167. <string>&lt;&lt;&lt;</string>
  168. </property>
  169. </widget>
  170. </item>
  171. <item>
  172. <widget class="QPushButton" name="prevSeriesButton">
  173. <property name="sizePolicy">
  174. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  175. <horstretch>32</horstretch>
  176. <verstretch>32</verstretch>
  177. </sizepolicy>
  178. </property>
  179. <property name="maximumSize">
  180. <size>
  181. <width>40</width>
  182. <height>32</height>
  183. </size>
  184. </property>
  185. <property name="toolTip">
  186. <string>Previous series</string>
  187. </property>
  188. <property name="text">
  189. <string>&lt;&lt;</string>
  190. </property>
  191. </widget>
  192. </item>
  193. <item>
  194. <widget class="QPushButton" name="prevImageButton">
  195. <property name="sizePolicy">
  196. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  197. <horstretch>32</horstretch>
  198. <verstretch>32</verstretch>
  199. </sizepolicy>
  200. </property>
  201. <property name="maximumSize">
  202. <size>
  203. <width>40</width>
  204. <height>32</height>
  205. </size>
  206. </property>
  207. <property name="toolTip">
  208. <string>Previous image</string>
  209. </property>
  210. <property name="text">
  211. <string>&lt;</string>
  212. </property>
  213. </widget>
  214. </item>
  215. <item>
  216. <widget class="QPushButton" name="nextImageButton">
  217. <property name="sizePolicy">
  218. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  219. <horstretch>32</horstretch>
  220. <verstretch>32</verstretch>
  221. </sizepolicy>
  222. </property>
  223. <property name="maximumSize">
  224. <size>
  225. <width>40</width>
  226. <height>32</height>
  227. </size>
  228. </property>
  229. <property name="toolTip">
  230. <string>Next image</string>
  231. </property>
  232. <property name="text">
  233. <string>&gt;</string>
  234. </property>
  235. </widget>
  236. </item>
  237. <item>
  238. <widget class="QPushButton" name="nextSeriesButton">
  239. <property name="sizePolicy">
  240. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  241. <horstretch>32</horstretch>
  242. <verstretch>32</verstretch>
  243. </sizepolicy>
  244. </property>
  245. <property name="maximumSize">
  246. <size>
  247. <width>40</width>
  248. <height>32</height>
  249. </size>
  250. </property>
  251. <property name="toolTip">
  252. <string>Next series</string>
  253. </property>
  254. <property name="text">
  255. <string>&gt;&gt;</string>
  256. </property>
  257. </widget>
  258. </item>
  259. <item>
  260. <widget class="QPushButton" name="nextStudyButton">
  261. <property name="sizePolicy">
  262. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  263. <horstretch>32</horstretch>
  264. <verstretch>32</verstretch>
  265. </sizepolicy>
  266. </property>
  267. <property name="maximumSize">
  268. <size>
  269. <width>40</width>
  270. <height>32</height>
  271. </size>
  272. </property>
  273. <property name="toolTip">
  274. <string>Next study</string>
  275. </property>
  276. <property name="text">
  277. <string>&gt;&gt;&gt;</string>
  278. </property>
  279. </widget>
  280. </item>
  281. </layout>
  282. </item>
  283. <item>
  284. <widget class="ctkDICOMDatasetView" name="imagePreview" native="true">
  285. <property name="sizePolicy">
  286. <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
  287. <horstretch>0</horstretch>
  288. <verstretch>0</verstretch>
  289. </sizepolicy>
  290. </property>
  291. </widget>
  292. </item>
  293. </layout>
  294. </widget>
  295. </item>
  296. </layout>
  297. </item>
  298. </layout>
  299. </item>
  300. </layout>
  301. <action name="actionImport">
  302. <property name="text">
  303. <string>Import</string>
  304. </property>
  305. <property name="toolTip">
  306. <string>Import a DICOM file or folder</string>
  307. </property>
  308. </action>
  309. <action name="actionExport">
  310. <property name="enabled">
  311. <bool>false</bool>
  312. </property>
  313. <property name="text">
  314. <string>Export</string>
  315. </property>
  316. <property name="toolTip">
  317. <string>Export selected study/series to a DICOM folder (not yet available)</string>
  318. </property>
  319. </action>
  320. <action name="actionQuery">
  321. <property name="text">
  322. <string>Query</string>
  323. </property>
  324. <property name="toolTip">
  325. <string>Query and Retrieve DICOM studies from a DICOM node</string>
  326. </property>
  327. </action>
  328. <action name="actionSend">
  329. <property name="enabled">
  330. <bool>false</bool>
  331. </property>
  332. <property name="text">
  333. <string>Send</string>
  334. </property>
  335. <property name="toolTip">
  336. <string>Send DICOM Studies to a DICOM node (not yet available)</string>
  337. </property>
  338. </action>
  339. </widget>
  340. <customwidgets>
  341. <customwidget>
  342. <class>ctkDICOMQueryWidget</class>
  343. <extends>QWidget</extends>
  344. <header>ctkDICOMQueryWidget.h</header>
  345. <container>1</container>
  346. </customwidget>
  347. <customwidget>
  348. <class>ctkDirectoryButton</class>
  349. <extends>QWidget</extends>
  350. <header>ctkDirectoryButton.h</header>
  351. <container>1</container>
  352. <slots>
  353. <signal>directoryChanged(QString)</signal>
  354. </slots>
  355. </customwidget>
  356. <customwidget>
  357. <class>ctkDICOMThumbnailListWidget</class>
  358. <extends>QWidget</extends>
  359. <header>ctkDICOMThumbnailListWidget.h</header>
  360. <container>1</container>
  361. </customwidget>
  362. <customwidget>
  363. <class>ctkDICOMDatasetView</class>
  364. <extends>QWidget</extends>
  365. <header location="global">ctkDICOMDatasetView.h</header>
  366. <container>1</container>
  367. </customwidget>
  368. </customwidgets>
  369. <resources/>
  370. <connections>
  371. <connection>
  372. <sender>actionImport</sender>
  373. <signal>triggered(bool)</signal>
  374. <receiver>ctkDICOMAppWidget</receiver>
  375. <slot>openImportDialog()</slot>
  376. <hints>
  377. <hint type="sourcelabel">
  378. <x>-1</x>
  379. <y>-1</y>
  380. </hint>
  381. <hint type="destinationlabel">
  382. <x>319</x>
  383. <y>239</y>
  384. </hint>
  385. </hints>
  386. </connection>
  387. <connection>
  388. <sender>actionExport</sender>
  389. <signal>triggered(bool)</signal>
  390. <receiver>ctkDICOMAppWidget</receiver>
  391. <slot>openExportDialog()</slot>
  392. <hints>
  393. <hint type="sourcelabel">
  394. <x>-1</x>
  395. <y>-1</y>
  396. </hint>
  397. <hint type="destinationlabel">
  398. <x>319</x>
  399. <y>239</y>
  400. </hint>
  401. </hints>
  402. </connection>
  403. <connection>
  404. <sender>actionQuery</sender>
  405. <signal>triggered(bool)</signal>
  406. <receiver>ctkDICOMAppWidget</receiver>
  407. <slot>openQueryDialog()</slot>
  408. <hints>
  409. <hint type="sourcelabel">
  410. <x>-1</x>
  411. <y>-1</y>
  412. </hint>
  413. <hint type="destinationlabel">
  414. <x>319</x>
  415. <y>239</y>
  416. </hint>
  417. </hints>
  418. </connection>
  419. <connection>
  420. <sender>nextImageButton</sender>
  421. <signal>clicked()</signal>
  422. <receiver>ctkDICOMAppWidget</receiver>
  423. <slot>onNextImage()</slot>
  424. <hints>
  425. <hint type="sourcelabel">
  426. <x>608</x>
  427. <y>395</y>
  428. </hint>
  429. <hint type="destinationlabel">
  430. <x>369</x>
  431. <y>318</y>
  432. </hint>
  433. </hints>
  434. </connection>
  435. <connection>
  436. <sender>prevImageButton</sender>
  437. <signal>clicked()</signal>
  438. <receiver>ctkDICOMAppWidget</receiver>
  439. <slot>onPreviousImage()</slot>
  440. <hints>
  441. <hint type="sourcelabel">
  442. <x>566</x>
  443. <y>395</y>
  444. </hint>
  445. <hint type="destinationlabel">
  446. <x>369</x>
  447. <y>318</y>
  448. </hint>
  449. </hints>
  450. </connection>
  451. <connection>
  452. <sender>nextSeriesButton</sender>
  453. <signal>clicked()</signal>
  454. <receiver>ctkDICOMAppWidget</receiver>
  455. <slot>onNextSeries()</slot>
  456. <hints>
  457. <hint type="sourcelabel">
  458. <x>650</x>
  459. <y>395</y>
  460. </hint>
  461. <hint type="destinationlabel">
  462. <x>369</x>
  463. <y>318</y>
  464. </hint>
  465. </hints>
  466. </connection>
  467. <connection>
  468. <sender>prevSeriesButton</sender>
  469. <signal>clicked()</signal>
  470. <receiver>ctkDICOMAppWidget</receiver>
  471. <slot>onPreviousSeries()</slot>
  472. <hints>
  473. <hint type="sourcelabel">
  474. <x>524</x>
  475. <y>395</y>
  476. </hint>
  477. <hint type="destinationlabel">
  478. <x>369</x>
  479. <y>318</y>
  480. </hint>
  481. </hints>
  482. </connection>
  483. <connection>
  484. <sender>nextStudyButton</sender>
  485. <signal>clicked()</signal>
  486. <receiver>ctkDICOMAppWidget</receiver>
  487. <slot>onNextStudy()</slot>
  488. <hints>
  489. <hint type="sourcelabel">
  490. <x>692</x>
  491. <y>395</y>
  492. </hint>
  493. <hint type="destinationlabel">
  494. <x>369</x>
  495. <y>318</y>
  496. </hint>
  497. </hints>
  498. </connection>
  499. <connection>
  500. <sender>prevStudyButton</sender>
  501. <signal>clicked()</signal>
  502. <receiver>ctkDICOMAppWidget</receiver>
  503. <slot>onPreviousStudy()</slot>
  504. <hints>
  505. <hint type="sourcelabel">
  506. <x>482</x>
  507. <y>395</y>
  508. </hint>
  509. <hint type="destinationlabel">
  510. <x>369</x>
  511. <y>318</y>
  512. </hint>
  513. </hints>
  514. </connection>
  515. </connections>
  516. <slots>
  517. <signal>signal1()</signal>
  518. <slot>openImportDialog()</slot>
  519. <slot>openExportDialog()</slot>
  520. <slot>openQueryDialog()</slot>
  521. <slot>onDatabaseDirectoryChaged(QString)</slot>
  522. <slot>onNextImage()</slot>
  523. <slot>onPreviousImage()</slot>
  524. <slot>onNextSeries()</slot>
  525. <slot>onPreviousSeries()</slot>
  526. <slot>onNextStudy()</slot>
  527. <slot>onPreviousStudy()</slot>
  528. </slots>
  529. </ui>