|
|
@ -237,16 +237,13 @@ WBTabWidget::WBTabWidget(QWidget *parent) |
|
|
|
setDocumentMode(false); |
|
|
|
setDocumentMode(false); |
|
|
|
|
|
|
|
|
|
|
|
mRecentlyClosedTabsMenu = new QMenu(this); |
|
|
|
mRecentlyClosedTabsMenu = new QMenu(this); |
|
|
|
connect(mRecentlyClosedTabsMenu, SIGNAL(aboutToShow()), |
|
|
|
connect(mRecentlyClosedTabsMenu, SIGNAL(aboutToShow()), this, SLOT(aboutToShowRecentTabsMenu())); |
|
|
|
this, SLOT(aboutToShowRecentTabsMenu())); |
|
|
|
connect(mRecentlyClosedTabsMenu, SIGNAL(triggered(QAction *)), this, SLOT(aboutToShowRecentTriggeredAction(QAction *))); |
|
|
|
connect(mRecentlyClosedTabsMenu, SIGNAL(triggered(QAction *)), |
|
|
|
|
|
|
|
this, SLOT(aboutToShowRecentTriggeredAction(QAction *))); |
|
|
|
|
|
|
|
mRecentlyClosedTabsAction = new QAction(tr("Recently Closed Tabs"), this); |
|
|
|
mRecentlyClosedTabsAction = new QAction(tr("Recently Closed Tabs"), this); |
|
|
|
mRecentlyClosedTabsAction->setMenu(mRecentlyClosedTabsMenu); |
|
|
|
mRecentlyClosedTabsAction->setMenu(mRecentlyClosedTabsMenu); |
|
|
|
mRecentlyClosedTabsAction->setEnabled(false); |
|
|
|
mRecentlyClosedTabsAction->setEnabled(false); |
|
|
|
|
|
|
|
|
|
|
|
connect(this, SIGNAL(currentChanged(int)), |
|
|
|
connect(this, SIGNAL(currentChanged(int)), this, SLOT(currentChanged(int))); |
|
|
|
this, SLOT(currentChanged(int))); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mLineEdits = new QStackedWidget(this); |
|
|
|
mLineEdits = new QStackedWidget(this); |
|
|
|
mLineEdits->setMinimumWidth(200); |
|
|
|
mLineEdits->setMinimumWidth(200); |
|
|
|