diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2021-01-31 21:21:14 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2021-01-31 21:21:14 +0000 |
| commit | 53efb5d8ff3a1fa08adb334a415dba5be6e45505 (patch) | |
| tree | 33b63badec68898f4a707cf1ee16c1f5611018cc /src/qmmpui/cueeditor_p.h | |
| parent | b6d8148a8db5b5e22cf373ed9b464135d9e3e151 (diff) | |
| download | qmmp-53efb5d8ff3a1fa08adb334a415dba5be6e45505.tar.gz qmmp-53efb5d8ff3a1fa08adb334a415dba5be6e45505.tar.bz2 qmmp-53efb5d8ff3a1fa08adb334a415dba5be6e45505.zip | |
prepare for cue editor implementation
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9672 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/cueeditor_p.h')
| -rw-r--r-- | src/qmmpui/cueeditor_p.h | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/src/qmmpui/cueeditor_p.h b/src/qmmpui/cueeditor_p.h new file mode 100644 index 000000000..f0a9d4075 --- /dev/null +++ b/src/qmmpui/cueeditor_p.h @@ -0,0 +1,53 @@ +/*************************************************************************** + * Copyright (C) 2021 by Ilya Kotov * + * forkotov02@ya.ru * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * + ***************************************************************************/ + +#ifndef CUEEDITOR_P_H +#define CUEEDITOR_P_H + +#include <QWidget> + +namespace Ui { +class CueEditor; +} + +class MetaDataModel; + +class CueEditor : public QWidget +{ + Q_OBJECT + +public: + explicit CueEditor(MetaDataModel *model, QWidget *parent = nullptr); + ~CueEditor(); + + void save(); + +private slots: + void on_loadButton_clicked(); + void on_deleteButton_clicked(); + void on_saveAsButton_clicked(); + +private: + Ui::CueEditor *m_ui; + MetaDataModel *m_model; + QString m_lastDir; +}; + +#endif // CUEEDITOR_P_H |
