#include <klflibbrowser_p.h>


Public Slots | |
| void | refreshTabReadOnly (int tabindex, bool readonly) |
Signals | |
| void | pageInserted (int index, const QIcon &icon, const QString &text) |
| void | pageTextChanged (int index, const QString &text) |
| void | pageIconChanged (int index, const QIcon &icon) |
| void | pageEnabled (int index, bool enable) |
| void | pageRemoved (int index) |
Public Member Functions | |
| KLFLibBrowserTabWidget (QWidget *parent) | |
| virtual | ~KLFLibBrowserTabWidget () |
| int | getTabAtPoint (const QPoint &pos) |
| QRect | getTabRect (int tab) |
| bool | eventFilter (QObject *object, QEvent *event) |
| void | setTabEnabled (int index, bool enable) |
| void | setTabIcon (int index, const QIcon &icon) |
| void | setTabText (int index, const QString &label) |
Protected Member Functions | |
| virtual void | tabInserted (int index) |
| virtual void | tabRemoved (int index) |
Definition at line 455 of file klflibbrowser_p.h.
| KLFLibBrowserTabWidget::KLFLibBrowserTabWidget | ( | QWidget * | parent | ) | [inline] |
Definition at line 459 of file klflibbrowser_p.h.
References QTabWidget::setTabBar().
| virtual KLFLibBrowserTabWidget::~KLFLibBrowserTabWidget | ( | ) | [inline, virtual] |
Definition at line 467 of file klflibbrowser_p.h.
Definition at line 482 of file klflibbrowser_p.h.
References getTabAtPoint(), QDragMoveEvent::ignore(), and QEvent::type().
| int KLFLibBrowserTabWidget::getTabAtPoint | ( | const QPoint & | pos | ) | [inline] |
Returns the tab index at position pos relative to tab widget.
Definition at line 470 of file klflibbrowser_p.h.
References QTabBar::tabAt().
Referenced by eventFilter().
| QRect KLFLibBrowserTabWidget::getTabRect | ( | int | tab | ) | [inline] |
Returns the rectangle, relative to tab widget, occupied by tab in the tab bar.
Definition at line 476 of file klflibbrowser_p.h.
References QRect::size(), QTabBar::tabRect(), and QRect::topLeft().
| void KLFLibBrowserTabWidget::pageEnabled | ( | int | index, |
| bool | enable | ||
| ) | [signal] |
Referenced by setTabEnabled().
| void KLFLibBrowserTabWidget::pageIconChanged | ( | int | index, |
| const QIcon & | icon | ||
| ) | [signal] |
Referenced by setTabIcon().
| void KLFLibBrowserTabWidget::pageInserted | ( | int | index, |
| const QIcon & | icon, | ||
| const QString & | text | ||
| ) | [signal] |
Referenced by tabInserted().
| void KLFLibBrowserTabWidget::pageRemoved | ( | int | index | ) | [signal] |
Referenced by tabRemoved().
| void KLFLibBrowserTabWidget::pageTextChanged | ( | int | index, |
| const QString & | text | ||
| ) | [signal] |
Referenced by setTabText().
| void KLFLibBrowserTabWidget::refreshTabReadOnly | ( | int | tabindex, |
| bool | readonly | ||
| ) | [inline, slot] |
Definition at line 532 of file klflibbrowser_p.h.
References QPalette::color(), and QTabBar::setTabTextColor().
| void KLFLibBrowserTabWidget::setTabEnabled | ( | int | index, |
| bool | enable | ||
| ) | [inline] |
Reimplemented from QTabWidget.
Definition at line 503 of file klflibbrowser_p.h.
References pageEnabled().
| void KLFLibBrowserTabWidget::setTabIcon | ( | int | index, |
| const QIcon & | icon | ||
| ) | [inline] |
Reimplemented from QTabWidget.
Definition at line 509 of file klflibbrowser_p.h.
References pageIconChanged().
| void KLFLibBrowserTabWidget::setTabText | ( | int | index, |
| const QString & | label | ||
| ) | [inline] |
Reimplemented from QTabWidget.
Definition at line 515 of file klflibbrowser_p.h.
References pageTextChanged().
| virtual void KLFLibBrowserTabWidget::tabInserted | ( | int | index | ) | [inline, protected, virtual] |
Reimplemented from QTabWidget.
Definition at line 546 of file klflibbrowser_p.h.
References pageInserted(), QTabWidget::tabIcon(), and QTabWidget::tabText().
| virtual void KLFLibBrowserTabWidget::tabRemoved | ( | int | index | ) | [inline, protected, virtual] |
Reimplemented from QTabWidget.
Definition at line 549 of file klflibbrowser_p.h.
References pageRemoved().