Changeset 94837 in vbox
- Timestamp:
- May 5, 2022 9:37:34 AM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 151236
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/wizards
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/editors/UIHostnameDomainNameEditor.cpp
r93823 r94837 174 174 m_pHostnameLineEdit->mark(!m_pHostnameLineEdit->hasAcceptableInput(), 175 175 tr("Hostname should be a string of length 2. Allowed characters are alphanumerics, '-', and '.'" )); 176 emit sigHostnameDomainNameChanged(hostnameDomainName() );176 emit sigHostnameDomainNameChanged(hostnameDomainName(), isComplete()); 177 177 } 178 178 … … 182 182 tr("Domain name should be a string of length 2. Allowed characters are alphanumerics, '-', and '.'" )); 183 183 184 emit sigHostnameDomainNameChanged(hostnameDomainName() );184 emit sigHostnameDomainNameChanged(hostnameDomainName(), isComplete()); 185 185 } -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/editors/UIHostnameDomainNameEditor.h
r93115 r94837 42 42 signals: 43 43 44 void sigHostnameDomainNameChanged(const QString &strHostNameDomain );44 void sigHostnameDomainNameChanged(const QString &strHostNameDomain, bool fIsComplete); 45 45 46 46 public: -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/editors/UIWizardNewVMEditors.h
r93646 r94837 114 114 signals: 115 115 116 void sigHostnameDomainNameChanged(const QString &strHostnameDomainName );116 void sigHostnameDomainNameChanged(const QString &strHostnameDomainName, bool fIsComplete); 117 117 void sigProductKeyChanged(const QString &strHostnameDomainName); 118 118 void sigStartHeadlessChanged(bool fChecked); -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMExpertPage.cpp
r94593 r94837 832 832 } 833 833 834 void UIWizardNewVMExpertPage::sltHostnameDomainNameChanged(const QString &strHostnameDomainName) 835 { 836 AssertReturnVoid(wizardWindow<UIWizardNewVM>()); 837 wizardWindow<UIWizardNewVM>()->setHostnameDomainName(strHostnameDomainName); 838 m_userModifiedParameters << "HostnameDomainName"; 839 emit completeChanged(); 834 void UIWizardNewVMExpertPage::sltHostnameDomainNameChanged(const QString &strHostnameDomainName, bool fIsComplete) 835 { 836 AssertReturnVoid(wizardWindow<UIWizardNewVM>()); 837 emit completeChanged(); 838 839 if (fIsComplete) 840 { 841 wizardWindow<UIWizardNewVM>()->setHostnameDomainName(strHostnameDomainName); 842 m_userModifiedParameters << "HostnameDomainName"; 843 } 840 844 } 841 845 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMExpertPage.h
r94593 r94837 80 80 void sltPasswordChanged(const QString &strPassword); 81 81 void sltUserNameChanged(const QString &strUserName); 82 void sltHostnameDomainNameChanged(const QString &strHostnameDomainName );82 void sltHostnameDomainNameChanged(const QString &strHostnameDomainName, bool fIsComplete); 83 83 void sltProductKeyChanged(const QString &strProductKey); 84 84 void sltStartHeadlessChanged(bool fStartHeadless); -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMUnattendedPage.cpp
r93606 r94837 208 208 } 209 209 210 void UIWizardNewVMUnattendedPage::sltHostnameDomainNameChanged(const QString &strHostnameDomainName) 211 { 212 AssertReturnVoid(wizardWindow<UIWizardNewVM>()); 213 wizardWindow<UIWizardNewVM>()->setHostnameDomainName(strHostnameDomainName); 214 m_userModifiedParameters << "HostnameDomainName"; 215 emit completeChanged(); 210 void UIWizardNewVMUnattendedPage::sltHostnameDomainNameChanged(const QString &strHostnameDomainName, bool fIsComplete) 211 { 212 AssertReturnVoid(wizardWindow<UIWizardNewVM>()); 213 emit completeChanged(); 214 215 if (fIsComplete) 216 { 217 wizardWindow<UIWizardNewVM>()->setHostnameDomainName(strHostnameDomainName); 218 m_userModifiedParameters << "HostnameDomainName"; 219 } 216 220 } 217 221 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMUnattendedPage.h
r93606 r94837 52 52 void sltPasswordChanged(const QString &strPassword); 53 53 void sltUserNameChanged(const QString &strUserName); 54 void sltHostnameDomainNameChanged(const QString &strHostnameDomainName );54 void sltHostnameDomainNameChanged(const QString &strHostnameDomainName, bool fIsComplete); 55 55 void sltProductKeyChanged(const QString &strProductKey); 56 56 void sltStartHeadlessChanged(bool fStartHeadless);
Note:
See TracChangeset
for help on using the changeset viewer.