diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-05-27 12:07:10 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-05-27 12:07:10 -0400 |
| commit | 2d52299743d056ae6da3c98ca9dc34abca3138bf (patch) | |
| tree | 4709050f6b5e7577033ede8de49b2e80e30566fb /src/modinfodialog.ui | |
| parent | 622908ee20ae5d74bff6524ff7c8eb044e25238b (diff) | |
multiple selection for noconflict and overwritten lists
set uniformRowHeights for all three lists for faster rendering, all items are text only
all three lists use the same code for the context menu:
- createConflictMenuActions() returns a struct with the QActions that are valid for the selection
- showConflictMenu() plugs in the handlers and shows the menu
Diffstat (limited to 'src/modinfodialog.ui')
| -rw-r--r-- | src/modinfodialog.ui | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/src/modinfodialog.ui b/src/modinfodialog.ui index 1187de87..840c81ee 100644 --- a/src/modinfodialog.ui +++ b/src/modinfodialog.ui @@ -453,24 +453,21 @@ text-align: left;</string> <property name="textElideMode">
<enum>Qt::ElideLeft</enum>
</property>
+ <property name="uniformRowHeights">
+ <bool>true</bool>
+ </property>
<property name="sortingEnabled">
<bool>true</bool>
</property>
<property name="animated">
<bool>true</bool>
</property>
- <property name="headerHidden">
- <bool>false</bool>
- </property>
<property name="columnCount">
<number>2</number>
</property>
<attribute name="headerDefaultSectionSize">
<number>365</number>
</attribute>
- <attribute name="headerHighlightSections">
- <bool>false</bool>
- </attribute>
<attribute name="headerMinimumSectionSize">
<number>200</number>
</attribute>
@@ -526,9 +523,15 @@ text-align: left;</string> <property name="contextMenuPolicy">
<enum>Qt::CustomContextMenu</enum>
</property>
+ <property name="selectionMode">
+ <enum>QAbstractItemView::ExtendedSelection</enum>
+ </property>
<property name="textElideMode">
<enum>Qt::ElideLeft</enum>
</property>
+ <property name="uniformRowHeights">
+ <bool>true</bool>
+ </property>
<property name="sortingEnabled">
<bool>true</bool>
</property>
@@ -596,9 +599,15 @@ text-align: left;</string> <property name="contextMenuPolicy">
<enum>Qt::CustomContextMenu</enum>
</property>
+ <property name="selectionMode">
+ <enum>QAbstractItemView::ExtendedSelection</enum>
+ </property>
<property name="textElideMode">
<enum>Qt::ElideLeft</enum>
</property>
+ <property name="uniformRowHeights">
+ <bool>true</bool>
+ </property>
<property name="sortingEnabled">
<bool>true</bool>
</property>
|
