31 QMap<int, QComboBox*> _combos;
33 static QStringList genres;
35 QMap<int, Cover*> _covers;
36 QMap<int, Cover*> _unsavedCovers;
38 QMap<int, QSet<QString>> _cacheData;
44 explicit TagEditor(QWidget *parent =
nullptr);
46 void addDirectory(
const QDir &dir);
58 virtual void changeEvent(QEvent *event)
override;
61 virtual void closeEvent(QCloseEvent *event)
override;
64 virtual void dragEnterEvent(QDragEnterEvent *event)
override;
67 virtual void dragMoveEvent(QDragMoveEvent *event)
override;
70 virtual void dropEvent(QDropEvent *event)
override;
73 virtual bool eventFilter(QObject *obj, QEvent *event)
override;
79 void clearCovers(QMap<int, Cover *> &coversToRemove);
82 void addTracks(
const QStringList &tracks);
86 void addItemsToEditor(
const QList<QUrl> &tracks);
94 void applyCoverToAll(
bool isForAll,
Cover *cover);
107 void recordSingleItemChange(QTableWidgetItem *item);
109 void replaceCover(
Cover *newCover);
112 void rollbackChanges();
114 void updateCells(QString text);
117 void aboutToCloseTagEditor();
120 #endif // TAGEDITOR_H ViewProperty
Definition: settings.h:32
virtual void updateSelectedTracks()=0
#define MIAMTAGEDITOR_LIBRARY
Definition: miamtageditor_global.hpp:8
The TagConverter class displays a small popup to help one to extract Tag into files and vice-versa...
Definition: tagconverter.h:17
ViewType
Definition: abstractview.h:39
The SelectedTracksModel class.
Definition: selectedtracksmodel.h:14
The Cover class.
Definition: cover.h:14
virtual bool viewProperty(Settings::ViewProperty) const
Definition: abstractview.h:61
The TagEditor class is the main class for editing metadata inside this soft.
Definition: tageditor.h:25
virtual void setViewProperty(Settings::ViewProperty vp, QVariant value)=0
The AcoustId class can fetch tags automatically from Webservice.
Definition: acoustid.h:17
virtual QList< QUrl > selectedTracks()=0
virtual ViewType type() const override
Definition: tageditor.h:50
Definition: ui_tageditor.h:427
The AbstractView class is the base class for all views in Miam-Player.
Definition: abstractview.h:22
TagConverter * tagConverter
Definition: tageditor.h:42
Definition: abstractview.h:40