rename dir
This commit is contained in:
33
doric-Qt/doric/shader/layer.h
Normal file
33
doric-Qt/doric/shader/layer.h
Normal file
@@ -0,0 +1,33 @@
|
||||
#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
|
Reference in New Issue
Block a user