Inherits from QskBox
Name | |
---|---|
void | setCurrentIndex(int index) |
Name | |
---|---|
void | currentIndexChanged(int index) |
void | buttonClicked(int index) |
void | countChanged(int ) |
void | textOptionsChanged(const QskTextOptions & ) |
void | tabPositionChanged(Qsk::Position ) |
void | autoScrollFocusedButtonChanged(bool ) |
void | autoFitTabsChanged(bool ) |
Name | |
---|---|
QskTabBar(QQuickItem * parent =nullptr) | |
QskTabBar(Qsk::Position position, QQuickItem * parent =nullptr) | |
~QskTabBar() override | |
void | setTabPosition(Qsk::Position position) |
Qsk::Position | tabPosition() const |
Qt::Orientation | orientation() const |
void | setAutoScrollFocusedButton(bool on) |
bool | autoScrollFocusButton() const |
void | setAutoFitTabs(bool on) |
bool | autoFitTabs() const |
void | ensureButtonVisible(const QskTabButton * button) |
void | setTextOptions(const QskTextOptions & options) |
QskTextOptions | textOptions() const |
Q_INVOKABLE int | addTab(const QString & text) |
Q_INVOKABLE int | insertTab(int index, const QString & text) |
Q_INVOKABLE int | addTab(QskTabButton * button) |
Q_INVOKABLE int | insertTab(int index, QskTabButton * button) |
Q_INVOKABLE void | removeTab(int index) |
Q_INVOKABLE void | clear(bool autoDelete =false) |
bool | isTabEnabled(int index) const |
void | setTabEnabled(int index, bool enabled) |
int | currentIndex() const |
int | count() const |
Q_INVOKABLE QskTabButton * | buttonAt(int position) |
Q_INVOKABLE const QskTabButton * | buttonAt(int position) const |
Q_INVOKABLE QskTabButton * | currentButton() |
Q_INVOKABLE const QskTabButton * | currentButton() const |
Q_INVOKABLE QString | currentButtonText() const |
Q_INVOKABLE QString | buttonTextAt(int index) const |
int | indexOf(const QskTabButton * tabButton) const |
Q_INVOKABLE int | indexOf(QskTabButton * button) const |
QskAspect::Placement | effectivePlacement() const override |
Name | |
---|---|
void | componentComplete() override |
QskAspect::Subcontrol | substitutedSubcontrol(QskAspect::Subcontrol subControl) const override |
Name | |
---|---|
Qsk::Position | tabPosition |
Qt::Orientation | orientation |
bool | autoScrollFocusButton |
bool | autoFitTabs |
int | count |
int | currentIndex |
QskTextOptions | textOptions |
Name | |
---|---|
const QskAspect::Subcontrol | Panel |
void setCurrentIndex(
int index
)
void currentIndexChanged(
int index
)
void buttonClicked(
int index
)
void countChanged(
int
)
void textOptionsChanged(
const QskTextOptions &
)
void tabPositionChanged(
Qsk::Position
)
void autoScrollFocusedButtonChanged(
bool
)
void autoFitTabsChanged(
bool
)
QskTabBar(
QQuickItem * parent =nullptr
)
QskTabBar(
Qsk::Position position,
QQuickItem * parent =nullptr
)
~QskTabBar() override
void setTabPosition(
Qsk::Position position
)
Qsk::Position tabPosition() const
Qt::Orientation orientation() const
void setAutoScrollFocusedButton(
bool on
)
bool autoScrollFocusButton() const
void setAutoFitTabs(
bool on
)
bool autoFitTabs() const
void ensureButtonVisible(
const QskTabButton * button
)
void setTextOptions(
const QskTextOptions & options
)
QskTextOptions textOptions() const
Q_INVOKABLE int addTab(
const QString & text
)
Q_INVOKABLE int insertTab(
int index,
const QString & text
)
Q_INVOKABLE int addTab(
QskTabButton * button
)
Q_INVOKABLE int insertTab(
int index,
QskTabButton * button
)
Q_INVOKABLE void removeTab(
int index
)
Q_INVOKABLE void clear(
bool autoDelete =false
)
bool isTabEnabled(
int index
) const
void setTabEnabled(
int index,
bool enabled
)
int currentIndex() const
int count() const
Q_INVOKABLE QskTabButton * buttonAt(
int position
)
Q_INVOKABLE const QskTabButton * buttonAt(
int position
) const
Q_INVOKABLE QskTabButton * currentButton()
Q_INVOKABLE const QskTabButton * currentButton() const
Q_INVOKABLE QString currentButtonText() const
Q_INVOKABLE QString buttonTextAt(
int index
) const
inline int indexOf(
const QskTabButton * tabButton
) const
Q_INVOKABLE int indexOf(
QskTabButton * button
) const
QskAspect::Placement effectivePlacement() const override
void componentComplete() override
QskAspect::Subcontrol substitutedSubcontrol(
QskAspect::Subcontrol subControl
) const override
Qsk::Position tabPosition;
Qt::Orientation orientation;
bool autoScrollFocusButton;
bool autoFitTabs;
int count;
int currentIndex;
QskTextOptions textOptions;
static const QskAspect::Subcontrol Panel;
Updated on 28 July 2023 at 14:02:27 CEST