ctkDICOMAppWidget.ui 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571
  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. <item>
  294. <layout class="QHBoxLayout" name="horizontalLayout_2">
  295. <item>
  296. <widget class="QCheckBox" name="autoPlayCheckbox">
  297. <property name="text">
  298. <string>auto-play</string>
  299. </property>
  300. </widget>
  301. </item>
  302. <item>
  303. <widget class="QSlider" name="playSlider">
  304. <property name="sizePolicy">
  305. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  306. <horstretch>0</horstretch>
  307. <verstretch>0</verstretch>
  308. </sizepolicy>
  309. </property>
  310. <property name="orientation">
  311. <enum>Qt::Horizontal</enum>
  312. </property>
  313. </widget>
  314. </item>
  315. </layout>
  316. </item>
  317. </layout>
  318. </widget>
  319. </item>
  320. </layout>
  321. </item>
  322. </layout>
  323. </item>
  324. </layout>
  325. <action name="actionImport">
  326. <property name="text">
  327. <string>Import</string>
  328. </property>
  329. <property name="toolTip">
  330. <string>Import a DICOM file or folder</string>
  331. </property>
  332. </action>
  333. <action name="actionExport">
  334. <property name="enabled">
  335. <bool>false</bool>
  336. </property>
  337. <property name="text">
  338. <string>Export</string>
  339. </property>
  340. <property name="toolTip">
  341. <string>Export selected study/series to a DICOM folder (not yet available)</string>
  342. </property>
  343. </action>
  344. <action name="actionQuery">
  345. <property name="text">
  346. <string>Query</string>
  347. </property>
  348. <property name="toolTip">
  349. <string>Query and Retrieve DICOM studies from a DICOM node</string>
  350. </property>
  351. </action>
  352. <action name="actionSend">
  353. <property name="enabled">
  354. <bool>false</bool>
  355. </property>
  356. <property name="text">
  357. <string>Send</string>
  358. </property>
  359. <property name="toolTip">
  360. <string>Send DICOM Studies to a DICOM node (not yet available)</string>
  361. </property>
  362. </action>
  363. </widget>
  364. <customwidgets>
  365. <customwidget>
  366. <class>ctkDICOMQueryWidget</class>
  367. <extends>QWidget</extends>
  368. <header>ctkDICOMQueryWidget.h</header>
  369. <container>1</container>
  370. </customwidget>
  371. <customwidget>
  372. <class>ctkDirectoryButton</class>
  373. <extends>QWidget</extends>
  374. <header>ctkDirectoryButton.h</header>
  375. <container>1</container>
  376. <slots>
  377. <signal>directoryChanged(QString)</signal>
  378. </slots>
  379. </customwidget>
  380. <customwidget>
  381. <class>ctkDICOMThumbnailListWidget</class>
  382. <extends>QWidget</extends>
  383. <header>ctkDICOMThumbnailListWidget.h</header>
  384. <container>1</container>
  385. </customwidget>
  386. <customwidget>
  387. <class>ctkDICOMDatasetView</class>
  388. <extends>QWidget</extends>
  389. <header location="global">ctkDICOMDatasetView.h</header>
  390. <container>1</container>
  391. </customwidget>
  392. </customwidgets>
  393. <resources/>
  394. <connections>
  395. <connection>
  396. <sender>actionImport</sender>
  397. <signal>triggered(bool)</signal>
  398. <receiver>ctkDICOMAppWidget</receiver>
  399. <slot>openImportDialog()</slot>
  400. <hints>
  401. <hint type="sourcelabel">
  402. <x>-1</x>
  403. <y>-1</y>
  404. </hint>
  405. <hint type="destinationlabel">
  406. <x>319</x>
  407. <y>239</y>
  408. </hint>
  409. </hints>
  410. </connection>
  411. <connection>
  412. <sender>actionExport</sender>
  413. <signal>triggered(bool)</signal>
  414. <receiver>ctkDICOMAppWidget</receiver>
  415. <slot>openExportDialog()</slot>
  416. <hints>
  417. <hint type="sourcelabel">
  418. <x>-1</x>
  419. <y>-1</y>
  420. </hint>
  421. <hint type="destinationlabel">
  422. <x>319</x>
  423. <y>239</y>
  424. </hint>
  425. </hints>
  426. </connection>
  427. <connection>
  428. <sender>actionQuery</sender>
  429. <signal>triggered(bool)</signal>
  430. <receiver>ctkDICOMAppWidget</receiver>
  431. <slot>openQueryDialog()</slot>
  432. <hints>
  433. <hint type="sourcelabel">
  434. <x>-1</x>
  435. <y>-1</y>
  436. </hint>
  437. <hint type="destinationlabel">
  438. <x>319</x>
  439. <y>239</y>
  440. </hint>
  441. </hints>
  442. </connection>
  443. <connection>
  444. <sender>nextImageButton</sender>
  445. <signal>clicked()</signal>
  446. <receiver>ctkDICOMAppWidget</receiver>
  447. <slot>onNextImage()</slot>
  448. <hints>
  449. <hint type="sourcelabel">
  450. <x>608</x>
  451. <y>395</y>
  452. </hint>
  453. <hint type="destinationlabel">
  454. <x>369</x>
  455. <y>318</y>
  456. </hint>
  457. </hints>
  458. </connection>
  459. <connection>
  460. <sender>prevImageButton</sender>
  461. <signal>clicked()</signal>
  462. <receiver>ctkDICOMAppWidget</receiver>
  463. <slot>onPreviousImage()</slot>
  464. <hints>
  465. <hint type="sourcelabel">
  466. <x>566</x>
  467. <y>395</y>
  468. </hint>
  469. <hint type="destinationlabel">
  470. <x>369</x>
  471. <y>318</y>
  472. </hint>
  473. </hints>
  474. </connection>
  475. <connection>
  476. <sender>nextSeriesButton</sender>
  477. <signal>clicked()</signal>
  478. <receiver>ctkDICOMAppWidget</receiver>
  479. <slot>onNextSeries()</slot>
  480. <hints>
  481. <hint type="sourcelabel">
  482. <x>650</x>
  483. <y>395</y>
  484. </hint>
  485. <hint type="destinationlabel">
  486. <x>369</x>
  487. <y>318</y>
  488. </hint>
  489. </hints>
  490. </connection>
  491. <connection>
  492. <sender>prevSeriesButton</sender>
  493. <signal>clicked()</signal>
  494. <receiver>ctkDICOMAppWidget</receiver>
  495. <slot>onPreviousSeries()</slot>
  496. <hints>
  497. <hint type="sourcelabel">
  498. <x>524</x>
  499. <y>395</y>
  500. </hint>
  501. <hint type="destinationlabel">
  502. <x>369</x>
  503. <y>318</y>
  504. </hint>
  505. </hints>
  506. </connection>
  507. <connection>
  508. <sender>nextStudyButton</sender>
  509. <signal>clicked()</signal>
  510. <receiver>ctkDICOMAppWidget</receiver>
  511. <slot>onNextStudy()</slot>
  512. <hints>
  513. <hint type="sourcelabel">
  514. <x>692</x>
  515. <y>395</y>
  516. </hint>
  517. <hint type="destinationlabel">
  518. <x>369</x>
  519. <y>318</y>
  520. </hint>
  521. </hints>
  522. </connection>
  523. <connection>
  524. <sender>prevStudyButton</sender>
  525. <signal>clicked()</signal>
  526. <receiver>ctkDICOMAppWidget</receiver>
  527. <slot>onPreviousStudy()</slot>
  528. <hints>
  529. <hint type="sourcelabel">
  530. <x>482</x>
  531. <y>395</y>
  532. </hint>
  533. <hint type="destinationlabel">
  534. <x>369</x>
  535. <y>318</y>
  536. </hint>
  537. </hints>
  538. </connection>
  539. <connection>
  540. <sender>autoPlayCheckbox</sender>
  541. <signal>stateChanged(int)</signal>
  542. <receiver>ctkDICOMAppWidget</receiver>
  543. <slot>onAutoPlayCheckboxStateChanged(int)</slot>
  544. <hints>
  545. <hint type="sourcelabel">
  546. <x>430</x>
  547. <y>596</y>
  548. </hint>
  549. <hint type="destinationlabel">
  550. <x>369</x>
  551. <y>318</y>
  552. </hint>
  553. </hints>
  554. </connection>
  555. </connections>
  556. <slots>
  557. <signal>signal1()</signal>
  558. <slot>openImportDialog()</slot>
  559. <slot>openExportDialog()</slot>
  560. <slot>openQueryDialog()</slot>
  561. <slot>onDatabaseDirectoryChaged(QString)</slot>
  562. <slot>onNextImage()</slot>
  563. <slot>onPreviousImage()</slot>
  564. <slot>onNextSeries()</slot>
  565. <slot>onPreviousSeries()</slot>
  566. <slot>onNextStudy()</slot>
  567. <slot>onPreviousStudy()</slot>
  568. <slot>onAutoPlayCheckboxStateChanged(int)</slot>
  569. </slots>
  570. </ui>