30 lines
473 B
C++
30 lines
473 B
C++
#ifndef COMMODITYFORM_H
|
|||
|
|
#define COMMODITYFORM_H
|
||
|
|
|
||
|
|
#include <QWidget>
|
||
|
|
#include <autoform.h>
|
||
|
|
#include "data/commoditydata.h"
|
||
|
|
#include "commodity-odb.hxx"
|
||
|
|
|
||
|
|
namespace Ui {
|
||
|
|
class CommodityForm;
|
||
|
|
}
|
||
|
|
|
||
|
|
class CommodityForm : public AutoForm<CommodityData>
|
||
|
|
{
|
||
|
|
Q_OBJECT
|
||
|
|
|
||
|
|
public:
|
||
|
|
explicit CommodityForm(QWidget *parent = 0);
|
||
|
|
~CommodityForm();
|
||
|
|
|
||
|
|
private:
|
||
|
|
Ui::CommodityForm *ui;
|
||
|
|
|
||
|
|
// FormBinder interface
|
||
|
|
protected:
|
||
|
|
void registerCombos();
|
||
|
|
};
|
||
|
|
|
||
|
|
#endif // COMMODITYFORM_H
|