up/down arrows patch from Alfredo

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5845 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2002-12-17 20:07:10 +00:00
parent 803bb33976
commit 196ab7f332
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2002-12-17 Alfredo Braunstein <abraunst@libero.it>
* QCommandBuffer.C: added up.xpm and down.xpm to the command buffer
2002-12-13 Juergen Spitzmueller <j.spitzmueller@gmx.de>
* QBibtexDialog.[Ch]

View File

@ -68,10 +68,11 @@ QCommandBuffer::QCommandBuffer(QtView * view, ControlCommandBuffer & control)
{
setHorizontalStretchable(true);
QPixmap qp(LibFileSearch("images", "unknown", "xpm").c_str());
QPixmap qpup(LibFileSearch("images", "up", "xpm").c_str());
QPixmap qpdown(LibFileSearch("images", "down", "xpm").c_str());
(new QToolButton(qp, _("Up"), "", this, SLOT(up()), this))->show();
(new QToolButton(qp, _("Down"), "", this, SLOT(down()), this))->show();
(new QToolButton(qpup, _("Previous command"), "", this, SLOT(up()), this))->show();
(new QToolButton(qpdown, _("Next command"), "", this, SLOT(down()), this))->show();
edit_ = new QCommandEdit(this);
edit_->setMinimumSize(edit_->sizeHint());