TabViewButton

Search for usage in LXR

TabViewButton Class Reference

Properties

color color
 
int mindex
 
var tabInfo
 
Item tabView
 

Detailed Description

A TabButton crafted to be use along with the MauiKit TabView.

This control only adds some extra functionality to integrate well with MauiKit TabView. If you consider changing the tab button of the TabView for a custom one, use this as the base.

This control adds the DnD features, and integrates with the attached Controls metadata properties.

Definition at line 14 of file TabViewButton.qml.

Property Documentation

◆ color

color TabViewButton::color
read

The color to be used in a bottom strip.

By default this checks for the Controls.color attached property, if it has not been set, it fallbacks to being transparent.

Definition at line 39 of file TabViewButton.qml.

◆ mindex

int TabViewButton::mindex
read

The index of this tab button in the TabBar.

Remarks
This property is read-only

Definition at line 21 of file TabViewButton.qml.

◆ tabInfo

var TabViewButton::tabInfo
read

The object map containing information about this tab.

The information was provided using the Controls metadata attached properties.

See also
Controls
Remarks
This property is read-only

Definition at line 34 of file TabViewButton.qml.

◆ tabView

Item TabViewButton::tabView
read

The TabView to which this tab button belongs to.

By default this is set to its parent.

Warning
When creating a custom tab button for the TabView, you might need to bind this to the TabView ID.

Definition at line 27 of file TabViewButton.qml.


The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 11 2024 12:17:11 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.