Can anyone help me with putting an image or icon on a push button?
I tried with a style sheet but that’s not working. Please help.
Can anyone help me with putting an image or icon on a push button?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Qpushbutton constructor says.
QPushButton ( const QIcon & icon, const QString & text, QWidget * parent = 0 );
give the specific width and height of icon, based on your convince in setgeometry.