chore:将信息显示在主界面上

This commit is contained in:
2025-06-07 23:34:38 +08:00
parent 9e15e701c2
commit 50adf55762
6 changed files with 120 additions and 15 deletions

View File

@@ -3,6 +3,10 @@
#include <QMainWindow>
#include "aptssupdater.h"
#include "applistmodel.h"
#include "appdelegate.h"
#include <QListView>
QT_BEGIN_NAMESPACE
namespace Ui {
class MainWindow;
@@ -21,5 +25,8 @@ private:
Ui::MainWindow *ui;
void checkUpdates();
void initStyle();
AppListModel *m_model;
AppDelegate *m_delegate;
QListView *listView; // 声明 QListView 指针
};
#endif // MAINWINDOW_H