Go to the documentation of this file.
10 #include <QStringList>
69 bool Create(
void)
override;
75 void doFileCopy(
const QString &src,
const QString &dst);
113 void scanDirectory(QString &directory, std::vector<TrackInfo*> *tracks);
115 static bool copyFile(
const QString &src,
const QString &dst);
180 bool Create(
void)
override;
MythUIButton * m_prevButton
bool keyPressEvent(QKeyEvent *event) override
Key event handler.
void setTitleWordCaps(void)
Image widget, displays a single image or multiple images in sequence.
bool m_somethingWasImported
void importFinished(void)
void nextNewPressed(void)
bool Create(void) override
void setCompilationArtist(void)
bool keyPressEvent(QKeyEvent *event) override
Key event handler.
MythUIButton * m_scanButton
MythUIText * m_statusText
bool somethingWasImported() const
MythUICheckBox * m_compilationCheck
A text entry and edit widget.
QStringList m_sourceFiles
MythUIText * m_filenameText
void coverArtPressed(void)
bool m_defaultCompilation
Screen in which all other widgets are contained and rendered.
std::vector< TrackInfo * > * m_tracks
void locationPressed(void)
void updateTypeSelector(void)
bool Create(void) override
void ShowMenu(void) override
MythUIButton * m_copyButton
MythUIText * m_currentText
~ImportCoverArtDialog() override=default
MythUIButton * m_addButton
void setTitleInitialCap(void)
void metadataChanged(void)
MusicMetadata * m_metadata
QString m_musicStorageDir
MusicMetadata * m_playingMetaData
MythUIButton * m_prevButton
~ImportMusicDialog() override
Basic menu dialog, message and a list of options.
MythUIButton * m_nextButton
void showEditMetadataDialog(void)
MythUIText * m_artistText
MythUIText * m_compartistText
ImportCoverArtDialog(MythScreenStack *parent, QString sourceDir, MusicMetadata *metadata, QString storageDir)
MythUIButton * m_nextnewButton
MythUIButton * m_exitButton
void selectorChanged(void)
ImportMusicDialog(MythScreenStack *parent)
MythUIText * m_filenameText
void scanDirectory(QString &directory, std::vector< TrackInfo * > *tracks)
FileCopyThread(QString src, QString dst)
A checkbox widget supporting three check states - on,off,half and two conditions - selected and unsel...
void chooseBackend(void) const
MythUITextEdit * m_locationEdit
MythUIButton * m_locationButton
QString m_musicStorageDir
MythUIButtonList * m_typeList
All purpose text widget, displays a text string.
MythUIButton * m_addallnewButton
MythUIButton * m_playButton
bool GetResult(void) const
QString m_defaultCompArtist
void doFileCopy(const QString &src, const QString &dst)
ImportMusicDialog * m_parent
void run() override
Runs the Qt event loop unless we have a QRunnable, in which case we run the runnable run instead.
This is a wrapper around QThread that does several additional things.
MythUIImage * m_coverartImage
static bool copyFile(const QString &src, const QString &dst)
MythUIText * m_destinationText
MythUIButton * m_coverartButton
MythUIText * m_currentText
MythUIText * m_statusText
void setSaveHost(const QString &host)
void showImportCoverArtDialog()
void setCompilation(void)
MythUIButton * m_nextButton
void customEvent(QEvent *event) override
void run() override
Runs the Qt event loop unless we have a QRunnable, in which case we run the runnable run instead.
FileScannerThread(ImportMusicDialog *parent)
void addAllNewPressed(void)