2
* \file playlistdialog.h
3
* Create playlist dialog.
9
* Copyright (C) 2009 Urs Fleisch
11
* This file is part of Kid3.
13
* Kid3 is free software; you can redistribute it and/or modify
14
* it under the terms of the GNU General Public License as published by
15
* the Free Software Foundation; either version 2 of the License, or
16
* (at your option) any later version.
18
* Kid3 is distributed in the hope that it will be useful,
19
* but WITHOUT ANY WARRANTY; without even the implied warranty of
20
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21
* GNU General Public License for more details.
23
* You should have received a copy of the GNU General Public License
24
* along with this program. If not, see <http://www.gnu.org/licenses/>.
27
#ifndef PLAYLISTDIALOG_H
28
#define PLAYLISTDIALOG_H
40
class PlaylistDialog : public QDialog {
47
* @param parent parent widget
49
PlaylistDialog(QWidget* parent);
57
* Read the local settings from the configuration.
62
* Get the current dialog configuration.
64
* @param cfg the current configuration is returned here
66
void getCurrentConfig(PlaylistConfig& cfg) const;
70
* Save the local settings to the configuration.
72
void saveConfig() const;
80
QRadioButton* m_sameAsDirNameButton;
81
QRadioButton* m_fileNameFormatButton;
82
QComboBox* m_locationComboBox;
83
QComboBox* m_formatComboBox;
84
QCheckBox* m_onlySelectedFilesCheckBox;
85
QRadioButton* m_sortFileNameButton;
86
QRadioButton* m_sortTagFieldButton;
87
QRadioButton* m_relPathButton;
88
QRadioButton* m_fullPathButton;
89
QRadioButton* m_writeListButton;
90
QRadioButton* m_writeInfoButton;
91
QComboBox* m_fileNameFormatComboBox;
92
QComboBox* m_sortTagFieldComboBox;
93
QComboBox* m_writeInfoComboBox;
96
#endif // PLAYLISTDIALOG_H