1 <?xml version="1.0" encoding="UTF-8"?>
3 <class>vvToolROIManager</class>
4 <widget class="QWidget" name="vvToolROIManager">
5 <property name="geometry">
13 <property name="sizePolicy">
14 <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
15 <horstretch>0</horstretch>
16 <verstretch>0</verstretch>
19 <property name="maximumSize">
21 <width>16777215</width>
22 <height>16777215</height>
25 <property name="windowTitle">
28 <layout class="QVBoxLayout" name="verticalLayout_5">
29 <property name="spacing">
32 <property name="margin">
36 <layout class="QHBoxLayout" name="horizontalLayout_2">
38 <spacer name="horizontalSpacer">
39 <property name="orientation">
40 <enum>Qt::Horizontal</enum>
42 <property name="sizeHint" stdset="0">
51 <widget class="QLabel" name="mLabelInputInfo">
52 <property name="font">
54 <pointsize>11</pointsize>
59 <property name="frameShape">
60 <enum>QFrame::NoFrame</enum>
62 <property name="text">
63 <string>No selected image</string>
65 <property name="alignment">
66 <set>Qt::AlignCenter</set>
71 <spacer name="horizontalSpacer_3">
72 <property name="orientation">
73 <enum>Qt::Horizontal</enum>
75 <property name="sizeHint" stdset="0">
86 <widget class="QFrame" name="frame_3">
87 <property name="frameShape">
88 <enum>QFrame::StyledPanel</enum>
90 <property name="frameShadow">
91 <enum>QFrame::Raised</enum>
93 <layout class="QHBoxLayout" name="horizontalLayout">
94 <property name="spacing">
97 <property name="margin">
101 <widget class="QLabel" name="vectorFieldNameLabel_4">
102 <property name="sizePolicy">
103 <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
104 <horstretch>0</horstretch>
105 <verstretch>0</verstretch>
108 <property name="text">
109 <string>Load ROI from image</string>
114 <widget class="QPushButton" name="mOpenBinaryButton">
115 <property name="sizePolicy">
116 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
117 <horstretch>0</horstretch>
118 <verstretch>0</verstretch>
121 <property name="maximumSize">
127 <property name="toolTip">
128 <string>Open label image</string>
130 <property name="text">
133 <property name="icon">
134 <iconset resource="../vvIcons.qrc">
135 <normaloff>:/common/icons/fileopen.png</normaloff>:/common/icons/fileopen.png</iconset>
140 <spacer name="horizontalSpacer_4">
141 <property name="orientation">
142 <enum>Qt::Horizontal</enum>
144 <property name="sizeHint" stdset="0">
153 <widget class="QLabel" name="dimensionStaticLabel">
154 <property name="sizePolicy">
155 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
156 <horstretch>0</horstretch>
157 <verstretch>0</verstretch>
160 <property name="text">
166 <widget class="QSpinBox" name="mBackgroundValueSpinBox"/>
169 <widget class="QCheckBox" name="mBGModeCheckBox">
170 <property name="toolTip">
171 <string>Tick if you want to consider FG mode instead of BG mode.</string>
173 <property name="text">
174 <string>FG ?</string>
182 <widget class="QFrame" name="frame_4">
183 <property name="enabled">
186 <property name="frameShape">
187 <enum>QFrame::StyledPanel</enum>
189 <property name="frameShadow">
190 <enum>QFrame::Raised</enum>
192 <layout class="QHBoxLayout" name="horizontalLayout_10">
193 <property name="spacing">
196 <property name="margin">
200 <widget class="QLabel" name="vectorFieldNameLabel_5">
201 <property name="sizePolicy">
202 <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
203 <horstretch>0</horstretch>
204 <verstretch>0</verstretch>
207 <property name="text">
208 <string>Load DICOM-RT-Struct</string>
213 <widget class="QPushButton" name="mOpenDicomButton">
214 <property name="sizePolicy">
215 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
216 <horstretch>0</horstretch>
217 <verstretch>0</verstretch>
220 <property name="maximumSize">
226 <property name="toolTip">
227 <string>Open label image</string>
229 <property name="text">
232 <property name="icon">
233 <iconset resource="../vvIcons.qrc">
234 <normaloff>:/common/icons/fileopen.png</normaloff>:/common/icons/fileopen.png</iconset>
239 <spacer name="horizontalSpacer_6">
240 <property name="orientation">
241 <enum>Qt::Horizontal</enum>
243 <property name="sizeHint" stdset="0">
255 <widget class="QTreeWidget" name="mTree">
256 <property name="sizePolicy">
257 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
258 <horstretch>0</horstretch>
259 <verstretch>0</verstretch>
262 <property name="minimumSize">
268 <property name="font">
270 <pointsize>9</pointsize>
273 <property name="editTriggers">
274 <set>QAbstractItemView::AllEditTriggers</set>
276 <property name="tabKeyNavigation">
279 <property name="alternatingRowColors">
282 <property name="selectionMode">
283 <enum>QAbstractItemView::SingleSelection</enum>
285 <property name="selectionBehavior">
286 <enum>QAbstractItemView::SelectRows</enum>
288 <property name="animated">
291 <property name="wordWrap">
295 <property name="text">
300 <property name="text">
301 <string>Name</string>
305 <property name="text">
306 <string>Color</string>
310 <property name="text">
311 <string>Depth</string>
315 <property name="text">
318 <property name="text">
319 <string>Toto.mhd.toiefkjhfdjvhjhf</string>
321 <property name="text">
324 <property name="text">
331 <widget class="QFrame" name="frame">
332 <property name="frameShape">
333 <enum>QFrame::StyledPanel</enum>
335 <property name="frameShadow">
336 <enum>QFrame::Raised</enum>
338 <layout class="QGridLayout" name="gridLayout">
339 <property name="margin">
342 <property name="spacing">
345 <item row="0" column="0">
346 <widget class="QGroupBox" name="mGroupBoxROI">
347 <property name="sizePolicy">
348 <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
349 <horstretch>0</horstretch>
350 <verstretch>0</verstretch>
353 <property name="title">
354 <string>Selected ROI</string>
356 <layout class="QVBoxLayout" name="verticalLayout">
357 <property name="spacing">
360 <property name="margin">
364 <layout class="QHBoxLayout" name="horizontalLayout_8">
365 <property name="spacing">
369 <widget class="QCheckBox" name="mCheckBoxShow">
370 <property name="text">
371 <string>Visible</string>
373 <property name="checked">
379 <widget class="QPushButton" name="mChangeColorButton">
380 <property name="toolTip">
383 <property name="autoFillBackground">
386 <property name="text">
387 <string>Color</string>
392 <widget class="QPushButton" name="mReloadButton">
393 <property name="toolTip">
394 <string>Reload image</string>
396 <property name="autoFillBackground">
399 <property name="text">
402 <property name="icon">
403 <iconset resource="../vvIcons.qrc">
404 <normaloff>:/common/icons/rotateright.png</normaloff>:/common/icons/rotateright.png</iconset>
411 <layout class="QHBoxLayout" name="horizontalLayout_5">
412 <property name="spacing">
416 <widget class="QLabel" name="vectorFieldNameLabel_7">
417 <property name="sizePolicy">
418 <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
419 <horstretch>0</horstretch>
420 <verstretch>0</verstretch>
423 <property name="text">
424 <string>Opacity</string>
429 <widget class="QSlider" name="mOpacitySlider">
430 <property name="maximum">
433 <property name="orientation">
434 <enum>Qt::Horizontal</enum>
439 <widget class="QSpinBox" name="mOpacitySpinBox">
440 <property name="maximum">
448 <layout class="QHBoxLayout" name="horizontalLayout_9">
449 <property name="spacing">
453 <widget class="QCheckBox" name="mContourCheckBoxShow">
454 <property name="text">
455 <string>Contour</string>
457 <property name="checked">
463 <widget class="QPushButton" name="mChangeContourColorButton">
464 <property name="toolTip">
467 <property name="autoFillBackground">
470 <property name="text">
471 <string>Color</string>
476 <spacer name="horizontalSpacer_2">
477 <property name="orientation">
478 <enum>Qt::Horizontal</enum>
480 <property name="sizeHint" stdset="0">
489 <layout class="QHBoxLayout" name="horizontalLayout_6">
491 <widget class="QLabel" name="mROInameLabel_2">
492 <property name="sizePolicy">
493 <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
494 <horstretch>0</horstretch>
495 <verstretch>0</verstretch>
498 <property name="text">
499 <string>Width</string>
504 <widget class="QSpinBox" name="mContourWidthSpinBox">
505 <property name="minimum">
508 <property name="maximum">
518 <layout class="QHBoxLayout" name="horizontalLayout_3">
519 <property name="spacing">
523 <widget class="QLabel" name="mROInameLabel">
524 <property name="sizePolicy">
525 <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
526 <horstretch>0</horstretch>
527 <verstretch>0</verstretch>
530 <property name="text">
536 <spacer name="horizontalSpacer_5">
537 <property name="orientation">
538 <enum>Qt::Horizontal</enum>
540 <property name="sizeHint" stdset="0">
549 <widget class="QPushButton" name="mRemoveButton">
550 <property name="text">
553 <property name="icon">
554 <iconset resource="../vvIcons.qrc">
555 <normaloff>:/common/icons/standardbutton-cancel-16.png</normaloff>:/common/icons/standardbutton-cancel-16.png</iconset>
560 <widget class="QLabel" name="mROInameLabel_3">
561 <property name="sizePolicy">
562 <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
563 <horstretch>0</horstretch>
564 <verstretch>0</verstretch>
567 <property name="text">
568 <string>Depth</string>
573 <widget class="QSpinBox" name="mDepthSpinBox">
574 <property name="minimum">
577 <property name="maximum">
578 <number>999999</number>
591 <layout class="QHBoxLayout" name="horizontalLayout_7">
592 <property name="spacing">
596 <widget class="QFrame" name="frame_2">
597 <property name="frameShape">
598 <enum>QFrame::StyledPanel</enum>
600 <property name="frameShadow">
601 <enum>QFrame::Raised</enum>
603 <layout class="QGridLayout" name="gridLayout_2">
604 <property name="margin">
607 <property name="spacing">
610 <item row="0" column="0">
611 <layout class="QHBoxLayout" name="horizontalLayout_4">
612 <property name="spacing">
616 <widget class="QGroupBox" name="groupBox">
617 <property name="sizePolicy">
618 <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
619 <horstretch>0</horstretch>
620 <verstretch>0</verstretch>
623 <property name="title">
624 <string>All ROI</string>
626 <layout class="QVBoxLayout" name="verticalLayout_2">
627 <property name="spacing">
630 <property name="margin">
634 <layout class="QVBoxLayout" name="verticalLayout_4">
635 <property name="spacing">
638 <property name="bottomMargin">
642 <widget class="QCheckBox" name="mCheckBoxShowAll">
643 <property name="text">
644 <string>Set all ROI visible</string>
646 <property name="checked">
649 <property name="tristate">
655 <widget class="QCheckBox" name="mContourCheckBoxShowAll">
656 <property name="text">
657 <string>Set all contours visible</string>
659 <property name="checked">
662 <property name="tristate">
678 <layout class="QVBoxLayout" name="verticalLayout_3">
680 <widget class="QLabel" name="mROInameLabel_4">
681 <property name="sizePolicy">
682 <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
683 <horstretch>0</horstretch>
684 <verstretch>0</verstretch>
687 <property name="text">
688 <string>Close tab</string>
690 <property name="alignment">
691 <set>Qt::AlignCenter</set>
696 <widget class="QPushButton" name="mCloseButton">
697 <property name="toolTip">
700 <property name="autoFillBackground">
703 <property name="text">
706 <property name="icon">
707 <iconset resource="../vvIcons.qrc">
708 <normaloff>:/common/icons/standardbutton-cancel-16.png</normaloff>:/common/icons/standardbutton-cancel-16.png</iconset>
719 <tabstop>mOpenBinaryButton</tabstop>
720 <tabstop>mBackgroundValueSpinBox</tabstop>
721 <tabstop>mBGModeCheckBox</tabstop>
722 <tabstop>mOpenDicomButton</tabstop>
723 <tabstop>mTree</tabstop>
724 <tabstop>mCheckBoxShow</tabstop>
725 <tabstop>mChangeColorButton</tabstop>
726 <tabstop>mReloadButton</tabstop>
727 <tabstop>mOpacitySlider</tabstop>
728 <tabstop>mOpacitySpinBox</tabstop>
729 <tabstop>mContourCheckBoxShow</tabstop>
730 <tabstop>mChangeContourColorButton</tabstop>
731 <tabstop>mContourWidthSpinBox</tabstop>
732 <tabstop>mDepthSpinBox</tabstop>
733 <tabstop>mCheckBoxShowAll</tabstop>
734 <tabstop>mContourCheckBoxShowAll</tabstop>
735 <tabstop>mCloseButton</tabstop>
738 <include location="../vvIcons.qrc"/>
742 <sender>mOpacitySlider</sender>
743 <signal>valueChanged(int)</signal>
744 <receiver>mOpacitySpinBox</receiver>
745 <slot>setValue(int)</slot>
747 <hint type="sourcelabel">
751 <hint type="destinationlabel">
758 <sender>mOpacitySpinBox</sender>
759 <signal>valueChanged(int)</signal>
760 <receiver>mOpacitySlider</receiver>
761 <slot>setValue(int)</slot>
763 <hint type="sourcelabel">
767 <hint type="destinationlabel">