refactor AdvancedSettingsDialog into own file and class

This commit is contained in:
Carl Philipp Klemm 2026-03-04 20:12:35 +01:00
parent 82182425e6
commit 31315f433b
10 changed files with 1278 additions and 132 deletions

30
SongDialog.h Normal file
View file

@ -0,0 +1,30 @@
#ifndef SONGDIALOG_H
#define SONGDIALOG_H
#include <QDialog>
#include <QString>
namespace Ui {
class SongDialog;
}
class SongDialog : public QDialog
{
Q_OBJECT
public:
explicit SongDialog(QWidget *parent = nullptr, const QString &caption = "", const QString &lyrics = "");
~SongDialog();
QString getCaption() const;
QString getLyrics() const;
private slots:
void on_okButton_clicked();
void on_cancelButton_clicked();
private:
Ui::SongDialog *ui;
};
#endif // SONGDIALOG_H