From: John Levon Date: Tue, 17 Dec 2002 20:07:10 +0000 (+0000) Subject: up/down arrows patch from Alfredo X-Git-Tag: 1.6.10~17783 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=196ab7f332913e420252782d0a4703497e8b902d;p=lyx.git up/down arrows patch from Alfredo git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5845 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/qt2/ChangeLog b/src/frontends/qt2/ChangeLog index f0db100383..060bd01bb3 100644 --- a/src/frontends/qt2/ChangeLog +++ b/src/frontends/qt2/ChangeLog @@ -1,3 +1,7 @@ +2002-12-17 Alfredo Braunstein + + * QCommandBuffer.C: added up.xpm and down.xpm to the command buffer + 2002-12-13 Juergen Spitzmueller * QBibtexDialog.[Ch] diff --git a/src/frontends/qt2/QCommandBuffer.C b/src/frontends/qt2/QCommandBuffer.C index 9d04a931e2..7c52098879 100644 --- a/src/frontends/qt2/QCommandBuffer.C +++ b/src/frontends/qt2/QCommandBuffer.C @@ -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());