Добавлена реализация базовых профилей (Имя, путь до java)
This commit is contained in:
32
profiledialog.h
Normal file
32
profiledialog.h
Normal 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
|
||||
Reference in New Issue
Block a user