2018-05-17 18:04:42 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
|
2018-05-18 17:51:48 +00:00
|
|
|
class QDataWidgetMapper;
|
|
|
|
class MetaDataModel;
|
|
|
|
|
2018-05-17 18:04:42 +00:00
|
|
|
namespace Ui {
|
2018-05-18 17:51:48 +00:00
|
|
|
class MetaDataWidget;
|
2018-05-17 18:04:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
class MetaDataWidget : public QWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::MetaDataWidget *ui;
|
2018-05-18 17:51:48 +00:00
|
|
|
QDataWidgetMapper *m_widgetMapper;
|
2018-05-17 18:04:42 +00:00
|
|
|
|
|
|
|
public:
|
|
|
|
MetaDataWidget(QWidget *parent = nullptr);
|
|
|
|
~MetaDataWidget();
|
2018-05-18 17:51:48 +00:00
|
|
|
|
|
|
|
void setModel(MetaDataModel *model);
|
|
|
|
void toFirst();
|
2018-05-17 18:04:42 +00:00
|
|
|
};
|