KDEUI
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;
166 void contextMenu(
int index,
const QPoint& globalPos );
171 void emptyAreaContextMenu(
const QPoint& globalPos );
173 #ifndef KDE_NO_DEPRECATED 174 QT_MOC_COMPAT
void mouseDoubleClick(
int );
180 void tabDoubleClicked(
int index );
185 void newTabRequest();
190 void mouseMiddleClick(
int index );
191 void initiateDrag(
int );
192 void testCanDecode(
const QDragMoveEvent*,
bool& );
193 void receivedDropEvent(
int, QDropEvent* );
198 void moveTab(
int,
int );
200 #ifndef KDE_NO_DEPRECATED 201 QT_MOC_COMPAT
void closeRequest(
int );
203 #ifndef QT_NO_WHEELEVENT 204 void wheelDelta(
int );
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.
This file is part of the KDE documentation.
Documentation copyright © 1996-2017 The KDE developers.
Generated on Wed May 10 2017 09:31:05 by
doxygen 1.8.13 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.