#pragma once #include #include #include #include "sqlitehelper.h" #include "ui_addcategory.h" class AddCategory : public QDialog { Q_OBJECT public: AddCategory(QWidget *parent = nullptr); ~AddCategory(); QList categrories; bool changed = false; private: Ui::AddCategoryClass ui; SQLiteHelper sqlite_helper; QPushButton* submit_btn; QList combo_boxes; private slots: void submit(); };