more GUI fixes

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6783 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2003-04-12 04:49:05 +00:00
parent d237bf76a5
commit 5466b7fcd5
5 changed files with 24 additions and 5 deletions

View File

@ -1,3 +1,10 @@
2003-04-12 John Levon <levon@movementarian.org>
* floatplacement.C: fix tab order
* QTocDialog.C:
* QThesaurusDialog.C: hide the pointless QHeader
2003-04-12 John Levon <levon@movementarian.org>
* ui/QBibtexDialogBase.ui:

View File

@ -15,6 +15,7 @@ UIFILES = \
QAskForTextDialog.ui \
QBibitemDialogBase.ui \
QBibtexDialogBase.ui \
QBibtexAddDialogBase.ui \
QChangesDialogBase.ui \
QCharacterDialogBase.ui \
QCitationDialogBase.ui \

View File

@ -29,6 +29,11 @@ QThesaurusDialog::QThesaurusDialog(QThesaurus * form)
: QThesaurusDialogBase(0, 0, false, 0),
form_(form)
{
// hide the pointless QHeader
QWidget * w = static_cast<QWidget*>(meaningsLV->child("list view header"));
if (w)
w->hide();
connect(closePB, SIGNAL(clicked()),
form, SLOT(slotClose()));
}

View File

@ -26,6 +26,11 @@ QTocDialog::QTocDialog(QToc * form)
// disable sorting
tocLV->setSorting(-1);
// hide the pointless QHeader
QWidget * w = static_cast<QWidget*>(tocLV->child("list view header"));
if (w)
w->hide();
connect(closePB, SIGNAL(clicked()),
form, SLOT(slotClose()));
}

View File

@ -31,12 +31,12 @@ FloatPlacement::FloatPlacement(QWidget * parent, char * name)
QGroupBox * options = new QGroupBox(qt_("Advanced Placement Options"), this);
defaultsCB = new QCheckBox(qt_("Use &default placement"), this);
ignoreCB = new QCheckBox(qt_("&Ignore LaTeX rules"), options);
pageCB = new QCheckBox(qt_("&Page of floats"), options);
heredefinitelyCB = new QCheckBox(qt_("Here definitely"), options);
herepossiblyCB = new QCheckBox(qt_("&Here if possible"), options);
bottomCB = new QCheckBox(qt_("&Bottom of page"), options);
topCB = new QCheckBox(qt_("&Top of page"), options);
bottomCB = new QCheckBox(qt_("&Bottom of page"), options);
pageCB = new QCheckBox(qt_("&Page of floats"), options);
herepossiblyCB = new QCheckBox(qt_("&Here if possible"), options);
heredefinitelyCB = new QCheckBox(qt_("Here definitely"), options);
ignoreCB = new QCheckBox(qt_("&Ignore LaTeX rules"), options);
spanCB = 0;
layout->addWidget(defaultsCB);
@ -83,6 +83,7 @@ void FloatPlacement::useWide()
{
spanCB = new QCheckBox(qt_("&Span columns"), this);
layout->addWidget(spanCB);
setTabOrder(ignoreCB, spanCB);
connect(spanCB, SIGNAL(clicked()), this, SLOT(spanClicked()));
connect(spanCB, SIGNAL(toggled(bool)), this, SLOT(changedSlot()));
}