Добавлена реализация базовых профилей (Имя, путь до java)

This commit is contained in:
2025-10-26 20:00:25 +03:00
parent 0d18e48783
commit 3b3d9e7af0
7 changed files with 365 additions and 3 deletions

32
profiledialog.h Normal file
View File

@@ -0,0 +1,32 @@
#ifndef PROFILEDIALOG_H
#define PROFILEDIALOG_H
#include <QDialog>
namespace Ui {
class ProfileDialog;
}
class ProfileDialog : public QDialog
{
Q_OBJECT
public:
explicit ProfileDialog(QWidget *parent = nullptr);
~ProfileDialog();
QString profileName() const;
QString javaPath() const;
// === НОВЫЕ ФУНКЦИИ ===
void setProfileName(const QString &name);
void setJavaPath(const QString &path);
private slots:
void on_browseButton_clicked();
private:
Ui::ProfileDialog *ui;
};
#endif // PROFILEDIALOG_H