Changeset 87589 in vbox
- Timestamp:
- Feb 3, 2021 5:17:19 PM (4 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox
- Files:
-
- 5 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk
r87575 r87589 656 656 src/wizards/newvm/UIWizardNewVMPageBasic2.h \ 657 657 src/wizards/newvm/UIWizardNewVMPageBasic3.h \ 658 src/wizards/newvm/UIWizardNewVMPageBasic 5.h \658 src/wizards/newvm/UIWizardNewVMPageBasic4.h \ 659 659 src/wizards/newvm/UIWizardNewVMPageExpert.h \ 660 660 src/wizards/clonevm/UIWizardCloneVM.h \ … … 1138 1138 src/wizards/newvm/UIWizardNewVMPageBasic2.cpp \ 1139 1139 src/wizards/newvm/UIWizardNewVMPageBasic3.cpp \ 1140 src/wizards/newvm/UIWizardNewVMPageBasic 5.cpp \1140 src/wizards/newvm/UIWizardNewVMPageBasic4.cpp \ 1141 1141 src/wizards/newvm/UIWizardNewVMPageExpert.cpp \ 1142 1142 src/wizards/clonevm/UIWizardCloneVM.cpp \ -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVM.cpp
r87575 r87589 26 26 #include "UIWizardNewVMPageBasic2.h" 27 27 #include "UIWizardNewVMPageBasic3.h" 28 #include "UIWizardNewVMPageBasic 5.h"28 #include "UIWizardNewVMPageBasic4.h" 29 29 #include "UIWizardNewVMPageExpert.h" 30 30 #include "UIMessageCenter.h" … … 83 83 setPage(Page2, new UIWizardNewVMPageBasic2); 84 84 setPage(Page3, new UIWizardNewVMPageBasic3); 85 setPage(Page 5, new UIWizardNewVMPageBasic5);85 setPage(Page4, new UIWizardNewVMPageBasic4); 86 86 setStartId(Page1); 87 87 break; -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVM.h
r87575 r87589 63 63 Page2, 64 64 Page3, 65 Page 5,65 Page4, 66 66 PageMax 67 67 }; … … 99 99 100 100 /* Who will be able to create virtual-machine: */ 101 friend class UIWizardNewVMPageBasic 5;101 friend class UIWizardNewVMPageBasic4; 102 102 friend class UIWizardNewVMPageExpert; 103 103 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageBasic4.cpp
r87588 r87589 1 1 /* $Id$ */ 2 2 /** @file 3 * VBox Qt GUI - UIWizardNewVMPageBasic 5class implementation.3 * VBox Qt GUI - UIWizardNewVMPageBasic4 class implementation. 4 4 */ 5 5 … … 32 32 #include "UIWizardNewVD.h" 33 33 #include "UIWizardNewVM.h" 34 #include "UIWizardNewVMPageBasic 5.h"35 36 UIWizardNewVMPage 5::UIWizardNewVMPage5()34 #include "UIWizardNewVMPageBasic4.h" 35 36 UIWizardNewVMPage4::UIWizardNewVMPage4() 37 37 : m_fRecommendedNoDisk(false) 38 38 , m_pDiskSkip(0) … … 44 44 } 45 45 46 void UIWizardNewVMPage 5::updateVirtualDiskSource()46 void UIWizardNewVMPage4::updateVirtualDiskSource() 47 47 { 48 48 if (!m_pDiskSelector || !m_pVMMButton) … … 68 68 } 69 69 70 void UIWizardNewVMPage 5::getWithFileOpenDialog()70 void UIWizardNewVMPage4::getWithFileOpenDialog() 71 71 { 72 72 /* Get opened medium id: */ … … 91 91 } 92 92 93 bool UIWizardNewVMPage 5::getWithNewVirtualDiskWizard()93 bool UIWizardNewVMPage4::getWithNewVirtualDiskWizard() 94 94 { 95 95 /* Create New Virtual Hard Drive wizard: */ … … 113 113 } 114 114 115 void UIWizardNewVMPage 5::ensureNewVirtualDiskDeleted()115 void UIWizardNewVMPage4::ensureNewVirtualDiskDeleted() 116 116 { 117 117 /* Make sure virtual-disk valid: */ … … 137 137 } 138 138 139 void UIWizardNewVMPage 5::retranslateWidgets()139 void UIWizardNewVMPage4::retranslateWidgets() 140 140 { 141 141 if (m_pDiskSkip) … … 149 149 } 150 150 151 QWidget *UIWizardNewVMPage 5::createDiskWidgets()151 QWidget *UIWizardNewVMPage4::createDiskWidgets() 152 152 { 153 153 QWidget *pDiskContainer = new QWidget; … … 179 179 } 180 180 181 UIWizardNewVMPageBasic 5::UIWizardNewVMPageBasic5()181 UIWizardNewVMPageBasic4::UIWizardNewVMPageBasic4() 182 182 : m_pLabel(0) 183 183 { … … 190 190 } 191 191 192 void UIWizardNewVMPageBasic 5::prepare()192 void UIWizardNewVMPageBasic4::prepare() 193 193 { 194 194 QVBoxLayout *pMainLayout = new QVBoxLayout(this); … … 203 203 } 204 204 205 void UIWizardNewVMPageBasic 5::createConnections()205 void UIWizardNewVMPageBasic4::createConnections() 206 206 { 207 207 connect(m_pDiskSkip, &QRadioButton::toggled, 208 this, &UIWizardNewVMPageBasic 5::sltVirtualDiskSourceChanged);208 this, &UIWizardNewVMPageBasic4::sltVirtualDiskSourceChanged); 209 209 connect(m_pDiskCreate, &QRadioButton::toggled, 210 this, &UIWizardNewVMPageBasic 5::sltVirtualDiskSourceChanged);210 this, &UIWizardNewVMPageBasic4::sltVirtualDiskSourceChanged); 211 211 connect(m_pDiskPresent, &QRadioButton::toggled, 212 this, &UIWizardNewVMPageBasic 5::sltVirtualDiskSourceChanged);212 this, &UIWizardNewVMPageBasic4::sltVirtualDiskSourceChanged); 213 213 connect(m_pDiskSelector, static_cast<void(UIMediaComboBox::*)(int)>(&UIMediaComboBox::currentIndexChanged), 214 this, &UIWizardNewVMPageBasic 5::sltVirtualDiskSourceChanged);214 this, &UIWizardNewVMPageBasic4::sltVirtualDiskSourceChanged); 215 215 connect(m_pVMMButton, &QIToolButton::clicked, 216 this, &UIWizardNewVMPageBasic 5::sltGetWithFileOpenDialog);217 } 218 219 void UIWizardNewVMPageBasic 5::sltVirtualDiskSourceChanged()216 this, &UIWizardNewVMPageBasic4::sltGetWithFileOpenDialog); 217 } 218 219 void UIWizardNewVMPageBasic4::sltVirtualDiskSourceChanged() 220 220 { 221 221 /* Call to base-class: */ … … 226 226 } 227 227 228 void UIWizardNewVMPageBasic 5::sltGetWithFileOpenDialog()228 void UIWizardNewVMPageBasic4::sltGetWithFileOpenDialog() 229 229 { 230 230 /* Call to base-class: */ … … 232 232 } 233 233 234 void UIWizardNewVMPageBasic 5::retranslateUi()234 void UIWizardNewVMPageBasic4::retranslateUi() 235 235 { 236 236 setTitle(UIWizardNewVM::tr("Hard disk and Hardware")); … … 250 250 } 251 251 252 void UIWizardNewVMPageBasic 5::initializePage()252 void UIWizardNewVMPageBasic4::initializePage() 253 253 { 254 254 retranslateUi(); … … 281 281 } 282 282 283 void UIWizardNewVMPageBasic 5::cleanupPage()283 void UIWizardNewVMPageBasic4::cleanupPage() 284 284 { 285 285 /* Call to base-class: */ … … 288 288 } 289 289 290 bool UIWizardNewVMPageBasic 5::isComplete() const290 bool UIWizardNewVMPageBasic4::isComplete() const 291 291 { 292 292 if (!m_pDiskSkip) … … 297 297 } 298 298 299 bool UIWizardNewVMPageBasic 5::validatePage()299 bool UIWizardNewVMPageBasic4::validatePage() 300 300 { 301 301 /* Initial result: */ -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageBasic4.h
r87588 r87589 1 1 /* $Id$ */ 2 2 /** @file 3 * VBox Qt GUI - UIWizardNewVMPageBasic 5class declaration.3 * VBox Qt GUI - UIWizardNewVMPageBasic4 class declaration. 4 4 */ 5 5 … … 16 16 */ 17 17 18 #ifndef FEQT_INCLUDED_SRC_wizards_newvm_UIWizardNewVMPageBasic 5_h19 #define FEQT_INCLUDED_SRC_wizards_newvm_UIWizardNewVMPageBasic 5_h18 #ifndef FEQT_INCLUDED_SRC_wizards_newvm_UIWizardNewVMPageBasic4_h 19 #define FEQT_INCLUDED_SRC_wizards_newvm_UIWizardNewVMPageBasic4_h 20 20 #ifndef RT_WITHOUT_PRAGMA_ONCE 21 21 # pragma once … … 39 39 40 40 /** 3rd page of the New Virtual Machine wizard (base part). */ 41 class UIWizardNewVMPage 5: public UIWizardPageBase41 class UIWizardNewVMPage4 : public UIWizardPageBase 42 42 { 43 43 … … 45 45 46 46 /** Constructor. */ 47 UIWizardNewVMPage 5();47 UIWizardNewVMPage4(); 48 48 49 49 /** Handlers. */ … … 94 94 95 95 /** 3rd page of the New Virtual Machine wizard (basic extension). */ 96 class UIWizardNewVMPageBasic 5 : public UIWizardPage, public UIWizardNewVMPage596 class UIWizardNewVMPageBasic4 : public UIWizardPage, public UIWizardNewVMPage4 97 97 { 98 98 Q_OBJECT; … … 105 105 106 106 /** Constructor. */ 107 UIWizardNewVMPageBasic 5();107 UIWizardNewVMPageBasic4(); 108 108 109 109 protected: … … 140 140 }; 141 141 142 #endif /* !FEQT_INCLUDED_SRC_wizards_newvm_UIWizardNewVMPageBasic 5_h */142 #endif /* !FEQT_INCLUDED_SRC_wizards_newvm_UIWizardNewVMPageBasic4_h */ -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageExpert.cpp
r87575 r87589 185 185 UIWizardNewVMPage2::retranslateWidgets(); 186 186 UIWizardNewVMPage3::retranslateWidgets(); 187 UIWizardNewVMPage 5::retranslateWidgets();187 UIWizardNewVMPage4::retranslateWidgets(); 188 188 189 189 if (m_pInstallationISOContainer) -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageExpert.h
r87575 r87589 26 26 #include "UIWizardNewVMPageBasic2.h" 27 27 #include "UIWizardNewVMPageBasic3.h" 28 #include "UIWizardNewVMPageBasic 5.h"28 #include "UIWizardNewVMPageBasic4.h" 29 29 30 30 /* Forward declarations: */ … … 37 37 public UIWizardNewVMPage2, 38 38 public UIWizardNewVMPage3, 39 public UIWizardNewVMPage 539 public UIWizardNewVMPage4 40 40 { 41 41
Note:
See TracChangeset
for help on using the changeset viewer.