[QT] QSS美化-基本的な知識
Qss Beautification Basic Knowledge
目次
疑似状態リスト
:checked /*button widget is selected*/ :unchecked /*button part is not selected*/ :disabled /*Part is disabled*/ :enabled /*The component is enabled*/ :focus /*Part gets focus*/ :hover /*The mouse is on the part*/ :indeterminate /*checkbox or radiobutton is partially selected*/ :off /*Parts can be switched and are in off state*/ :on /*Parts can be switched and are in the on state*/ :pressed /*The part is pressed by the mouse*/
サブパートリスト
::down-arrow /*combo box or spin box down arrow*/ ::drop-down /*combo box drop down arrow*/ ::indicator /*checkbox, radio button or selectable group box indicator*/ ::item /*Sub-item of menu, menu bar or status bar*/ ::menu-indicator /*push button's menu indicator*/ ::title /*title of group box*/ ::down-button /*spin box's down button*/ ::up-arrow /*spin box's up arrow*/ ::up-button /*spin box's up button*/
参考記事:
https://www.cnblogs.com/csuftzzk/p/qss_button_menu.html
https://www.cnblogs.com/bclshuai/p/9809679.html