feat: 添加ElaWidgetTool库
This commit is contained in:
22
ElaWidgetTools/private/ElaNavigationRouterPrivate.h
Normal file
22
ElaWidgetTools/private/ElaNavigationRouterPrivate.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#ifndef ELANAVIGATIONROUTERPRIVATE_H
|
||||
#define ELANAVIGATIONROUTERPRIVATE_H
|
||||
#include <QObject>
|
||||
#include <QQueue>
|
||||
#include <QVariantMap>
|
||||
|
||||
#include "ElaProperty.h"
|
||||
class ElaNavigationRouter;
|
||||
class ElaNavigationRouterPrivate : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_D_CREATE(ElaNavigationRouter)
|
||||
Q_PROPERTY_CREATE_D(int, MaxRouteCount)
|
||||
public:
|
||||
explicit ElaNavigationRouterPrivate(QObject* parent = nullptr);
|
||||
~ElaNavigationRouterPrivate() override;
|
||||
|
||||
private:
|
||||
QQueue<QVariantMap> _routeQueue;
|
||||
};
|
||||
|
||||
#endif // ELANAVIGATIONROUTERPRIVATE_H
|
||||
Reference in New Issue
Block a user