mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
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:
parent
d237bf76a5
commit
5466b7fcd5
@ -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:
|
||||
|
@ -15,6 +15,7 @@ UIFILES = \
|
||||
QAskForTextDialog.ui \
|
||||
QBibitemDialogBase.ui \
|
||||
QBibtexDialogBase.ui \
|
||||
QBibtexAddDialogBase.ui \
|
||||
QChangesDialogBase.ui \
|
||||
QCharacterDialogBase.ui \
|
||||
QCitationDialogBase.ui \
|
||||
|
@ -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()));
|
||||
}
|
||||
|
@ -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()));
|
||||
}
|
||||
|
@ -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()));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user