qt-material-widgets/components/raisedbutton.h

31 lines
549 B
C
Raw Normal View History

2022-02-17 15:17:19 +00:00
#ifndef RAISEDBUTTON_H
#define RAISEDBUTTON_H
2017-09-29 09:50:04 +00:00
2022-02-17 15:17:19 +00:00
#include "flatbutton.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
}
2022-02-17 15:17:19 +00:00
#endif // RAISEDBUTTON_H