TabViewButton

Search for usage in LXR

TabViewButton Class Reference

Inherits QtQuick::Controls::TabButton, and org::mauikit::controls::TabButton.

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 wiht the TabViewInfo data.

Definition at line 15 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 TabViewInfo.tabColor attached property, if it has not been set, it fallbacks to being transparent.

Definition at line 40 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 22 of file TabViewButton.qml.

◆ tabInfo

var TabViewButton::tabInfo
read

The object map containing information about this tab.

The information was provided using the TabViewInfo attached properties.

See also
TabViewInfo
Remarks
This property is read-only

Definition at line 35 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 28 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 May 17 2024 11:56:16 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.