Provides custom styling for TextField . 更多...
| import 语句: | import QtQuick.Controls.Styles 1.4 | 
| Since: | Qt 5.1 | 
范例:
TextField { style: TextFieldStyle { textColor: "black" background: Rectangle { radius: 2 implicitWidth: 100 implicitHeight: 24 border.color: "#333" border.width: 1 } } }
| 
								 background : Component  | 
						
The background of the text field.
| 
								 [read-only] control : TextField  | 
						
The TextField this style is attached to.
| 
								 font : font  | 
						
The current font.
| 
								 passwordCharacter : string  | 
						
The password character that is displayed when echoMode on the TextField 被设为 TextInput .Password or TextInput .PasswordEchoOnEdit.
This property was introduced in QtQuick.Controls.Styles 1.4.
| 
								 placeholderTextColor : color  | 
						
The placeholder text color, used when the text field is empty.
This property was introduced in QtQuick.Controls.Styles 1.1.
| 
								 renderType : int  | 
						
Override the default rendering type for the control.
支持的渲染类型是:
The default value is platform dependent.
This property was introduced in QtQuick.Controls.Styles 1.1.
另请参阅 Text::renderType .
| 
								 selectedTextColor : color  | 
						
The highlighted text color, used in selections.
| 
								 selectionColor : color  | 
						
The text highlight color, used behind selections.
| 
								 textColor : color  | 
						
文本颜色。