[Sketch] Selection improvements

as described here: https://forum.freecadweb.org/viewtopic.php?f=17&t=60569&p=537615#p537615
This commit is contained in:
donovaly
2021-10-03 02:53:44 +02:00
committed by abdullahtahiriyo
parent dee5b8febc
commit 8a3f8cff48
2 changed files with 15 additions and 34 deletions

View File

@@ -9,22 +9,16 @@
<rect>
<x>0</x>
<y>0</y>
<width>325</width>
<height>600</height>
<width>274</width>
<height>500</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>700</height>
</size>
</property>
<property name="windowTitle">
<string>Multiple filter selection</string>
</property>
@@ -39,16 +33,13 @@
<item>
<widget class="QListWidget" name="listMultiFilter">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Expanding">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>500</height>
</size>
<property name="sizeAdjustPolicy">
<enum>QAbstractScrollArea::AdjustToContents</enum>
</property>
<property name="selectionMode">
<enum>QAbstractItemView::NoSelection</enum>
@@ -217,19 +208,6 @@
</item>
</layout>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
<item alignment="Qt::AlignHCenter">
<widget class="QDialogButtonBox" name="buttonBox">
<property name="standardButtons">

View File

@@ -181,8 +181,11 @@
<height>0</height>
</size>
</property>
<property name="toolTip">
<string>Click to select multiple filters</string>
</property>
<property name="text">
<string>...</string>
<string>Select Multiple</string>
</property>
</widget>
</item>
@@ -396,16 +399,16 @@
</layout>
</widget>
<customwidgets>
<customwidget>
<class>ConstraintView</class>
<extends>QListWidget</extends>
<header location="global">QListWidget</header>
</customwidget>
<customwidget>
<class>Gui::PrefCheckBox</class>
<extends>QCheckBox</extends>
<header>Gui/PrefWidgets.h</header>
</customwidget>
<customwidget>
<class>ConstraintView</class>
<extends>QListWidget</extends>
<header location="global">QListWidget</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>