[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 92207] Drag and drop Tabs instead using context menu.
From: Jakub Stachowski <qbast () go2 ! pl>
Date: 2005-01-29 19:00:19
Message-ID: 20050129190019.9457.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=92207
qbast go2 pl changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From qbast go2 pl 2005-01-29 20:00 -------
CVS commit by qbast:
Tabs can be moved by dragging.
BUG:92207
M +2 -0 ledtabbar.cpp 1.68
M +1 -0 ledtabwidget.cpp 1.36
M +1 -1 ledtabwidget.h 1.27
--- kdeextragear-2/konversation/konversation/ledtabbar.cpp #1.67:1.68
@ -114,4 +114,5 @ LedTabBar::LedTabBar(QWidget* parent,con
else kdWarning() << "LedTabBar::LedTabBar(): Could not create popup!" << endl;
+ setTabReorderingEnabled(true);
#if KDE_IS_VERSION(3,3,0)
setTabCloseActivatePrevious(true);
@ -393,4 +394,5 @ void LedTabBar::mouseReleaseEvent(QMouse
}
}
+ if (e->button()==MidButton) KTabBar::mouseReleaseEvent(e);
}
--- kdeextragear-2/konversation/konversation/ledtabwidget.cpp #1.35:1.36
@ -34,4 +34,5 @ LedTabWidget::LedTabWidget(QWidget* pare
connect(tabBar(),SIGNAL (moveTabRight(int)), this,SLOT (moveTabRight(int)) );
connect(tabBar(),SIGNAL (closeTab(int)), this,SLOT (tabClosed(int)) );
+ connect(tabBar(),SIGNAL (moveTab(int,int)), this, SLOT(moveTabToIndex(int,int)) );
#ifndef QT_NO_WHEELEVENT
--- kdeextragear-2/konversation/konversation/ledtabwidget.h #1.26:1.27
@ -46,4 +46,5 @ class LedTabWidget : public KTabWidget
void moveTabLeft(int id);
void moveTabRight(int id);
+ void moveTabToIndex(int oldIndex,int newIndex);
void tabSelected(int id);
void tabClosed(int id);
@ -56,5 +57,4 @ class LedTabWidget : public KTabWidget
protected:
- void moveTabToIndex(int oldIndex,int newIndex);
LedTabBar* tabBar();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic