GUI: fix result table placement relative to the new sidefilters section
This commit is contained in:
parent
53b8b7e237
commit
3bbe5069d6
@ -94,13 +94,19 @@
|
|||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="ResList" name="reslist" native="true">
|
<widget class="QWidget" name="resultsLayoutWidget">
|
||||||
<property name="sizePolicy">
|
<layout class="QHBoxLayout" name="resultsHLayout">
|
||||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
<item>
|
||||||
<horstretch>2</horstretch>
|
<widget class="ResList" name="reslist" native="true">
|
||||||
<verstretch>0</verstretch>
|
<property name="sizePolicy">
|
||||||
</sizepolicy>
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||||
</property>
|
<horstretch>2</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
@ -249,7 +255,7 @@
|
|||||||
<string>&Advanced Search</string>
|
<string>&Advanced Search</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Advanced/complex Search</string>
|
<string>Assisted complex search</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="name" stdset="0">
|
<property name="name" stdset="0">
|
||||||
<cstring>toolsAdvanced_SearchAction</cstring>
|
<cstring>toolsAdvanced_SearchAction</cstring>
|
||||||
|
|||||||
@ -162,7 +162,7 @@ void RclMain::init()
|
|||||||
setupCategoryFiltering();
|
setupCategoryFiltering();
|
||||||
|
|
||||||
restable = new ResTable(this);
|
restable = new ResTable(this);
|
||||||
verticalLayout->insertWidget(2, restable);
|
resultsHLayout->insertWidget(1, restable);
|
||||||
actionShowResultsAsTable->setChecked(prefs.showResultsAsTable);
|
actionShowResultsAsTable->setChecked(prefs.showResultsAsTable);
|
||||||
on_actionShowResultsAsTable_toggled(prefs.showResultsAsTable);
|
on_actionShowResultsAsTable_toggled(prefs.showResultsAsTable);
|
||||||
|
|
||||||
@ -289,6 +289,10 @@ void RclMain::init()
|
|||||||
sizes << 200 << 600;
|
sizes << 200 << 600;
|
||||||
sideFiltersSPLT->setSizes(sizes);
|
sideFiltersSPLT->setSizes(sizes);
|
||||||
}
|
}
|
||||||
|
// We don't want the side filters part of the splitter to change width when the window is
|
||||||
|
// resized
|
||||||
|
sideFiltersSPLT->setStretchFactor(0, 0);
|
||||||
|
sideFiltersSPLT->setStretchFactor(1, 1);
|
||||||
|
|
||||||
populateSideFilters(true);
|
populateSideFilters(true);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user