mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-11-04 00:02:21 +08:00
chore:绘制包列表骨架
This commit is contained in:
parent
064b068135
commit
3ba3364fb9
@ -25,6 +25,8 @@ if(${QT_VERSION_MAJOR} GREATER_EQUAL 6)
|
||||
${PROJECT_SOURCES}
|
||||
aptssupdater.h aptssupdater.cpp
|
||||
icons.qrc
|
||||
appdelegate.h appdelegate.cpp
|
||||
applistmodel.h applistmodel.cpp
|
||||
)
|
||||
# Define target properties for Android with Qt 6 as:
|
||||
# set_property(TARGET Spark-Update-Tool APPEND PROPERTY QT_ANDROID_PACKAGE_SOURCE_DIR
|
||||
|
||||
5
src/appdelegate.cpp
Normal file
5
src/appdelegate.cpp
Normal file
@ -0,0 +1,5 @@
|
||||
#include "appdelegate.h"
|
||||
|
||||
AppDelegate::AppDelegate(QObject *parent)
|
||||
: QObject{parent}
|
||||
{}
|
||||
15
src/appdelegate.h
Normal file
15
src/appdelegate.h
Normal file
@ -0,0 +1,15 @@
|
||||
#ifndef APPDELEGATE_H
|
||||
#define APPDELEGATE_H
|
||||
|
||||
#include <QObject>
|
||||
|
||||
class AppDelegate : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit AppDelegate(QObject *parent = nullptr);
|
||||
|
||||
signals:
|
||||
};
|
||||
|
||||
#endif // APPDELEGATE_H
|
||||
5
src/applistmodel.cpp
Normal file
5
src/applistmodel.cpp
Normal file
@ -0,0 +1,5 @@
|
||||
#include "applistmodel.h"
|
||||
|
||||
AppListModel::AppListModel(QObject *parent)
|
||||
: QObject{parent}
|
||||
{}
|
||||
15
src/applistmodel.h
Normal file
15
src/applistmodel.h
Normal file
@ -0,0 +1,15 @@
|
||||
#ifndef APPLISTMODEL_H
|
||||
#define APPLISTMODEL_H
|
||||
|
||||
#include <QObject>
|
||||
|
||||
class AppListModel : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit AppListModel(QObject *parent = nullptr);
|
||||
|
||||
signals:
|
||||
};
|
||||
|
||||
#endif // APPLISTMODEL_H
|
||||
Loading…
x
Reference in New Issue
Block a user