Browse Source

ENH: more work on dicom widgets

Steve Pieper 15 years ago
parent
commit
eb5904b9d2

+ 1 - 1
Libs/DICOM/Widgets/CMakeLists.txt

@@ -28,7 +28,7 @@ SET(KIT_SRCS
 SET(KIT_MOC_SRCS
   )
 
-# UI files
+# UI files - includes new widgets
 SET(KIT_UI_FORMS
   Resources/UI/qCTKDCMTKLocationWidget.ui
   Resources/UI/qCTKDCMTKListenerWidget.ui

+ 67 - 2
Libs/DICOM/Widgets/Resources/UI/qCTKDCMTKQueryWidget.ui

@@ -6,13 +6,78 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>400</width>
-    <height>300</height>
+    <width>371</width>
+    <height>113</height>
    </rect>
   </property>
   <property name="windowTitle">
    <string>Form</string>
   </property>
+  <widget class="QWidget" name="">
+   <property name="geometry">
+    <rect>
+     <x>10</x>
+     <y>10</y>
+     <width>351</width>
+     <height>92</height>
+    </rect>
+   </property>
+   <layout class="QVBoxLayout" name="verticalLayout">
+    <item>
+     <widget class="QTabWidget" name="queryoptions">
+      <property name="sizePolicy">
+       <sizepolicy hsizetype="Expanding" vsizetype="Maximum">
+        <horstretch>0</horstretch>
+        <verstretch>0</verstretch>
+       </sizepolicy>
+      </property>
+      <property name="maximumSize">
+       <size>
+        <width>16777215</width>
+        <height>20</height>
+       </size>
+      </property>
+      <property name="currentIndex">
+       <number>2</number>
+      </property>
+      <widget class="QWidget" name="Name">
+       <attribute name="title">
+        <string>Name</string>
+       </attribute>
+      </widget>
+      <widget class="QWidget" name="ID">
+       <attribute name="title">
+        <string>ID</string>
+       </attribute>
+      </widget>
+      <widget class="QWidget" name="tab">
+       <attribute name="title">
+        <string>Number</string>
+       </attribute>
+      </widget>
+      <widget class="QWidget" name="tab_2">
+       <attribute name="title">
+        <string>Any</string>
+       </attribute>
+      </widget>
+     </widget>
+    </item>
+    <item>
+     <layout class="QHBoxLayout" name="horizontalLayout">
+      <item>
+       <widget class="QLineEdit" name="lineEdit"/>
+      </item>
+      <item>
+       <widget class="QPushButton" name="pushButton">
+        <property name="text">
+         <string>Search</string>
+        </property>
+       </widget>
+      </item>
+     </layout>
+    </item>
+   </layout>
+  </widget>
  </widget>
  <resources/>
  <connections/>