Changeset 84878 in vbox
- Timestamp:
- Jun 19, 2020 8:18:48 AM (5 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageBasic2.cpp
r84874 r84878 35 35 UIWizardNewVMPage2::UIWizardNewVMPage2() 36 36 : m_pBaseMemoryEditor(0) 37 , m_pRamLabel(0)38 37 { 39 38 } … … 55 54 QGridLayout *pMemoryLayout = new QGridLayout; 56 55 { 57 m_pRamLabel = new QLabel; 58 m_pBaseMemoryEditor = new UIBaseMemoryEditor; 59 pMemoryLayout->addWidget(m_pRamLabel, 0, 0, 1, 1, Qt::AlignRight|Qt::AlignTop); 56 m_pBaseMemoryEditor = new UIBaseMemoryEditor(this, true); 60 57 pMemoryLayout->addWidget(m_pBaseMemoryEditor, 0, 1, 1, 4); 61 58 } … … 79 76 if (m_pLabel) 80 77 m_pLabel->setText(UIWizardNewVM::tr("<p>You can modify the virtual machine's hardware.</p>")); 81 82 if (m_pRamLabel)83 m_pRamLabel->setText(UIWizardNewVM::tr("Base Memory:"));84 78 } 85 79 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageBasic2.h
r84874 r84878 44 44 /* Widgets: */ 45 45 UIBaseMemoryEditor *m_pBaseMemoryEditor; 46 QLabel *m_pRamLabel;47 46 }; 48 47
Note:
See TracChangeset
for help on using the changeset viewer.