提交测试,基本完成
This commit is contained in:
25
OfficeAssistant_msvc/addcategory.h
Normal file
25
OfficeAssistant_msvc/addcategory.h
Normal file
@ -0,0 +1,25 @@
|
||||
#pragma once
|
||||
|
||||
#include <QDialog>
|
||||
#include <QComboBox>
|
||||
#include <QPushButton>
|
||||
#include "sqlitehelper.h"
|
||||
#include "ui_addcategory.h"
|
||||
|
||||
class AddCategory : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
AddCategory(QWidget *parent = nullptr);
|
||||
~AddCategory();
|
||||
QList<Categrory> categrories;
|
||||
bool changed = false;
|
||||
private:
|
||||
Ui::AddCategoryClass ui;
|
||||
SQLiteHelper sqlite_helper;
|
||||
QPushButton* submit_btn;
|
||||
QList<QComboBox *> combo_boxes;
|
||||
private slots:
|
||||
void submit();
|
||||
};
|
Reference in New Issue
Block a user