Add hide tab icon.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23101 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2008-02-21 15:13:39 +00:00
parent 7794aeadf6
commit b7922f4201
4 changed files with 5 additions and 4 deletions

View File

@ -1398,6 +1398,7 @@ lib_images_files = Split('''
font-sans.png font-sans.png
footnote-insert.png footnote-insert.png
href-insert.png href-insert.png
hidetab.png
index-insert.png index-insert.png
label-insert.png label-insert.png
layout-document.png layout-document.png

View File

@ -312,6 +312,7 @@ dist_images_DATA = \
images/font-sans.png \ images/font-sans.png \
images/footnote-insert.png \ images/footnote-insert.png \
images/href-insert.png \ images/href-insert.png \
images/hidetab.png \
images/index-insert.png \ images/index-insert.png \
images/label-insert.png \ images/label-insert.png \
images/layout.png \ images/layout.png \

BIN
lib/images/hidetab.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 465 B

View File

@ -1065,12 +1065,11 @@ TabWorkArea::TabWorkArea(QWidget * parent) : QTabWidget(parent)
QToolButton * closeTabButton = new QToolButton(this); QToolButton * closeTabButton = new QToolButton(this);
closeTabButton->setPalette(pal); closeTabButton->setPalette(pal);
// FIXME: we need another icon for this. closeTabButton->setIcon(QIcon(":/images/hidetab.png"));
closeTabButton->setIcon(QIcon(":/images/closetab.png")); closeTabButton->setText("Hide tab");
closeTabButton->setText("Minimize Buffer");
closeTabButton->setAutoRaise(true); closeTabButton->setAutoRaise(true);
closeTabButton->setCursor(Qt::ArrowCursor); closeTabButton->setCursor(Qt::ArrowCursor);
closeTabButton->setToolTip(tr("Close tab")); closeTabButton->setToolTip(tr("Hide tab"));
closeTabButton->setEnabled(true); closeTabButton->setEnabled(true);
QObject::connect(closeTabButton, SIGNAL(clicked()), QObject::connect(closeTabButton, SIGNAL(clicked()),
this, SLOT(closeCurrentTab())); this, SLOT(closeCurrentTab()));