2017-09-29 09:50:04 +00:00
|
|
|
#ifndef QTMATERIALRAISEDBUTTON_H
|
|
|
|
#define QTMATERIALRAISEDBUTTON_H
|
|
|
|
|
|
|
|
#include "qtmaterialflatbutton.h"
|
2022-02-17 02:42:34 +00:00
|
|
|
namespace md
|
|
|
|
{
|
2017-09-29 09:50:04 +00:00
|
|
|
|
2022-02-17 02:42:34 +00:00
|
|
|
class RaisedButtonPrivate;
|
2017-09-29 09:50:04 +00:00
|
|
|
|
2022-02-17 02:42:34 +00:00
|
|
|
class RaisedButton : public FlatButton
|
2017-09-29 09:50:04 +00:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2022-02-17 02:42:34 +00:00
|
|
|
explicit RaisedButton(QWidget *parent = 0);
|
|
|
|
explicit RaisedButton(const QString &text, QWidget *parent = 0);
|
|
|
|
~RaisedButton();
|
2017-09-29 09:50:04 +00:00
|
|
|
|
|
|
|
protected:
|
2022-02-17 02:42:34 +00:00
|
|
|
RaisedButton(RaisedButtonPrivate &d, QWidget *parent = 0);
|
2017-09-29 09:50:04 +00:00
|
|
|
|
|
|
|
bool event(QEvent *event) Q_DECL_OVERRIDE;
|
|
|
|
|
|
|
|
private:
|
2022-02-17 02:42:34 +00:00
|
|
|
Q_DISABLE_COPY(RaisedButton)
|
|
|
|
Q_DECLARE_PRIVATE(RaisedButton)
|
2017-09-29 09:50:04 +00:00
|
|
|
};
|
2022-02-17 02:42:34 +00:00
|
|
|
}
|
2017-09-29 09:50:04 +00:00
|
|
|
#endif // QTMATERIALRAISEDBUTTON_H
|