This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Doric/doric-Qt/doric/shader/layer.h

34 lines
563 B
C
Raw Normal View History

2019-12-18 17:35:37 +08:00
#ifndef LAYER_H
#define LAYER_H
2019-12-19 19:54:58 +08:00
#include <QPainter>
#include <QWidget>
2019-12-18 17:35:37 +08:00
class Layer : public QWidget {
2019-12-19 19:54:58 +08:00
void paintEvent(QPaintEvent *event) override {
QPainter painter(this);
QWidget::paintEvent(event);
}
public:
void setShadow(int sdColor, int sdOpacity, int sdRadius, int offsetX, int offsetY) {
}
void setBorder(int borderWidth, int borderColor) {
}
void setCornerRadius(int corner) {
}
void setCornerRadius(int leftTop, int rightTop, int rightBottom, int leftBottom) {
}
2019-12-18 17:35:37 +08:00
};
#endif // LAYER_H