blob: 5bb5a4b0bbab60cf5db3c1efc92ff2cf8a5238c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
// Copyright (C) 2020 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#ifndef DIALOG_H
#define DIALOG_H
#include <QDialog>
#include <QMediaMetaData>
QT_BEGIN_NAMESPACE
class QLabel;
class QLineEdit;
QT_END_NAMESPACE
//! [0]
class MetaDataDialog : public QDialog
{
Q_OBJECT
public:
explicit MetaDataDialog(QWidget *parent = nullptr);
QLineEdit *m_metaDataFields[QMediaMetaData::NumMetaData] = {};
private slots:
void openThumbnailImage();
void openCoverArtImage();
};
//! [0]
#endif
|