kdeui
KTabBar Class Reference
#include <ktabbar.h>
Signals | |
void | closeRequest (int) |
void | contextMenu (int, const QPoint &) |
void | initiateDrag (int) |
void | mouseDoubleClick (int) |
void | mouseMiddleClick (int) |
void | moveTab (int, int) |
void | receivedDropEvent (int, QDropEvent *) |
void | testCanDecode (const QDragMoveEvent *e, bool &accept) |
void | wheelDelta (int) |
Public Member Functions | |
bool | hoverCloseButton () const |
bool | hoverCloseButtonDelayed () const |
virtual int | insertTab (QTab *, int index=-1) |
bool | isTabReorderingEnabled () const |
KTabBar (QWidget *parent=0, const char *name=0) | |
virtual void | removeTab (QTab *) |
void | setHoverCloseButton (bool) |
void | setHoverCloseButtonDelayed (bool) |
void | setTabCloseActivatePrevious (bool) |
void | setTabColor (int, const QColor &) |
virtual void | setTabEnabled (int, bool) |
void | setTabReorderingEnabled (bool enable) |
bool | tabCloseActivatePrevious () const |
const QColor & | tabColor (int) const |
virtual | ~KTabBar () |
Protected Slots | |
virtual void | activateDragSwitchTab () |
virtual void | closeButtonClicked () |
virtual void | enableCloseButton () |
virtual void | onLayoutChange () |
Protected Member Functions | |
virtual void | dragMoveEvent (QDragMoveEvent *e) |
virtual void | dropEvent (QDropEvent *e) |
virtual void | mouseDoubleClickEvent (QMouseEvent *e) |
virtual void | mouseMoveEvent (QMouseEvent *e) |
virtual void | mousePressEvent (QMouseEvent *e) |
virtual void | mouseReleaseEvent (QMouseEvent *e) |
virtual void | paintLabel (QPainter *, const QRect &, QTab *, bool) const |
virtual void | wheelEvent (QWheelEvent *e) |
Detailed Description
- Since:
- 3.2
Definition at line 35 of file ktabbar.h.
Constructor & Destructor Documentation
KTabBar::KTabBar | ( | QWidget * | parent = 0 , |
|
const char * | name = 0 | |||
) |
Definition at line 36 of file ktabbar.cpp.
KTabBar::~KTabBar | ( | ) | [virtual] |
Definition at line 54 of file ktabbar.cpp.
Member Function Documentation
void KTabBar::activateDragSwitchTab | ( | ) | [protected, virtual, slot] |
Definition at line 223 of file ktabbar.cpp.
void KTabBar::closeButtonClicked | ( | ) | [protected, virtual, slot] |
Definition at line 390 of file ktabbar.cpp.
void KTabBar::closeRequest | ( | int | ) | [signal] |
void KTabBar::contextMenu | ( | int | , | |
const QPoint & | ||||
) | [signal] |
void KTabBar::dragMoveEvent | ( | QDragMoveEvent * | e | ) | [protected, virtual] |
Definition at line 251 of file ktabbar.cpp.
void KTabBar::dropEvent | ( | QDropEvent * | e | ) | [protected, virtual] |
Definition at line 270 of file ktabbar.cpp.
void KTabBar::enableCloseButton | ( | ) | [protected, virtual, slot] |
Definition at line 218 of file ktabbar.cpp.
bool KTabBar::hoverCloseButton | ( | ) | const |
Definition at line 402 of file ktabbar.cpp.
bool KTabBar::hoverCloseButtonDelayed | ( | ) | const |
Definition at line 412 of file ktabbar.cpp.
void KTabBar::initiateDrag | ( | int | ) | [signal] |
int KTabBar::insertTab | ( | QTab * | t, | |
int | index = -1 | |||
) | [virtual] |
bool KTabBar::isTabReorderingEnabled | ( | ) | const |
Definition at line 370 of file ktabbar.cpp.
void KTabBar::mouseDoubleClick | ( | int | ) | [signal] |
void KTabBar::mouseDoubleClickEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
Definition at line 88 of file ktabbar.cpp.
void KTabBar::mouseMiddleClick | ( | int | ) | [signal] |
void KTabBar::mouseMoveEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
Definition at line 117 of file ktabbar.cpp.
void KTabBar::mousePressEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
Definition at line 101 of file ktabbar.cpp.
void KTabBar::mouseReleaseEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
Definition at line 231 of file ktabbar.cpp.
void KTabBar::moveTab | ( | int | , | |
int | ||||
) | [signal] |
void KTabBar::onLayoutChange | ( | ) | [protected, virtual, slot] |
Definition at line 417 of file ktabbar.cpp.
void KTabBar::receivedDropEvent | ( | int | , | |
QDropEvent * | ||||
) | [signal] |
void KTabBar::removeTab | ( | QTab * | t | ) | [virtual] |
void KTabBar::setHoverCloseButton | ( | bool | button | ) |
Definition at line 395 of file ktabbar.cpp.
void KTabBar::setHoverCloseButtonDelayed | ( | bool | delayed | ) |
Definition at line 407 of file ktabbar.cpp.
void KTabBar::setTabCloseActivatePrevious | ( | bool | on | ) |
Definition at line 385 of file ktabbar.cpp.
void KTabBar::setTabColor | ( | int | id, | |
const QColor & | color | |||
) |
Definition at line 292 of file ktabbar.cpp.
void KTabBar::setTabEnabled | ( | int | id, | |
bool | enabled | |||
) | [virtual] |
void KTabBar::setTabReorderingEnabled | ( | bool | enable | ) |
Definition at line 375 of file ktabbar.cpp.
bool KTabBar::tabCloseActivatePrevious | ( | ) | const |
Definition at line 380 of file ktabbar.cpp.
const QColor & KTabBar::tabColor | ( | int | id | ) | const |
Definition at line 301 of file ktabbar.cpp.
void KTabBar::testCanDecode | ( | const QDragMoveEvent * | e, | |
bool & | accept | |||
) | [signal] |
void KTabBar::wheelDelta | ( | int | ) | [signal] |
void KTabBar::wheelEvent | ( | QWheelEvent * | e | ) | [protected, virtual] |
Definition at line 283 of file ktabbar.cpp.
The documentation for this class was generated from the following files: