伪状态 | 描述 |
:checked | button 部件被选中 |
:unchecked | button 部件未被选中 |
:disabled | 部件被禁用 |
:enabled | 部件被启用 |
:focus | 部件获得焦点 |
:hover | 鼠标位于部件上 |
:indeterminate | checkbox 或 radiobutton 被部分选中 |
:off | 部件可以切换,且处于 off 状态 |
:on | 部件可以切换,且处于 on 状态 |
:pressed | 部件被鼠标按下 |
子部件 | 描述 |
::down-arrow | combo box 或 spin box 的下拉箭头 |
::down-button | spin box 的向下按钮 |
::drop-down | combo box 的下拉箭头 |
::indicator | checkbox、radio button 或可选择 group box 的指示器 |
::item | menu、menu bar 或 status bar 的子项目 |
::menu-indicator | push button 的菜单指示器 |
::title | group box 的标题 |
::up-arrow | spin box 的向上箭头 |
::up-button | spin box的向上按钮 |
(SAW:Game Over!)