- ComboBox 下拉框
属性 | 含义 |
---|---|
acceptableInput:bool | 是否可接受输入 |
count:int | 下拉项数 |
currentIndex:int | 当前呈现项的索引 |
currentText:string | 当前呈现项的文本 |
delegate:Component | 呈现的指示容器 |
displayText:string | 呈现项的显示文本 |
down:bool | 当下拉框按下时是否有向下的阴影 |
editText:string | 下拉框中编辑的文本 |
editable:bool | 是否可编辑 |
flat:bool | 按钮是否平滑 |
highlightedIndex:int | 下拉列框被弹出的下拉列表当前指示选项(只读属性) |
indicator:item | 设置下拉指示器 |
inputMethodComposing:bool | 允许混合的输入方法 |
inputMethodHints:flags | 有好多标志,官方文档进行查阅 |
model:model | 为下拉框提供数据模型 |
popup:Popup | 下拉列表 |
pressed:bool | 是否被物理点击了 |
textRole:string | 用于保存 |