ComboBoxStyle QML Type

Provides custom styling for ComboBox . 更多...

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

特性

详细描述

特性文档编制

background : 组件

This defines the background of the button.


[read-only] control : ComboBox

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 : 组件

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.

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