qpushbutton source code example Example: qpushbutton QPushButton *button = new QPushButton("Text", this);