2022-06-19 16:17:38 +08:00
|
|
|
// SPDX-FileCopyrightText: 2022 Gary Wang <wzc782970009@gmail.com>
|
|
|
|
//
|
|
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
|
2020-10-30 13:06:46 +08:00
|
|
|
#ifndef METADATADIALOG_H
|
|
|
|
#define METADATADIALOG_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
class QTreeView;
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
|
|
|
|
class MetadataModel;
|
|
|
|
class MetadataDialog : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
explicit MetadataDialog(QWidget * parent);
|
|
|
|
~MetadataDialog() override;
|
|
|
|
|
|
|
|
void setMetadataModel(MetadataModel * model);
|
|
|
|
|
|
|
|
QSize sizeHint() const override;
|
|
|
|
|
|
|
|
private:
|
|
|
|
QTreeView * m_treeView = nullptr;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // METADATADIALOG_H
|