qSlicerVolumesModule.ui 4.64 KB
Newer Older
1
2
3
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>qSlicerVolumesModule</class>
4
 <widget class="qSlicerWidget" name="qSlicerVolumesModule">
5
6
7
8
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
9
10
    <width>208</width>
    <height>112</height>
11
12
   </rect>
  </property>
13
  <property name="windowTitle">
14
15
16
   <string>Volumes</string>
  </property>
  <property name="windowIcon">
17
   <iconset>
18
    <normaloff>:/Icons/Volumes.png</normaloff>:/Icons/Volumes.png</iconset>
19
  </property>
20
  <layout class="QGridLayout" name="gridLayout">
21
22
23
   <property name="margin">
    <number>0</number>
   </property>
24
25
26
27
28
29
30
31
32
   <item row="0" column="0">
    <widget class="QLabel" name="ActiveVolumeLabel">
     <property name="text">
      <string>Active Volume</string>
     </property>
    </widget>
   </item>
   <item row="0" column="1">
    <widget class="qMRMLNodeComboBox" name="ActiveVolumeNodeSelector">
33
     <property name="nodeTypes">
34
35
36
37
      <stringlist>
       <string>vtkMRMLVolumeNode</string>
      </stringlist>
     </property>
38
     <property name="addEnabled">
39
40
      <bool>false</bool>
     </property>
41
42
43
     <property name="renameEnabled">
      <bool>true</bool>
     </property>
44
    </widget>
45
   </item>
46
47
   <item row="2" column="0" colspan="2">
    <widget class="ctkCollapsibleButton" name="DisplayCollapsibleButton">
48
49
50
51
52
     <property name="text">
      <string>Display</string>
     </property>
     <property name="contentsFrameShape">
      <enum>QFrame::StyledPanel</enum>
53
     </property>
alexy's avatar
alexy committed
54
55
     <layout class="QVBoxLayout" name="verticalLayout_3">
      <item>
56
       <widget class="qSlicerVolumeDisplayWidget" name="VolumeDisplayWidget" native="true"/>
alexy's avatar
alexy committed
57
58
      </item>
     </layout>
59
60
    </widget>
   </item>
61
   <item row="3" column="0" colspan="2">
62
63
64
65
66
67
68
69
70
71
72
73
    <spacer name="verticalSpacer">
     <property name="orientation">
      <enum>Qt::Vertical</enum>
     </property>
     <property name="sizeHint" stdset="0">
      <size>
       <width>208</width>
       <height>15</height>
      </size>
     </property>
    </spacer>
   </item>
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
   <item row="1" column="0" colspan="2">
    <widget class="ctkCollapsibleButton" name="InfoCollapsibleButton">
     <property name="text">
      <string>Volume Information</string>
     </property>
     <property name="checked">
      <bool>false</bool>
     </property>
     <property name="contentsFrameShape">
      <enum>QFrame::StyledPanel</enum>
     </property>
     <layout class="QVBoxLayout" name="verticalLayout">
      <item>
       <widget class="qMRMLVolumeInfoWidget" name="MRMLVolumeInfoWidget"/>
      </item>
     </layout>
    </widget>
   </item>
92
93
  </layout>
 </widget>
94
95
 <customwidgets>
  <customwidget>
96
   <class>ctkCollapsibleButton</class>
97
   <extends>QWidget</extends>
98
   <header>ctkCollapsibleButton.h</header>
99
100
101
   <container>1</container>
  </customwidget>
  <customwidget>
102
   <class>qMRMLNodeComboBox</class>
103
   <extends>QWidget</extends>
104
   <header>qMRMLNodeComboBox.h</header>
105
  </customwidget>
106
107
108
109
110
  <customwidget>
   <class>qMRMLVolumeInfoWidget</class>
   <extends>QWidget</extends>
   <header>qMRMLVolumeInfoWidget.h</header>
  </customwidget>
111
112
113
114
115
116
  <customwidget>
   <class>qSlicerWidget</class>
   <extends>QWidget</extends>
   <header>qSlicerWidget.h</header>
   <container>1</container>
  </customwidget>
alexy's avatar
alexy committed
117
118
119
120
121
  <customwidget>
   <class>qSlicerVolumeDisplayWidget</class>
   <extends>QWidget</extends>
   <header>qSlicerVolumeDisplayWidget.h</header>
  </customwidget>
122
 </customwidgets>
123
124
125
 <resources>
  <include location="../qSlicerVolumesModule.qrc"/>
 </resources>
126
127
128
129
130
131
132
133
 <connections>
  <connection>
   <sender>qSlicerVolumesModule</sender>
   <signal>mrmlSceneChanged(vtkMRMLScene*)</signal>
   <receiver>ActiveVolumeNodeSelector</receiver>
   <slot>setMRMLScene(vtkMRMLScene*)</slot>
   <hints>
    <hint type="sourcelabel">
134
     <x>248</x>
135
136
137
     <y>1</y>
    </hint>
    <hint type="destinationlabel">
138
     <x>230</x>
139
140
141
142
143
144
145
     <y>19</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>ActiveVolumeNodeSelector</sender>
   <signal>currentNodeChanged(vtkMRMLNode*)</signal>
alexy's avatar
alexy committed
146
   <receiver>VolumeDisplayWidget</receiver>
147
148
149
   <slot>setMRMLVolumeNode(vtkMRMLNode*)</slot>
   <hints>
    <hint type="sourcelabel">
150
151
152
153
     <x>302</x>
     <y>19</y>
    </hint>
    <hint type="destinationlabel">
154
     <x>230</x>
155
156
157
158
159
160
161
162
163
164
165
166
167
     <y>414</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>ActiveVolumeNodeSelector</sender>
   <signal>currentNodeChanged(vtkMRMLNode*)</signal>
   <receiver>MRMLVolumeInfoWidget</receiver>
   <slot>setVolumeNode(vtkMRMLNode*)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>152</x>
     <y>11</y>
168
169
    </hint>
    <hint type="destinationlabel">
170
171
     <x>155</x>
     <y>133</y>
172
173
174
175
    </hint>
   </hints>
  </connection>
 </connections>
176
</ui>