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