Top "Qpushbutton" questions

QPushButton is a Qt library class that represents ordinary push buttons, and gives the API to manipulate them.

Qt5 - setting background color to QPushButton and QCheckBox

I'm trying to change the background color of a QAbstractButton (either a QPushButton or QCheckBox) in Qt5 and having zero …

qt qt5 qpushbutton qcheckbox
How to make a QPushButton pressable for enter key?

I want to make my app laptop friendly. I can tab to everywhere, but if I tab to a QPushButton …

c++ qt qpushbutton
How to set the font size of the label on pushbutton in Qt?

I am using this code to set a label on the pushbutton with size of 16 ui->pushButton->setText(…

qt4 qpushbutton
PySide : How to get the clicked QPushButton object in the QPushButton clicked slot?

I am new to PySide. I want to get the QPushButton obj (such as use it to get its text) …

qt pyqt pyside qpushbutton
How to style QPushButton's checked state to remove grey dots?

I am using Qt 5.3.0. When I apply some background-color on the QPushButton's checked state, the button will be filled with …

css windows qt stylesheet qpushbutton
How do I prevent the enter key from closing my QDialog (Qt 4.8.1)

I have a QDialog with a QDialogButtonBox. The OK and Cancel buttons are active. Occasionally I disable or hide the …

c++ qt qdialog qpushbutton
Difference between QPushButton and QToolButton

I'm new to Qt and the difference between QPushButton and QToolButton is not so clear to me. I know that …

c++ qt qpushbutton qtoolbutton
Shrink a QPushButton width to the minimum

This seems like such a simple thing, but I can't seem to figure it out. How do I make the …

qt pyqt qpushbutton
Qt rightclick QPushButton

I'm using Qt Creator to create a gui for a mineseeper game. How can I know a QpushButton clicked with …

qt right-click qpushbutton
qt how to know that a pushbutton is clicked?

I'm trying to do a program which makes some operations with sounds. My question is that I have 3 Play pushbutton …

c++ qt visual-studio-2013 qt-designer qpushbutton