IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

ComboBoxStyle QML Type

Provides custom styling for ComboBox.

This type was introduced in Qt 5.1.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

ComboBoxStyle QML Type

  • Import Statement: import QtQuick.Controls.Styles 1.4

  • Since: Qt 5.1

  • Group: ComboBoxStyle is part of Styling Controls

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

[since QtQuick.Controls.Styles 1.3] 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.

padding group

padding.bottom : int

padding.left : int

padding.right : int

padding.top : int

This grouped property holds the top, left, right and bottom padding.

[since QtQuick.Controls.Styles 1.2] 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

See also Text::renderType

[since QtQuick.Controls.Styles 1.3] selectedTextColor : color

The highlighted text color, used in selections.

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

[since QtQuick.Controls.Styles 1.3] selectionColor : color

The text highlight color, used behind selections.

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

[since QtQuick.Controls.Styles 1.3] textColor : color

The text color.

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

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+