You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
624 B
C++
19 lines
624 B
C++
#pragma once
|
|
|
|
#include <KDecoration3/DecorationButton>
|
|
|
|
class Button : public KDecoration3::DecorationButton
|
|
{
|
|
public:
|
|
explicit Button(KDecoration3::DecorationButtonType type,
|
|
KDecoration3::Decoration *decoration,
|
|
QObject *parent = nullptr);
|
|
|
|
static KDecoration3::DecorationButton *create(KDecoration3::DecorationButtonType type,
|
|
KDecoration3::Decoration *decoration,
|
|
QObject *parent);
|
|
|
|
protected:
|
|
void paint(QPainter *painter, const QRectF &repaintArea) override;
|
|
};
|