Files
cbh/ElaWidgetTools/private/ElaDrawerAreaPrivate.h
2025-09-20 01:41:33 +08:00

25 lines
741 B
C++

#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_