#include <qxttabwidget_p.h>
Public Slots | |
void | setMovieFrame (int frame) |
Public Member Functions | |
QxtTabWidgetPrivate () | |
int | tabIndexAt (const QPoint &pos) const |
Public Attributes | |
bool | always |
QList< Actions > | actions |
Qt::ContextMenuPolicy | policy |
QList< QMovie * > | animations |
Friends | |
class | QxtTabWidget |
Definition at line 33 of file qxttabwidget_p.h.
QxtTabWidgetPrivate::QxtTabWidgetPrivate | ( | ) |
Definition at line 35 of file qxttabwidget.cpp.
void QxtTabWidgetPrivate::setMovieFrame | ( | int | frame ) | [slot] |
Definition at line 49 of file qxttabwidget.cpp.
References animations, and QxtPrivate< QxtTabWidget >::qxt_p().
{ Q_UNUSED(frame); QMovie* movie = static_cast<QMovie*>(sender()); if (movie) { int index = animations.indexOf(movie); if (index != -1) qxt_p().setTabIcon(index, movie->currentPixmap()); } }
int QxtTabWidgetPrivate::tabIndexAt | ( | const QPoint & | pos ) | const |
Definition at line 39 of file qxttabwidget.cpp.
References QxtPrivate< QxtTabWidget >::qxt_p(), and QxtTabWidget::tabBar().
friend class QxtTabWidget [friend] |
Definition at line 38 of file qxttabwidget_p.h.
Definition at line 45 of file qxttabwidget_p.h.
Definition at line 43 of file qxttabwidget_p.h.
QList<QMovie*> QxtTabWidgetPrivate::animations |
Definition at line 48 of file qxttabwidget_p.h.
Referenced by setMovieFrame().
Qt::ContextMenuPolicy QxtTabWidgetPrivate::policy |
Definition at line 46 of file qxttabwidget_p.h.