From 4faa1fe3308727244ada1efbf8ab79aaf049a321 Mon Sep 17 00:00:00 2001 From: Edwin Leuven Date: Wed, 26 Mar 2008 18:57:42 +0000 Subject: [PATCH] * clean-up layout document class settings * enable tooltips in document class combobox git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23981 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiIdListModel.cpp | 2 +- src/frontends/qt4/ui/LaTeXUi.ui | 167 ++++++++++----------------- 2 files changed, 63 insertions(+), 106 deletions(-) diff --git a/src/frontends/qt4/GuiIdListModel.cpp b/src/frontends/qt4/GuiIdListModel.cpp index 2d15b0efab..5872514d96 100644 --- a/src/frontends/qt4/GuiIdListModel.cpp +++ b/src/frontends/qt4/GuiIdListModel.cpp @@ -26,7 +26,7 @@ QVariant GuiIdListModel::data(QModelIndex const & index, int role) const int const row = index.row(); if (!rowIsValid(row)) return QVariant(); - if (role == Qt::DisplayRole || role == Qt::EditRole) + if (role == Qt::DisplayRole || role == Qt::EditRole || role == Qt::ToolTipRole) return userData_[row].uiString; if (role == Qt::UserRole) return userData_[row].idString; diff --git a/src/frontends/qt4/ui/LaTeXUi.ui b/src/frontends/qt4/ui/LaTeXUi.ui index 7199ca93eb..215575e95a 100644 --- a/src/frontends/qt4/ui/LaTeXUi.ui +++ b/src/frontends/qt4/ui/LaTeXUi.ui @@ -5,8 +5,8 @@ 0 0 - 375 - 409 + 381 + 375 @@ -19,60 +19,20 @@ 6 - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - 0 - - - 6 - - - - - Document &class: - - - classCO - - - - - - - 20 - - - - - - + Qt::Vertical - 84 - 41 + 20 + 40 - + Modules @@ -165,70 +125,50 @@ - - - - 0 + + + + Qt::Horizontal - - 6 + + + 261 + 22 + - - - - &Postscript driver: - - - psdriverCO - - - - - - - false - - - - - - - Qt::Horizontal - - - - 261 - 22 - - - - - + - - - - 0 + + + + false - - 6 + + + + + + &Postscript driver: + + + psdriverCO + + + + + + + + + + &Options: - - - - &Options: - - - optionsLE - - - - - - - + + optionsLE + + - + @@ -242,7 +182,24 @@ Click to select a local document class definition file - &Select Local Layout... + &Local Layout... + + + + + + + Document &class: + + + classCO + + + + + + + 20 -- 2.39.2