ComboBoxStyle QML Type

Provides custom styling for ComboBox . 更多...

import 语句: import QtQuick.Controls.Styles 1.4
Since: Qt 5.1

特性

详细描述

特性文档编制

background : Component

This defines the background of the button.

[read-only] control : ComboBox

The ComboBox this style is attached to.

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.

支持的渲染类型是:

  • Text.QtRendering
  • Text.NativeRendering

The default value is platform dependent.

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

另请参阅 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

文本颜色。

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