feat: 添加ElaWidgetTool库
This commit is contained in:
25
ElaWidgetTools/private/ElaDrawerAreaPrivate.h
Normal file
25
ElaWidgetTools/private/ElaDrawerAreaPrivate.h
Normal file
@@ -0,0 +1,25 @@
|
||||
#ifndef ELAFRAMEWORK_ELAWIDGETTOOLS_PRIVATE_ELADRAWERAREAPRIVATE_H_
|
||||
#define ELAFRAMEWORK_ELAWIDGETTOOLS_PRIVATE_ELADRAWERAREAPRIVATE_H_
|
||||
|
||||
#include "ElaDef.h"
|
||||
#include "ElaDrawerContainer.h"
|
||||
#include "ElaDrawerHeader.h"
|
||||
#include <QObject>
|
||||
class ElaDrawerArea;
|
||||
class ElaDrawerAreaPrivate : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_D_CREATE(ElaDrawerArea)
|
||||
public:
|
||||
explicit ElaDrawerAreaPrivate(QObject* parent = nullptr);
|
||||
~ElaDrawerAreaPrivate() override;
|
||||
|
||||
Q_SLOT void onDrawerHeaderClicked(bool isExpand);
|
||||
|
||||
private:
|
||||
ElaThemeType::ThemeMode _themeMode;
|
||||
ElaDrawerHeader* _drawerHeader{nullptr};
|
||||
ElaDrawerContainer* _drawerContainer{nullptr};
|
||||
};
|
||||
|
||||
#endif //ELAFRAMEWORK_ELAWIDGETTOOLS_PRIVATE_ELADRAWERAREAPRIVATE_H_
|
||||
Reference in New Issue
Block a user