如题,各位大佬,在做
QWidget上加了几个QToolButton按钮,它的样式如下:
- QWidget[nav="top"] QAbstractButton
- {
- border-style:none;
- border-radius:0px;
- padding:5px;
- color:white;
- background:#0B0F1B;
- }
- QWidget[nav="top"] QAbstractButton:hover,QWidget[nav="top"] QAbstractButton:pressed,QWidget[nav="top"] QAbstractButton:checked
- {
- border-style:solid;
- border-width:0px 0px 2px 0px;
- padding:4px 4px 2px 4px;
- border-color:white;
- background:#0B0F1B;
- }
如何设置QToolButton在鼠标悬浮状态下下边框是红色呢?在
qss里是设置哪个属性?各位大佬,有
没有人做过这方面的东西?欢迎各位大佬指点,小弟不胜感激!