File indexing completed on 2024-09-15 10:03:22
0001 /* AUDEX CDDA EXTRACTOR 0002 * SPDX-FileCopyrightText: Copyright (C) 2007 Marco Nelles 0003 * <https://userbase.kde.org/Audex> 0004 * 0005 * SPDX-License-Identifier: GPL-3.0-or-later 0006 */ 0007 0008 #ifndef PROFILEDATACUESHEETDIALOG_H 0009 #define PROFILEDATACUESHEETDIALOG_H 0010 0011 #include <QWidget> 0012 0013 #include <QDialog> 0014 #include <QPushButton> 0015 0016 #include "dialogs/errordialog.h" 0017 #include "models/profilemodel.h" 0018 0019 #include "filenameschemewizarddialog.h" 0020 0021 #include "ui_profiledatacuesheetwidgetUI.h" 0022 0023 class ProfileDataCueSheetDialog : public QDialog 0024 { 0025 Q_OBJECT 0026 0027 public: 0028 explicit ProfileDataCueSheetDialog(ProfileModel *profile_model, const int profile_row, const bool new_profile_mode, QWidget *parent = nullptr); 0029 ~ProfileDataCueSheetDialog() override; 0030 0031 protected Q_SLOTS: 0032 void scheme_wizard(); 0033 0034 private Q_SLOTS: 0035 void trigger_changed(); 0036 0037 void slotAccepted(); 0038 void slotApplied(); 0039 0040 private: 0041 Ui::ProfileDataCueSheetWidgetUI ui; 0042 QPushButton *applyButton; 0043 0044 ProfileModel *profile_model; 0045 int profile_row; 0046 bool new_profile_mode; 0047 0048 bool save(); 0049 0050 Error error; 0051 }; 0052 0053 #endif