GUI: clarify click/shift+click result table choice by using radiobuttons
This commit is contained in:
parent
52448ddfb6
commit
f128909d1e
@ -6,8 +6,8 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>700</width>
|
<width>731</width>
|
||||||
<height>760</height>
|
<height>762</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
@ -259,14 +259,29 @@
|
|||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QCheckBox" name="restabShowTxtNoShiftCB">
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||||
<property name="text">
|
<item>
|
||||||
<string>Show text contents when clicking result table row (else use Shift+click).</string>
|
<widget class="QLabel" name="restabShowTxtLBL">
|
||||||
</property>
|
<property name="text">
|
||||||
<property name="checked">
|
<string>To display document text instead of metadata in result table detail area, use:</string>
|
||||||
<bool>false</bool>
|
</property>
|
||||||
</property>
|
</widget>
|
||||||
</widget>
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QRadioButton" name="restabShowTxtNoShiftRB">
|
||||||
|
<property name="text">
|
||||||
|
<string>left mouse click</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QRadioButton" name="restabShowTxtShiftRB">
|
||||||
|
<property name="text">
|
||||||
|
<string>Shift+click</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QCheckBox" name="noResTableHeaderCB">
|
<widget class="QCheckBox" name="noResTableHeaderCB">
|
||||||
@ -573,7 +588,7 @@
|
|||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="stylesheetPB">
|
<widget class="QPushButton" name="stylesheetPB">
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Opens a dialog to select the style sheet file</string>
|
<string>Opens a dialog to select the style sheet file.<br>Look at /usr/share/recoll/examples/recoll[-dark].qss for an example.</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Choose QSS File</string>
|
<string>Choose QSS File</string>
|
||||||
|
|||||||
@ -157,7 +157,8 @@ void UIPrefsDialog::setFromPrefs()
|
|||||||
noStatusBarCB->setChecked(prefs.noStatusBar);
|
noStatusBarCB->setChecked(prefs.noStatusBar);
|
||||||
noMenuBarCB->setChecked(prefs.noMenuBar);
|
noMenuBarCB->setChecked(prefs.noMenuBar);
|
||||||
noSSTypCMBCB->setChecked(prefs.noSSTypCMB);
|
noSSTypCMBCB->setChecked(prefs.noSSTypCMB);
|
||||||
restabShowTxtNoShiftCB->setChecked(prefs.resTableTextNoShift);
|
restabShowTxtNoShiftRB->setChecked(prefs.resTableTextNoShift);
|
||||||
|
restabShowTxtShiftRB->setChecked(!prefs.resTableTextNoShift);
|
||||||
noResTableHeaderCB->setChecked(prefs.noResTableHeader);
|
noResTableHeaderCB->setChecked(prefs.noResTableHeader);
|
||||||
showResTableVHeaderCB->setChecked(prefs.showResTableVHeader);
|
showResTableVHeaderCB->setChecked(prefs.showResTableVHeader);
|
||||||
noRowJumpShortcutsCB->setChecked(prefs.noResTableRowJumpSC);
|
noRowJumpShortcutsCB->setChecked(prefs.noResTableRowJumpSC);
|
||||||
@ -440,7 +441,7 @@ void UIPrefsDialog::accept()
|
|||||||
prefs.noMenuBar = noMenuBarCB->isChecked();
|
prefs.noMenuBar = noMenuBarCB->isChecked();
|
||||||
m_mainWindow->setupMenus();
|
m_mainWindow->setupMenus();
|
||||||
prefs.noSSTypCMB = noSSTypCMBCB->isChecked();
|
prefs.noSSTypCMB = noSSTypCMBCB->isChecked();
|
||||||
prefs.resTableTextNoShift = restabShowTxtNoShiftCB->isChecked();
|
prefs.resTableTextNoShift = restabShowTxtNoShiftRB->isChecked();
|
||||||
prefs.noResTableHeader = noResTableHeaderCB->isChecked();
|
prefs.noResTableHeader = noResTableHeaderCB->isChecked();
|
||||||
prefs.showResTableVHeader = showResTableVHeaderCB->isChecked();
|
prefs.showResTableVHeader = showResTableVHeaderCB->isChecked();
|
||||||
prefs.noResTableRowJumpSC = noRowJumpShortcutsCB->isChecked();
|
prefs.noResTableRowJumpSC = noRowJumpShortcutsCB->isChecked();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user