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
2019-12-21 21:55:53 +08:00

34 lines
563 B
C++

#ifndef LAYER_H
#define LAYER_H
#include <QPainter>
#include <QWidget>
class Layer : public QWidget {
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) {
}
};
#endif // LAYER_H