KDEUI
ktabbar.cpp
Go to the documentation of this file.
66 connect( this, SIGNAL(tabCloseRequested(int)), this, SIGNAL(closeRequest(int))); // just for backward compatibility, KDE5 remove
111 QMouseEvent fakedMouseEvent(event->type(), event->pos(), Qt::LeftButton, Qt::LeftButton, event->modifiers());
164 } else if ( event->button() == Qt::NoButton && event->buttons() == Qt::MidButton && isMovable() ) {
168 QMouseEvent fakedMouseEvent(event->type(), event->pos(), event->button(), Qt::LeftButton, event->modifiers());
213 QMouseEvent fakedMouseEvent(event->type(), event->pos(), Qt::LeftButton, Qt::LeftButton, event->modifiers());
void mouseMiddleClick(int index)
A double middle mouse button click was performed over the tab with the.
void tabDoubleClicked(int index)
A double left mouse button click was performed over the tab with the.
int timeout
KAction * forward(const QObject *recvr, const char *slot, QObject *parent)
Move forward (web style menu).
Definition: kstandardaction.cpp:399
QT_MOC_COMPAT void closeRequest(int)
void initiateDrag(int)
void setTabCloseActivatePrevious(bool)
Sets the 'activate previous tab on close' feature enabled or disabled.
Definition: ktabbar.cpp:366
void contextMenu(int index, const QPoint &globalPos)
A right mouse button click was performed over the tab with the.
static int dndEventDelay()
Returns a threshold in pixels for drag & drop operations.
Definition: kglobalsettings.cpp:227
void wheelDelta(int)
void newTabRequest()
A double left mouse button click was performed over the empty area on the tab bar.
bool isCloseButtonEnabled() const
Returns true if the close button is shown on tabs.
Definition: ktabbar.cpp:413
int selectTab(const QPoint &position) const
Selects the tab which has a tab header at given.
Definition: ktabbar.cpp:425
void setHoverCloseButtonDelayed(bool)
If enabled, the close button cannot get clicked until a minor delay has been passed.
Definition: ktabbar.cpp:390
virtual void mouseDoubleClickEvent(QMouseEvent *event)
Definition: ktabbar.cpp:77
void setCloseButtonEnabled(bool)
If enabled, a close button is available for each tab.
Definition: ktabbar.cpp:406
virtual void mouseReleaseEvent(QMouseEvent *event)
Definition: ktabbar.cpp:202
QT_MOC_COMPAT void mouseDoubleClick(int)
bool tabCloseActivatePrevious() const
Returns whether the 'activate previous tab on close' feature is enabled.
Definition: ktabbar.cpp:359
void emptyAreaContextMenu(const QPoint &globalPos)
A right mouse button click was performed over the empty area on the tab bar.
void setTabReorderingEnabled(bool enable)
Sets the tab reordering enabled or disabled.
Definition: ktabbar.cpp:352
void setHoverCloseButton(bool)
If enabled, a close button is shown above the tab icon.
Definition: ktabbar.cpp:374
bool isTabReorderingEnabled() const
Returns whether tab reordering is enabled.
Definition: ktabbar.cpp:345
void receivedDropEvent(int, QDropEvent *)
void testCanDecode(const QDragMoveEvent *, bool &)
virtual void dragEnterEvent(QDragEnterEvent *event)
Definition: ktabbar.cpp:243
void moveTab(int, int)
Used internally by KTabBar's/KTabWidget's middle-click tab moving mechanism.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Jan 30 2020 00:00:00 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Jan 30 2020 00:00:00 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.