You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#ifndef SHOPSETTINGSFORM_H
|
|
|
|
#define SHOPSETTINGSFORM_H
|
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
#include <formbinder.h>
|
|
|
|
#include "shopsettings.h"
|
|
|
|
#include <core.h>
|
|
|
|
#include "shopitem.h"
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class ShopSettingsForm;
|
|
|
|
}
|
|
|
|
|
|
|
|
class ShopSettingsForm : public FormBinder<ShopSettings>
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit ShopSettingsForm(QWidget *parent = 0);
|
|
|
|
~ShopSettingsForm();
|
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::ShopSettingsForm *ui;
|
|
|
|
AutoTableModel<ShopItem> *m_itemModel;
|
|
|
|
|
|
|
|
// IForm interface
|
|
|
|
public:
|
|
|
|
void loadEntity();
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
bool saveRecord();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // SHOPSETTINGSFORM_H
|