关于RadioButton圆圈的大小
想问一下RadioButton那个圆圈的大小可否改变,可否将选中时里面的黑点变大,现在用的QT Creator,在RadioButton的ui里不知道有没有调整这个圆圈大小的属性, radiobutton qt ui
[解决办法]
貌似没有,自己画吧
[解决办法]
QRadioButton::indicator {
width: 13px;
height: 13px;
}
QRadioButton::indicator::unchecked {
image: url(:/images/radiobutton_unchecked.png);
}
QRadioButton::indicator:unchecked:hover {
image: url(:/images/radiobutton_unchecked_hover.png);
}
QRadioButton::indicator:unchecked:pressed {
image: url(:/images/radiobutton_unchecked_pressed.png);
}
QRadioButton::indicator::checked {
image: url(:/images/radiobutton_checked.png);
}
QRadioButton::indicator:checked:hover {
image: url(:/images/radiobutton_checked_hover.png);
}
QRadioButton::indicator:checked:pressed {
image: url(:/images/radiobutton_checked_pressed.png);
}
找大一些的图片