- Timestamp:
- Jul 7, 2020 7:54:24 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageBasic1.h
r85078 r85079 35 35 class QButtonGroup; 36 36 37 /* 1st page of the New Virtual Machine wizard (base part): */37 /** 1st page of the New Virtual Machine wizard (base part): */ 38 38 class UIWizardNewVMPage1 : public UIWizardPageBase 39 39 { 40 40 protected: 41 41 42 /* Constructor:*/42 /** Constructor. */ 43 43 UIWizardNewVMPage1(const QString &strGroup); 44 44 45 /* Handlers:*/45 /** Handlers. */ 46 46 void onNameChanged(QString strNewName); 47 47 void onOsTypeChanged(); … … 79 79 void createWidgets(QGridLayout *pGridLayout); 80 80 81 /** Holds the simple variant button instance. */ 82 QRadioButton *m_pButtonSimple; 83 /** Holds the unattended variant button instance. */ 84 QRadioButton *m_pButtonUnattended; 81 /** @name Widgets 82 * @{ */ 83 /** Holds the simple variant button instance. */ 84 QRadioButton *m_pButtonSimple; 85 /** Holds the unattended variant button instance. */ 86 QRadioButton *m_pButtonUnattended; 87 /** Holds the ISO selector label instance. */ 88 QLabel *m_pISOSelectorLabel; 89 /** Holds the ISO selector editor instance. */ 90 UIFilePathSelector *m_pISOFilePathSelector; 91 /** Holds the headless start label instance. */ 92 QLabel *m_pStartHeadlessLabel; 93 /** Holds the headless start checkbox instance. */ 94 QCheckBox *m_pStartHeadlessCheckBox; 95 /** Provides a path selector and a line edit field for path and name entry. */ 96 UINameAndSystemEditor *m_pNameAndSystemEditor; 97 QIRichTextLabel *m_pLabel1; 98 QIRichTextLabel *m_pLabel2; 99 QButtonGroup *m_pButtonGroup; 100 /** @} */ 85 101 86 /** Holds the ISO selector label instance. */87 QLabel *m_pISOSelectorLabel;88 /** Holds the ISO selector editor instance. */89 UIFilePathSelector *m_pISOFilePathSelector;90 91 /** Holds the headless start label instance. */92 QLabel *m_pStartHeadlessLabel;93 /** Holds the headless start checkbox instance. */94 QCheckBox *m_pStartHeadlessCheckBox;95 96 /** Provides a path selector and a line edit field for path and name entry. */97 UINameAndSystemEditor *m_pNameAndSystemEditor;98 /* Widgets: */99 QIRichTextLabel *m_pLabel1;100 QIRichTextLabel *m_pLabel2;101 QButtonGroup *m_pButtonGroup;102 102 QString m_strDetectedOSTypeId; 103 103 … … 124 124 }; 125 125 126 /* 1st page of the New Virtual Machine wizard (basic extension):*/126 /** 1st page of the New Virtual Machine wizard (basic extension). */ 127 127 class UIWizardNewVMPageBasic1 : public UIWizardPage, public UIWizardNewVMPage1 128 128 { … … 140 140 public: 141 141 142 /* Constructor:*/142 /** Constructor. */ 143 143 UIWizardNewVMPageBasic1(const QString &strGroup); 144 144 virtual int nextId() const /* override */; … … 148 148 protected: 149 149 150 /* Wrapper to access 'this' from base part:*/150 /** Wrapper to access 'this' from base part. */ 151 151 UIWizardPage* thisImp() { return this; } 152 152 153 153 private slots: 154 154 155 /* Handlers:*/155 /** Handlers. */ 156 156 void sltNameChanged(const QString &strNewText); 157 157 void sltPathChanged(const QString &strNewPath); … … 162 162 private: 163 163 164 /* Translation stuff:*/164 /** Translation stuff. */ 165 165 void retranslateUi(); 166 166 167 /* Prepare stuff:*/167 /** Prepare stuff. */ 168 168 void prepare(); 169 169 void createConnections(); … … 171 171 void cleanupPage(); 172 172 173 /* Validation stuff:*/173 /** Validation stuff. */ 174 174 virtual bool validatePage() /* override */; 175 175
Note:
See TracChangeset
for help on using the changeset viewer.

