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