普通按钮控件,常见于界面上的确定、应用、取消、是、否等按键。
The push button, or command button, is perhaps the most commonly used widget in any graphical user interface. Push (click) a button to command the computer to perform some action, or to answer a question. Typical buttons are OK, Apply, Cancel, Close, Yes, No and Help.
属性 | 数据类型 | 描述 |
---|---|---|
autoDefault | bool | 自动默认 |
default | bool | 默认键(用户在对话框中按下键盘Enter键后会触发该键) |
flat | bool | 设置外观扁平化 |
信号 | 说明 |
---|---|
showMenu | 显示(弹出)相关的弹出式菜单 |