Skip to content

Commit

Permalink
allow moving of tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
pvanek committed Jan 2, 2012
1 parent abb82bd commit d20d44f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tabwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ TabWidget::TabWidget(QWidget* parent) : QTabWidget(parent), tabNumerator(0)
tabBar()->setUsesScrollButtons(true);

setTabsClosable(true);
setMovable(true);
connect(this, SIGNAL(tabCloseRequested(int)), this, SLOT(removeTab(int)));
/*
QToolButton* tb = new QToolButton(this);
Expand Down

0 comments on commit d20d44f

Please sign in to comment.