20 #ifndef DETAILSDIALOG_H
21 #define DETAILSDIALOG_H
26 #include <qmmp/qmmp.h>
27 #include <qmmp/trackinfo.h>
28 #include "qmmpui_export.h"
31 class QAbstractButton;
52 explicit DetailsDialog(
const QList<PlayListTrack *> &tracks, QWidget *parent =
nullptr);
76 void on_buttonBox_clicked(QAbstractButton *button);
77 void on_tabWidget_currentChanged(
int index);
78 void on_directoryButton_clicked();
79 void on_prevButton_clicked();
80 void on_nextButton_clicked();
83 Ui::DetailsDialog *m_ui;
84 void closeEvent(QCloseEvent *)
override;
87 QString formatRow(
const QString &key,
const QString &value)
const;
90 QList<PlayListTrack *> m_tracks;
93 QSet<QString> m_modifiedPaths;
The DetailsDialog class provides dialog to show/edit metadata.
Definition: detailsdialog.h:44
QStringList modifiedPaths() const
DetailsDialog(const QList< PlayListTrack * > &tracks, QWidget *parent=nullptr)
void metaDataChanged(const QStringList &paths)
DetailsDialog(PlayListTrack *track, QWidget *parent=nullptr)
The PlayListTrack class provides a track for use with the PlayListModel class.
Definition: playlisttrack.h:37
The TrackInfo class stores metadata and other information about track.
Definition: trackinfo.h:32