mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Accessibility of document class combo box (#10035)
* Access it with tab
* Access it with the accelerator from the title of the group
(cherry picked from commit 3e6df97963
)
This commit is contained in:
parent
4aab3a12e8
commit
bca4965dd8
@ -348,7 +348,6 @@ CategorizedCombo::CategorizedCombo(QWidget * parent)
|
||||
: QComboBox(parent), d(new Private(this))
|
||||
{
|
||||
setSizeAdjustPolicy(QComboBox::AdjustToContents);
|
||||
setFocusPolicy(Qt::ClickFocus);
|
||||
setMinimumWidth(sizeHint().width());
|
||||
setMaxVisibleItems(100);
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>LaTeXUi</class>
|
||||
<widget class="QWidget" name="LaTeXUi">
|
||||
@ -211,7 +212,7 @@
|
||||
</widget>
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
<class>CategorizedCombo</class>
|
||||
<class>lyx::frontend::CategorizedCombo</class>
|
||||
<extends>QComboBox</extends>
|
||||
<header>CategorizedCombo.h</header>
|
||||
</customwidget>
|
||||
@ -250,5 +251,21 @@
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>groupBox</sender>
|
||||
<signal>clicked()</signal>
|
||||
<receiver>classCO</receiver>
|
||||
<slot>setFocus()</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>160</x>
|
||||
<y>33</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>160</x>
|
||||
<y>47</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
</connections>
|
||||
</ui>
|
||||
|
Loading…
Reference in New Issue
Block a user