diff options
| author | LostDragonist <lost.dragonist@gmail.com> | 2018-12-03 06:04:16 -0600 |
|---|---|---|
| committer | LostDragonist <lost.dragonist@gmail.com> | 2018-12-03 06:04:16 -0600 |
| commit | 79c451bb170c15d19f0d0f71a9e1d86fb843b641 (patch) | |
| tree | 237aad2084b7e087ecf2d8bbbaa72ada8611a3dc /src/listdialog.ui | |
| parent | 87292ca30fd628c29e3acdc7a9fb40eba3eb9ff4 (diff) | |
Improvements to "send to separator..." dialog
* Scale contents with dialog size
* Save and restore dialog geometry
* Add a better window title
Diffstat (limited to 'src/listdialog.ui')
| -rw-r--r-- | src/listdialog.ui | 104 |
1 files changed, 44 insertions, 60 deletions
diff --git a/src/listdialog.ui b/src/listdialog.ui index 032bc131..7aa3eba0 100644 --- a/src/listdialog.ui +++ b/src/listdialog.ui @@ -13,66 +13,50 @@ <property name="windowTitle"> <string>Select an item...</string> </property> - <widget class="QDialogButtonBox" name="buttonBox"> - <property name="geometry"> - <rect> - <x>10</x> - <y>345</y> - <width>240</width> - <height>32</height> - </rect> - </property> - <property name="layoutDirection"> - <enum>Qt::LeftToRight</enum> - </property> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="standardButtons"> - <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> - </property> - </widget> - <widget class="QListWidget" name="choiceList"> - <property name="geometry"> - <rect> - <x>10</x> - <y>10</y> - <width>240</width> - <height>300</height> - </rect> - </property> - <property name="sizePolicy"> - <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="minimumSize"> - <size> - <width>240</width> - <height>280</height> - </size> - </property> - <property name="verticalScrollMode"> - <enum>QAbstractItemView::ScrollPerPixel</enum> - </property> - </widget> - <widget class="MOBase::LineEditClear" name="filterEdit"> - <property name="geometry"> - <rect> - <x>10</x> - <y>320</y> - <width>240</width> - <height>20</height> - </rect> - </property> - <property name="text"> - <string/> - </property> - <property name="placeholderText"> - <string>Filter</string> - </property> - </widget> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <widget class="QListWidget" name="choiceList"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="minimumSize"> + <size> + <width>240</width> + <height>280</height> + </size> + </property> + <property name="verticalScrollMode"> + <enum>QAbstractItemView::ScrollPerPixel</enum> + </property> + </widget> + </item> + <item> + <widget class="MOBase::LineEditClear" name="filterEdit"> + <property name="text"> + <string/> + </property> + <property name="placeholderText"> + <string>Filter</string> + </property> + </widget> + </item> + <item> + <widget class="QDialogButtonBox" name="buttonBox"> + <property name="layoutDirection"> + <enum>Qt::LeftToRight</enum> + </property> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="standardButtons"> + <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> + </property> + </widget> + </item> + </layout> </widget> <customwidgets> <customwidget> |
