瀏覽代碼

Add userFrame as a place for applications to add to the widget

End-user applications may want to add extra widgets into the middle
of the widget.  For example, in slicer we want to add buttons to operate
on the selected item of the tree view.
Steve Pieper 14 年之前
父節點
當前提交
71384171c7
共有 1 個文件被更改,包括 10 次插入0 次删除
  1. 10 0
      Libs/DICOM/Widgets/Resources/UI/ctkDICOMAppWidget.ui

+ 10 - 0
Libs/DICOM/Widgets/Resources/UI/ctkDICOMAppWidget.ui

@@ -108,6 +108,16 @@
       </layout>
      </item>
      <item>
+      <widget class="QFrame" name="userFrame">
+       <property name="frameShape">
+        <enum>QFrame::StyledPanel</enum>
+       </property>
+       <property name="frameShadow">
+        <enum>QFrame::Raised</enum>
+       </property>
+      </widget>
+     </item>
+     <item>
       <layout class="QHBoxLayout" name="viewerLayout">
        <item>
         <widget class="ctkDICOMThumbnailListWidget" name="thumbnailsWidget" native="true">