From: Guillaume Munch Date: Fri, 8 Jul 2016 10:29:26 +0000 (+0200) Subject: Accessibility of document class combo box (#10035) X-Git-Tag: 2.2.1~56 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=bca4965dd8e93f76ffcb83ec92116955eee57cd1;p=features.git 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 3e6df9796352dd8574b05934082faff0afe3f44c) --- diff --git a/src/frontends/qt4/CategorizedCombo.cpp b/src/frontends/qt4/CategorizedCombo.cpp index b52172d950..8e4fc64f45 100644 --- a/src/frontends/qt4/CategorizedCombo.cpp +++ b/src/frontends/qt4/CategorizedCombo.cpp @@ -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); diff --git a/src/frontends/qt4/ui/LaTeXUi.ui b/src/frontends/qt4/ui/LaTeXUi.ui index 03020634b7..6bac8df1b3 100644 --- a/src/frontends/qt4/ui/LaTeXUi.ui +++ b/src/frontends/qt4/ui/LaTeXUi.ui @@ -1,3 +1,4 @@ + LaTeXUi @@ -211,7 +212,7 @@ - CategorizedCombo + lyx::frontend::CategorizedCombo QComboBox
CategorizedCombo.h
@@ -250,5 +251,21 @@ + + groupBox + clicked() + classCO + setFocus() + + + 160 + 33 + + + 160 + 47 + + +