feat: 添加ElaWidgetTool库
This commit is contained in:
19
ElaWidgetTools/DeveloperComponents/ElaLineEditStyle.h
Normal file
19
ElaWidgetTools/DeveloperComponents/ElaLineEditStyle.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#ifndef ELALINEEDITSTYLE_H
|
||||
#define ELALINEEDITSTYLE_H
|
||||
|
||||
#include <QProxyStyle>
|
||||
|
||||
#include "ElaDef.h"
|
||||
class ElaLineEditStyle : public QProxyStyle
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit ElaLineEditStyle(QStyle* style = nullptr);
|
||||
~ElaLineEditStyle();
|
||||
void drawPrimitive(PrimitiveElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget = nullptr) const override;
|
||||
|
||||
private:
|
||||
ElaThemeType::ThemeMode _themeMode;
|
||||
};
|
||||
|
||||
#endif // ELALINEEDITSTYLE_H
|
||||
Reference in New Issue
Block a user