账单记录器迁移。
This commit is contained in:
41
repayment.h
Normal file
41
repayment.h
Normal file
@@ -0,0 +1,41 @@
|
||||
#ifndef REPAYMENT_H
|
||||
#define REPAYMENT_H
|
||||
|
||||
#include "SqlOpr.h"
|
||||
#include <QDialog>
|
||||
#include <QTableWidget>
|
||||
|
||||
namespace Ui {
|
||||
class Repayment;
|
||||
}
|
||||
|
||||
class Repayment : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit Repayment(QWidget* parent, std::unique_ptr<RepaySqlOpr>& repaySqlOpr);
|
||||
~Repayment();
|
||||
|
||||
public:
|
||||
int exec() override;
|
||||
void SetInformation(const QString& info);
|
||||
void SetRecord(const AccountRecord& record);
|
||||
|
||||
private:
|
||||
void ShowData();
|
||||
void Init();
|
||||
void ShowContextMenu(const QPoint& pos);
|
||||
void Save();
|
||||
void BasicAnasys(const RepayRecordList& rList);
|
||||
|
||||
private:
|
||||
bool over_{};
|
||||
QString info_;
|
||||
Ui::Repayment* ui;
|
||||
AccountRecord record_;
|
||||
QTableWidget* tw_{};
|
||||
std::unique_ptr<RepaySqlOpr>& repaySqlOpr_;
|
||||
};
|
||||
|
||||
#endif // REPAYMENT_H
|
||||
Reference in New Issue
Block a user