ctkDICOMAppWidget.ui 16 KB

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