mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-25 22:06:15 +00:00
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:
parent
7794aeadf6
commit
b7922f4201
@ -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
|
||||||
|
@ -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
BIN
lib/images/hidetab.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 465 B |
@ -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()));
|
||||||
|
Loading…
Reference in New Issue
Block a user