big-change:添加两种类型结构读写支持

This commit is contained in:
2024-08-27 17:30:48 +08:00
parent ff68e756ff
commit b05783191f
20 changed files with 975 additions and 195 deletions

31
src/uhistory.h Normal file
View File

@@ -0,0 +1,31 @@
#ifndef UHISTORY_H
#define UHISTORY_H
#include <QDialog>
#include "history.h"
namespace Ui {
class CUIHistory;
}
class CUIHistory : public QDialog
{
Q_OBJECT
public:
explicit CUIHistory(QWidget *parent, CHistory* his);
~CUIHistory();
private:
void showEvent(QShowEvent* event);
void select_ok();
public:
QString cur_{};
private:
Ui::CUIHistory *ui;
CHistory* his_{};
};
#endif // UHISTORY_H