mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +00:00
* cosmetic
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23480 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
791b82457d
commit
cfac27699a
@ -1173,7 +1173,7 @@ TabWorkArea::TabWorkArea(QWidget * parent) : QTabWidget(parent)
|
|||||||
this, SLOT(on_currentTabChanged(int)));
|
this, SLOT(on_currentTabChanged(int)));
|
||||||
|
|
||||||
QToolButton * closeBufferButton = new QToolButton(this);
|
QToolButton * closeBufferButton = new QToolButton(this);
|
||||||
closeBufferButton->setPalette(pal);
|
closeBufferButton->setPalette(pal);
|
||||||
// FIXME: rename the icon to closebuffer.png
|
// FIXME: rename the icon to closebuffer.png
|
||||||
closeBufferButton->setIcon(QIcon(":/images/closetab.png"));
|
closeBufferButton->setIcon(QIcon(":/images/closetab.png"));
|
||||||
closeBufferButton->setText("Close File");
|
closeBufferButton->setText("Close File");
|
||||||
@ -1186,7 +1186,7 @@ TabWorkArea::TabWorkArea(QWidget * parent) : QTabWidget(parent)
|
|||||||
setCornerWidget(closeBufferButton, Qt::TopRightCorner);
|
setCornerWidget(closeBufferButton, Qt::TopRightCorner);
|
||||||
|
|
||||||
QToolButton * closeTabButton = new QToolButton(this);
|
QToolButton * closeTabButton = new QToolButton(this);
|
||||||
closeTabButton->setPalette(pal);
|
closeTabButton->setPalette(pal);
|
||||||
closeTabButton->setIcon(QIcon(":/images/hidetab.png"));
|
closeTabButton->setIcon(QIcon(":/images/hidetab.png"));
|
||||||
closeTabButton->setText("Hide tab");
|
closeTabButton->setText("Hide tab");
|
||||||
closeTabButton->setAutoRaise(true);
|
closeTabButton->setAutoRaise(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user