make tab work

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4778 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2002-07-25 04:41:11 +00:00
parent e58bd15f39
commit d8a3c3c0f3
3 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-07-25 John Levon <levon@movementarian.org>
* QCommandEdit.C:
* Toolbar_pimpl.C: make Tab work in the content pane
2002-07-25 John Levon <levon@movementarian.org>
* Menubar_pimpl.C: split create/fill of menus into

View File

@ -11,6 +11,7 @@
QCommandEdit::QCommandEdit(QWidget * parent)
: QLineEdit(parent)
{
setFocusPolicy(QWidget::ClickFocus);
}

View File

@ -241,7 +241,7 @@ void Toolbar::Pimpl::add(int action)
combo_ = new QLComboBox(toolbars_.back());
QSizePolicy p(QSizePolicy::Minimum, QSizePolicy::Fixed);
combo_->setSizePolicy(p);
combo_->setFocusPolicy(QWidget::TabFocus);
combo_->setFocusPolicy(QWidget::ClickFocus);
combo_->setMinimumWidth(combo_->sizeHint().width());
QObject::connect(combo_, SIGNAL(activated(const QString &)),