NAME

Qt::Gui::QTabBar

PUBLIC METHODS

QTabBar(QWidget * parent)
QTabBar(QWidget * parent = 0)
~QTabBar()
int addTab(const QString & text)
int addTab(const QIcon & icon, const QString & text)
int count()
int currentIndex()
bool documentMode()
bool drawBase()
Qt::TextElideMode elideMode()
bool expanding()
QSize iconSize()
int insertTab(int index, const QString & text)
int insertTab(int index, const QIcon & icon, const QString & text)
bool isMovable()
bool isTabEnabled(int index)
QSize minimumSizeHint()
void moveTab(int from, int to)
void removeTab(int index)
QTabBar::SelectionBehavior selectionBehaviorOnRemove()
void setCurrentIndex(int index)
void setDocumentMode(bool set)
void setDrawBase(bool drawTheBase)
void setElideMode(Qt::TextElideMode arg0)
void setExpanding(bool enabled)
void setIconSize(const QSize & size)
void setMovable(bool movable)
void setSelectionBehaviorOnRemove(QTabBar::SelectionBehavior behavior)
void setShape(QTabBar::Shape shape)
void setTabButton(int index, QTabBar::ButtonPosition position, QWidget * widget)
void setTabData(int index, const QVariant & data)
void setTabEnabled(int index, bool arg1)
void setTabIcon(int index, const QIcon & icon)
void setTabText(int index, const QString & text)
void setTabTextColor(int index, const QColor & color)
void setTabToolTip(int index, const QString & tip)
void setTabWhatsThis(int index, const QString & text)
void setTabsClosable(bool closable)
void setUsesScrollButtons(bool useButtons)
QTabBar::Shape shape()
QSize sizeHint()
int tabAt(const QPoint & pos)
QWidget * tabButton(int index, QTabBar::ButtonPosition position)
QVariant tabData(int index)
QIcon tabIcon(int index)
QRect tabRect(int index)
QString tabText(int index)
QColor tabTextColor(int index)
QString tabToolTip(int index)
QString tabWhatsThis(int index)
bool tabsClosable()
bool usesScrollButtons()

ENUM VALUES

RoundedNorth
RoundedSouth
RoundedWest
RoundedEast
TriangularNorth
TriangularSouth
TriangularWest
TriangularEast
LeftSide
RightSide
SelectLeftTab
SelectRightTab
SelectPreviousTab

EXPORT

None by default.

AUTHOR

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 - 2012 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/artistic.html