Paste
Pasted as C++ by registered user raphael ( 3 years ago )
#ifndef PUSHBUTTONROUGE_H
#define PUSHBUTTONROUGE_H
#include <QPushButton>
class PushButtonRouge : public QPushButton
{
public:
PushButtonRouge(QWidget *parent);
};
#endif // PUSHBUTTONROUGE_H
#include "pushbuttonrouge.h"
PushButtonRouge::PushButtonRouge(QWidget *parent) : QPushButton(parent)
{
setStyleSheet("background-color: red;");
}
Revise this Paste