UniDeskTabButton Type
Tab button control based on QtQuick TabButton. Custom selected state (theme-color background), hover/press states, and disabled state color management.
| Item | Description |
|---|---|
| Control Type | Visual Control |
| Source File | UniDesk/Controls/UniDeskTabButton.qml |
| Inherits | QtQuick TabButton |
| QML Import | import UniDesk.Controls 1.0 |
Custom Properties
property bool disabled:Whether the button is disabledproperty color bgNormalColor:Normal background. Default: transparentproperty color bgHoverColor:Hover backgroundproperty color bgPressColor:Press backgroundproperty color bgDisableColor:Disabled background
Custom Styling
- 3px rounded rectangle background
- Shows theme-color background when selected
- Text uses
UniDeskTextStyle.littlefont - Border adapts to theme
Examples
qml
import UniDesk.Controls 1.0
UniDeskTabButton {
text: "General"
checked: true
}Related
- UniDeskTabBar — Tab bar
- UniDeskButton — General button

