first commit
This commit is contained in:
22
project/fm_viewer/ui/rm_widget_style_base.h
Normal file
22
project/fm_viewer/ui/rm_widget_style_base.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#ifndef RM_WIDGET_STYLE_BASE_H
|
||||
#define RM_WIDGET_STYLE_BASE_H
|
||||
|
||||
// EVENT + STYLE WIDGET(PAINT)
|
||||
|
||||
#include "../rm_include.h"
|
||||
#include "rm_widget_base.h"
|
||||
|
||||
class RMWidgetStyleBase : public RMWidgetBase
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit RMWidgetStyleBase(QWidget *parent = nullptr,QString styleChangeName ="",bool bEvent = false);
|
||||
protected:
|
||||
void paintEvent(QPaintEvent *pe);
|
||||
QString normalStyle;
|
||||
signals:
|
||||
public slots:
|
||||
virtual void onAppEvent(RMApp::Event event,int param);
|
||||
};
|
||||
|
||||
#endif // RM_WIDGET_STYLE_BASE_H
|
||||
Reference in New Issue
Block a user