Changeset - 95b183180e53
[Not reviewed]
default
0 1 0
Hasan Yavuz ÖZDERYA - 10 years ago 2016-05-03 16:07:28
hy@ozderya.net
change minimize tabs 'icon' to a minus character
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/hidabletabwidget.cpp
Show inline comments
 
@@ -18,25 +18,25 @@
 
*/
 

	
 
#include "hidabletabwidget.h"
 
#include <QTabBar>
 
#include <QToolButton>
 
#include <QSizePolicy>
 
#include <QTimer>
 

	
 
#define DOUBLE_CLICK_DELAY (200) // ms
 

	
 
HidableTabWidget::HidableTabWidget(QWidget *parent) :
 
    QTabWidget(parent),
 
    hideAction("", this)
 
    hideAction("", this)
 
{
 
    hideAction.setCheckable(true);
 
    hideAction.setToolTip("Hide Panels");
 
    QToolButton* hideButton = new QToolButton();
 
    hideButton->setDefaultAction(&hideAction);
 
    hideButton->setAutoRaise(true);
 
    this->setCornerWidget(hideButton);
 

	
 
    connect(&hideAction, SIGNAL(toggled(bool)), this, SLOT(onHideAction(bool)));
 
    connectSignals();
 
}
 

	
0 comments (0 inline, 0 general)