]> git.lyx.org Git - lyx.git/commitdiff
up/down arrows patch from Alfredo
authorJohn Levon <levon@movementarian.org>
Tue, 17 Dec 2002 20:07:10 +0000 (20:07 +0000)
committerJohn Levon <levon@movementarian.org>
Tue, 17 Dec 2002 20:07:10 +0000 (20:07 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5845 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt2/ChangeLog
src/frontends/qt2/QCommandBuffer.C

index f0db100383234e750b97285e0366e4c254d1d8e4..060bd01bb36e49c5d252bf434397007046af44ab 100644 (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]
index 9d04a931e29a663792c972f8deb3289770df6a02..7c52098879a5210cecd081040194d04846839034 100644 (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());