Jaidyn Ann
1704d392e8
This small example demonstrates defining and binding to your own subclass of a QT widget.
9 lines
124 B
C++
9 lines
124 B
C++
#include <QPushButton>
|
|
|
|
class OurButton : public QPushButton {
|
|
public:
|
|
OurButton(QWidget* parent);
|
|
|
|
void SayGoodbye();
|
|
};
|