Go to the documentation of this file.
27#include <QtGui/QTabBar>
62#ifndef KDE_NO_DEPRECATED
63 KDE_DEPRECATED
void setTabReorderingEnabled(
bool enable );
71#ifndef KDE_NO_DEPRECATED
72 KDE_DEPRECATED
bool isTabReorderingEnabled()
const;
83#ifndef KDE_NO_DEPRECATED
84 KDE_DEPRECATED
void setHoverCloseButton(
bool );
88#ifndef KDE_NO_DEPRECATED
89 KDE_DEPRECATED
bool hoverCloseButton()
const;
99#ifndef KDE_NO_DEPRECATED
100 KDE_DEPRECATED
void setHoverCloseButtonDelayed(
bool );
104#ifndef KDE_NO_DEPRECATED
105 KDE_DEPRECATED
bool hoverCloseButtonDelayed()
const;
117#ifndef KDE_NO_DEPRECATED
118 KDE_DEPRECATED
void setCloseButtonEnabled(
bool );
128#ifndef KDE_NO_DEPRECATED
129 KDE_DEPRECATED
bool isCloseButtonEnabled()
const;
139#ifndef KDE_NO_DEPRECATED
140 KDE_DEPRECATED
void setTabCloseActivatePrevious(
bool );
149#ifndef KDE_NO_DEPRECATED
150 KDE_DEPRECATED
bool tabCloseActivatePrevious()
const;
159 int selectTab(
const QPoint &position )
const;
173#ifndef KDE_NO_DEPRECATED
200#ifndef KDE_NO_DEPRECATED
203#ifndef QT_NO_WHEELEVENT
208 virtual void mouseDoubleClickEvent( QMouseEvent *event );
209 virtual void mousePressEvent( QMouseEvent *event );
210 virtual void mouseMoveEvent( QMouseEvent *event );
211 virtual void mouseReleaseEvent( QMouseEvent *event );
212#ifndef QT_NO_WHEELEVENT
213 virtual void wheelEvent( QWheelEvent *event );
216 virtual void dragEnterEvent( QDragEnterEvent *event );
217 virtual void dragMoveEvent( QDragMoveEvent *event );
218 virtual void dropEvent( QDropEvent *event );
220 virtual void paintEvent( QPaintEvent *event );
221 virtual void leaveEvent( QEvent *event );
222 virtual QSize tabSizeHint(
int index )
const;
226#ifndef KDE_NO_DEPRECATED
227 QT_MOC_COMPAT
void closeButtonClicked();
230#ifndef KDE_NO_DEPRECATED
231 QT_MOC_COMPAT
void enableCloseButton();
233 virtual void activateDragSwitchTab();
236 virtual void tabLayoutChange();
239 QPoint closeButtonPos(
int tabIndex )
const;
240 QRect closeButtonRect(
int tabIndex )
const;
A QTabBar with extended features.
void mouseMiddleClick(int index)
A double middle mouse button click was performed over the tab with the.
void moveTab(int, int)
Used internally by KTabBar's/KTabWidget's middle-click tab moving mechanism.
void newTabRequest()
A double left mouse button click was performed over the empty area on the tab bar.
void tabDoubleClicked(int index)
A double left mouse button click was performed over the tab with the.
QT_MOC_COMPAT void mouseDoubleClick(int)
QT_MOC_COMPAT void closeRequest(int)
void receivedDropEvent(int, QDropEvent *)
void testCanDecode(const QDragMoveEvent *, bool &)
void emptyAreaContextMenu(const QPoint &globalPos)
A right mouse button click was performed over the empty area on the tab bar.
void contextMenu(int index, const QPoint &globalPos)
A right mouse button click was performed over the tab with the.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Thu Jul 18 2024 00:00:00 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.