Hi ,All!
I am a beginer of QT3,now i want to get rid of the frame of a button(i want to get the button like the button of the menu of xp ),which is designed by QT Desinger,but i don't know how to modify it!
sorry for my poor english !
Hi ,All!
I am a beginer of QT3,now i want to get rid of the frame of a button(i want to get the button like the button of the menu of xp ),which is designed by QT Desinger,but i don't know how to modify it!
sorry for my poor english !
Either subclass QPushButton (or QToolButton) and reimplement its paint event or subclass one of QStyle subclasses and reimplement drawControl. But check first, maybe it's enough for your needs to only activate the "flat" property of QPushButton.
Thanks for your reply!
![]()
![]()
Bookmarks