Added auto java options to the java wizzard page
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
4c76f7afe0
commit
2f489d1aec
3 changed files with 48 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
|||
#include <BaseVersion.h>
|
||||
#include <QObjectPtr.h>
|
||||
#include <java/JavaChecker.h>
|
||||
#include <qcheckbox.h>
|
||||
#include <QIcon>
|
||||
|
||||
class QLineEdit;
|
||||
|
@ -41,6 +42,8 @@ class JavaSettingsWidget : public QWidget {
|
|||
int minHeapSize() const;
|
||||
int maxHeapSize() const;
|
||||
QString javaPath() const;
|
||||
bool autodetectJava() const;
|
||||
bool autodownloadJava() const;
|
||||
|
||||
void updateThresholds();
|
||||
|
||||
|
@ -86,6 +89,11 @@ class JavaSettingsWidget : public QWidget {
|
|||
QIcon yellowIcon;
|
||||
QIcon badIcon;
|
||||
|
||||
QGroupBox* m_autoJavaGroupBox = nullptr;
|
||||
QVBoxLayout* m_veriticalJavaLayout = nullptr;
|
||||
QCheckBox* m_autodetectJavaCheckBox = nullptr;
|
||||
QCheckBox* m_autodownloadCheckBox = nullptr;
|
||||
|
||||
unsigned int observedMinMemory = 0;
|
||||
unsigned int observedMaxMemory = 0;
|
||||
unsigned int observedPermGenMemory = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue