ComboBoxStyle QML Type | Qt Quick Controls 1 5.12.5

Qt 5.12 | Qt Quick Controls 1 | QML Types | ComboBoxStyle QML Type

Qt 5.12.5 Reference Documentation

# ComboBoxStyle QML Type

Provides custom styling for ComboBox. More...

Import Statement: | import QtQuick.Controls.Styles 1.4
Since: | Qt 5.1

- List of all members, including inherited members

## Properties

- background : Component
- control : ComboBox
- dropDownButtonWidth : int
- font : font
- label : Component
- renderType : int
- selectedTextColor : color
- selectionColor : color
- textColor : color

## Detailed Description

## Property Documentation

background : Component

This defines the background of the button.

[read-only] control : ComboBox

The ComboBox this style is attached to.

dropDownButtonWidth : int

The size of the drop down button when the combobox is editable.

font : font

The font of the control.

This property was introduced in QtQuick.Controls.Styles 1.3.

label : Component

This defines the label of the button.

renderType : int

Override the default rendering type for the control.

Supported render types are:

- Text.QtRendering
- Text.NativeRendering

The default value is platform dependent.

This property was introduced in QtQuick.Controls.Styles 1.2.

See also Text::renderType.

selectedTextColor : color

The highlighted text color, used in selections.

This property was introduced in QtQuick.Controls.Styles 1.3.

selectionColor : color

The text highlight color, used behind selections.

This property was introduced in QtQuick.Controls.Styles 1.3.

textColor : color

The text color.

This property was introduced in QtQuick.Controls.Styles 1.3.