Changeset 47270 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Jul 19, 2013 4:25:25 PM (11 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/settings/machine
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsSystem.cpp
r47269 r47270 91 91 92 92 /* Setup validators: */ 93 m LeMemory->setValidator(new QIntValidator(mSlMemory->minRAM(), mSlMemory->maxRAM(), this));94 m LeCPU->setValidator(new QIntValidator(m_uMinGuestCPU, m_uMaxGuestCPU, this));95 m LeCPUExecCap->setValidator(new QIntValidator(m_uMinGuestCPUExecCap, m_uMaxGuestCPUExecCap, this));93 m_pEditorMemorySize->setValidator(new QIntValidator(m_pSliderMemorySize->minRAM(), m_pSliderMemorySize->maxRAM(), this)); 94 m_pEditorCPUCount->setValidator(new QIntValidator(m_uMinGuestCPU, m_uMaxGuestCPU, this)); 95 m_pEditorCPUExecCap->setValidator(new QIntValidator(m_uMinGuestCPUExecCap, m_uMaxGuestCPUExecCap, this)); 96 96 97 97 /* Setup RAM connections: */ 98 connect(m SlMemory, SIGNAL(valueChanged(int)), this, SLOT(valueChangedRAM(int)));99 connect(m LeMemory, SIGNAL(textChanged(const QString&)), this, SLOT(textChangedRAM(const QString&)));98 connect(m_pSliderMemorySize, SIGNAL(valueChanged(int)), this, SLOT(valueChangedRAM(int))); 99 connect(m_pEditorMemorySize, SIGNAL(textChanged(const QString&)), this, SLOT(textChangedRAM(const QString&))); 100 100 101 101 /* Setup boot-table connections: */ … … 105 105 106 106 /* Setup CPU connections: */ 107 connect(m SlCPU, SIGNAL(valueChanged(int)), this, SLOT(valueChangedCPU(int)));108 connect(m LeCPU, SIGNAL(textChanged(const QString&)), this, SLOT(textChangedCPU(const QString&)));109 connect(m SlCPUExecCap, SIGNAL(valueChanged(int)), this, SLOT(sltValueChangedCPUExecCap(int)));110 connect(m LeCPUExecCap, SIGNAL(textChanged(const QString&)), this, SLOT(sltTextChangedCPUExecCap(const QString&)));107 connect(m_pSliderCPUCount, SIGNAL(valueChanged(int)), this, SLOT(valueChangedCPU(int))); 108 connect(m_pEditorCPUCount, SIGNAL(textChanged(const QString&)), this, SLOT(textChangedCPU(const QString&))); 109 connect(m_pSliderCPUExecCap, SIGNAL(valueChanged(int)), this, SLOT(sltValueChangedCPUExecCap(int))); 110 connect(m_pEditorCPUExecCap, SIGNAL(textChanged(const QString&)), this, SLOT(sltTextChangedCPUExecCap(const QString&))); 111 111 112 112 /* Setup boot-table iconsets: */ … … 116 116 #ifdef Q_WS_MAC 117 117 /* We need a little space for the focus rect: */ 118 m LtBootOrder->setContentsMargins (3, 3, 3, 3);119 m LtBootOrder->setSpacing (3);118 m_pLayoutBootOrder->setContentsMargins (3, 3, 3, 3); 119 m_pLayoutBootOrder->setSpacing (3); 120 120 #endif /* Q_WS_MAC */ 121 121 122 122 /* Limit min/max size of QLineEdit: */ 123 m LeMemory->setFixedWidthByText(QString().fill('8', 5));124 /* Ensure m LeMemoryvalue and validation is updated: */125 valueChangedRAM(m SlMemory->value());123 m_pEditorMemorySize->setFixedWidthByText(QString().fill('8', 5)); 124 /* Ensure m_pEditorMemorySize value and validation is updated: */ 125 valueChangedRAM(m_pSliderMemorySize->value()); 126 126 127 127 /* Setup cpu slider: */ 128 m SlCPU->setPageStep(1);129 m SlCPU->setSingleStep(1);130 m SlCPU->setTickInterval(1);128 m_pSliderCPUCount->setPageStep(1); 129 m_pSliderCPUCount->setSingleStep(1); 130 m_pSliderCPUCount->setTickInterval(1); 131 131 /* Setup the scale so that ticks are at page step boundaries: */ 132 m SlCPU->setMinimum(m_uMinGuestCPU);133 m SlCPU->setMaximum(m_uMaxGuestCPU);134 m SlCPU->setOptimalHint(1, hostCPUs);135 m SlCPU->setWarningHint(hostCPUs, m_uMaxGuestCPU);132 m_pSliderCPUCount->setMinimum(m_uMinGuestCPU); 133 m_pSliderCPUCount->setMaximum(m_uMaxGuestCPU); 134 m_pSliderCPUCount->setOptimalHint(1, hostCPUs); 135 m_pSliderCPUCount->setWarningHint(hostCPUs, m_uMaxGuestCPU); 136 136 /* Limit min/max. size of QLineEdit: */ 137 m LeCPU->setFixedWidthByText(QString().fill('8', 4));138 /* Ensure m LeMemoryvalue and validation is updated: */139 valueChangedCPU(m SlCPU->value());137 m_pEditorCPUCount->setFixedWidthByText(QString().fill('8', 4)); 138 /* Ensure m_pEditorMemorySize value and validation is updated: */ 139 valueChangedCPU(m_pSliderCPUCount->value()); 140 140 141 141 /* Setup cpu cap slider: */ 142 m SlCPUExecCap->setPageStep(10);143 m SlCPUExecCap->setSingleStep(1);144 m SlCPUExecCap->setTickInterval(10);142 m_pSliderCPUExecCap->setPageStep(10); 143 m_pSliderCPUExecCap->setSingleStep(1); 144 m_pSliderCPUExecCap->setTickInterval(10); 145 145 /* Setup the scale so that ticks are at page step boundaries: */ 146 m SlCPUExecCap->setMinimum(m_uMinGuestCPUExecCap);147 m SlCPUExecCap->setMaximum(m_uMaxGuestCPUExecCap);148 m SlCPUExecCap->setWarningHint(m_uMinGuestCPUExecCap, m_uMedGuestCPUExecCap);149 m SlCPUExecCap->setOptimalHint(m_uMedGuestCPUExecCap, m_uMaxGuestCPUExecCap);146 m_pSliderCPUExecCap->setMinimum(m_uMinGuestCPUExecCap); 147 m_pSliderCPUExecCap->setMaximum(m_uMaxGuestCPUExecCap); 148 m_pSliderCPUExecCap->setWarningHint(m_uMinGuestCPUExecCap, m_uMedGuestCPUExecCap); 149 m_pSliderCPUExecCap->setOptimalHint(m_uMedGuestCPUExecCap, m_uMaxGuestCPUExecCap); 150 150 /* Limit min/max. size of QLineEdit: */ 151 m LeCPUExecCap->setFixedWidthByText(QString().fill('8', 4));152 /* Ensure m LeMemoryvalue and validation is updated: */153 sltValueChangedCPUExecCap(m SlCPUExecCap->value());151 m_pEditorCPUExecCap->setFixedWidthByText(QString().fill('8', 4)); 152 /* Ensure m_pEditorMemorySize value and validation is updated: */ 153 sltValueChangedCPUExecCap(m_pSliderCPUExecCap->value()); 154 154 155 155 /* Configure 'pointing HID type' combo: */ 156 m CbHIDType->setSizeAdjustPolicy(QComboBox::AdjustToContents);156 m_pComboPointingHIDType->setSizeAdjustPolicy(QComboBox::AdjustToContents); 157 157 158 158 /* Populate chipset combo: */ 159 m CbChipset->addItem(gpConverter->toString(KChipsetType_PIIX3), QVariant(KChipsetType_PIIX3));160 m CbChipset->addItem(gpConverter->toString(KChipsetType_ICH9), QVariant(KChipsetType_ICH9));159 m_pComboChipsetType->addItem(gpConverter->toString(KChipsetType_PIIX3), QVariant(KChipsetType_PIIX3)); 160 m_pComboChipsetType->addItem(gpConverter->toString(KChipsetType_ICH9), QVariant(KChipsetType_ICH9)); 161 161 162 162 /* Install global event filter: */ … … 169 169 bool UIMachineSettingsSystem::isHWVirtExEnabled() const 170 170 { 171 return m CbVirt->isChecked();171 return m_pCheckBoxVirtualization->isChecked(); 172 172 } 173 173 174 174 bool UIMachineSettingsSystem::isHIDEnabled() const 175 175 { 176 return (KPointingHIDType)m CbHIDType->itemData(mCbHIDType->currentIndex()).toInt() != KPointingHIDType_PS2Mouse;176 return (KPointingHIDType)m_pComboPointingHIDType->itemData(m_pComboPointingHIDType->currentIndex()).toInt() != KPointingHIDType_PS2Mouse; 177 177 } 178 178 179 179 KChipsetType UIMachineSettingsSystem::chipsetType() const 180 180 { 181 return (KChipsetType)m CbChipset->itemData(mCbChipset->currentIndex()).toInt();181 return (KChipsetType)m_pComboChipsetType->itemData(m_pComboChipsetType->currentIndex()).toInt(); 182 182 } 183 183 … … 268 268 269 269 /* Load motherboard data to page: */ 270 m SlMemory->setValue(systemData.m_iRAMSize);270 m_pSliderMemorySize->setValue(systemData.m_iRAMSize); 271 271 /* Remove any old data in the boot view: */ 272 272 QAbstractItemView *iv = qobject_cast <QAbstractItemView*> (mTwBootOrder); … … 281 281 } 282 282 /* Load other motherboard data to page: */ 283 int iChipsetTypePosition = m CbChipset->findData(systemData.m_chipsetType);284 m CbChipset->setCurrentIndex(iChipsetTypePosition == -1 ? 0 : iChipsetTypePosition);285 int iHIDTypePosition = m CbHIDType->findData(systemData.m_pointingHIDType);286 m CbHIDType->setCurrentIndex(iHIDTypePosition == -1 ? 0 : iHIDTypePosition);287 m CbApic->setChecked(systemData.m_fEnabledIoApic);288 m CbEFI->setChecked(systemData.m_fEnabledEFI);289 m CbTCUseUTC->setChecked(systemData.m_fEnabledUTC);283 int iChipsetTypePosition = m_pComboChipsetType->findData(systemData.m_chipsetType); 284 m_pComboChipsetType->setCurrentIndex(iChipsetTypePosition == -1 ? 0 : iChipsetTypePosition); 285 int iHIDTypePosition = m_pComboPointingHIDType->findData(systemData.m_pointingHIDType); 286 m_pComboPointingHIDType->setCurrentIndex(iHIDTypePosition == -1 ? 0 : iHIDTypePosition); 287 m_pCheckBoxApic->setChecked(systemData.m_fEnabledIoApic); 288 m_pCheckBoxEFI->setChecked(systemData.m_fEnabledEFI); 289 m_pCheckBoxUseUTC->setChecked(systemData.m_fEnabledUTC); 290 290 291 291 /* Load CPU data to page: */ 292 m SlCPU->setValue(systemData.m_cCPUCount);293 m SlCPUExecCap->setValue(systemData.m_iCPUExecCap);294 m CbPae->setChecked(systemData.m_fEnabledPAE);292 m_pSliderCPUCount->setValue(systemData.m_cCPUCount); 293 m_pSliderCPUExecCap->setValue(systemData.m_iCPUExecCap); 294 m_pCheckBoxPAE->setChecked(systemData.m_fEnabledPAE); 295 295 296 296 /* Load acceleration data to page: */ 297 mCbVirt->setChecked(systemData.m_fEnabledHwVirtEx);298 m CbNestedPaging->setChecked(systemData.m_fEnabledNestedPaging);297 m_pCheckBoxVirtualization->setChecked(systemData.m_fEnabledHwVirtEx); 298 m_pCheckBoxNestedPaging->setChecked(systemData.m_fEnabledNestedPaging); 299 299 300 300 /* Polish page finally: */ … … 314 314 315 315 /* Gather motherboard data: */ 316 systemData.m_iRAMSize = m SlMemory->value();316 systemData.m_iRAMSize = m_pSliderMemorySize->value(); 317 317 /* Gather boot-table data: */ 318 318 systemData.m_bootItems.clear(); … … 326 326 } 327 327 /* Gather other motherboard data: */ 328 systemData.m_chipsetType = (KChipsetType)m CbChipset->itemData(mCbChipset->currentIndex()).toInt();329 systemData.m_pointingHIDType = (KPointingHIDType)m CbHIDType->itemData(mCbHIDType->currentIndex()).toInt();330 systemData.m_fEnabledIoApic = m CbApic->isChecked() || mSlCPU->value() > 1 ||331 (KChipsetType)m CbChipset->itemData(mCbChipset->currentIndex()).toInt() == KChipsetType_ICH9;332 systemData.m_fEnabledEFI = m CbEFI->isChecked();333 systemData.m_fEnabledUTC = m CbTCUseUTC->isChecked();328 systemData.m_chipsetType = (KChipsetType)m_pComboChipsetType->itemData(m_pComboChipsetType->currentIndex()).toInt(); 329 systemData.m_pointingHIDType = (KPointingHIDType)m_pComboPointingHIDType->itemData(m_pComboPointingHIDType->currentIndex()).toInt(); 330 systemData.m_fEnabledIoApic = m_pCheckBoxApic->isChecked() || m_pSliderCPUCount->value() > 1 || 331 (KChipsetType)m_pComboChipsetType->itemData(m_pComboChipsetType->currentIndex()).toInt() == KChipsetType_ICH9; 332 systemData.m_fEnabledEFI = m_pCheckBoxEFI->isChecked(); 333 systemData.m_fEnabledUTC = m_pCheckBoxUseUTC->isChecked(); 334 334 335 335 /* Gather CPU data: */ 336 systemData.m_cCPUCount = m SlCPU->value();337 systemData.m_iCPUExecCap = m SlCPUExecCap->value();338 systemData.m_fEnabledPAE = m CbPae->isChecked();336 systemData.m_cCPUCount = m_pSliderCPUCount->value(); 337 systemData.m_iCPUExecCap = m_pSliderCPUExecCap->value(); 338 systemData.m_fEnabledPAE = m_pCheckBoxPAE->isChecked(); 339 339 340 340 /* Gather acceleration data: */ 341 systemData.m_fEnabledHwVirtEx = m CbVirt->checkState() == Qt::Checked || mSlCPU->value() > 1;342 systemData.m_fEnabledNestedPaging = m CbNestedPaging->isChecked();341 systemData.m_fEnabledHwVirtEx = m_pCheckBoxVirtualization->checkState() == Qt::Checked || m_pSliderCPUCount->value() > 1; 342 systemData.m_fEnabledNestedPaging = m_pCheckBoxNestedPaging->isChecked(); 343 343 344 344 /* Cache system data: */ … … 406 406 /* Configure validation: */ 407 407 m_pValidator = pValidator; 408 connect(m CbChipset, SIGNAL(currentIndexChanged(int)), m_pValidator, SLOT(revalidate()));409 connect(m CbHIDType, SIGNAL(currentIndexChanged(int)), m_pValidator, SLOT(revalidate()));410 connect(m CbApic, SIGNAL(stateChanged(int)), m_pValidator, SLOT(revalidate()));411 connect(m CbVirt, SIGNAL(stateChanged(int)), m_pValidator, SLOT(revalidate()));408 connect(m_pComboChipsetType, SIGNAL(currentIndexChanged(int)), m_pValidator, SLOT(revalidate())); 409 connect(m_pComboPointingHIDType, SIGNAL(currentIndexChanged(int)), m_pValidator, SLOT(revalidate())); 410 connect(m_pCheckBoxApic, SIGNAL(stateChanged(int)), m_pValidator, SLOT(revalidate())); 411 connect(m_pCheckBoxVirtualization, SIGNAL(stateChanged(int)), m_pValidator, SLOT(revalidate())); 412 412 } 413 413 … … 416 416 /* RAM amount test: */ 417 417 ulong uFullSize = vboxGlobal().host().GetMemorySize(); 418 if (m SlMemory->value() > (int)mSlMemory->maxRAMAlw())418 if (m_pSliderMemorySize->value() > (int)m_pSliderMemorySize->maxRAMAlw()) 419 419 { 420 420 strWarning = tr( … … 422 422 "(<b>%2</b>) to the virtual machine. Not enough memory is left " 423 423 "for your host operating system. Please select a smaller amount.") 424 .arg((unsigned)qRound((double)m SlMemory->maxRAMAlw() / uFullSize * 100.0))424 .arg((unsigned)qRound((double)m_pSliderMemorySize->maxRAMAlw() / uFullSize * 100.0)) 425 425 .arg(vboxGlobal().formatSize((uint64_t)uFullSize * _1M)); 426 426 return false; 427 427 } 428 if (m SlMemory->value() > (int)mSlMemory->maxRAMOpt())428 if (m_pSliderMemorySize->value() > (int)m_pSliderMemorySize->maxRAMOpt()) 429 429 { 430 430 strWarning = tr( … … 432 432 "(<b>%2</b>) to the virtual machine. There might not be enough memory " 433 433 "left for your host operating system. Continue at your own risk.") 434 .arg((unsigned)qRound((double)m SlMemory->maxRAMOpt() / uFullSize * 100.0))434 .arg((unsigned)qRound((double)m_pSliderMemorySize->maxRAMOpt() / uFullSize * 100.0)) 435 435 .arg(vboxGlobal().formatSize((uint64_t)uFullSize * _1M)); 436 436 return true; … … 439 439 /* VCPU amount test: */ 440 440 int cTotalCPUs = vboxGlobal().host().GetProcessorOnlineCount(); 441 if (m SlCPU->value() > 2 * cTotalCPUs)441 if (m_pSliderCPUCount->value() > 2 * cTotalCPUs) 442 442 { 443 443 strWarning = tr( … … 448 448 return false; 449 449 } 450 if (m SlCPU->value() > cTotalCPUs)450 if (m_pSliderCPUCount->value() > cTotalCPUs) 451 451 { 452 452 strWarning = tr( … … 460 460 461 461 /* VCPU IO-APIC test: */ 462 if (m SlCPU->value() > 1 && !mCbApic->isChecked())462 if (m_pSliderCPUCount->value() > 1 && !m_pCheckBoxApic->isChecked()) 463 463 { 464 464 strWarning = tr( … … 471 471 472 472 /* VCPU VT-x/AMD-V test: */ 473 if (m SlCPU->value() > 1 && !mCbVirt->isChecked())473 if (m_pSliderCPUCount->value() > 1 && !m_pCheckBoxVirtualization->isChecked()) 474 474 { 475 475 strWarning = tr( … … 482 482 483 483 /* CPU execution cap is low: */ 484 if (m SlCPUExecCap->value() < (int)m_uMedGuestCPUExecCap)484 if (m_pSliderCPUExecCap->value() < (int)m_uMedGuestCPUExecCap) 485 485 { 486 486 strWarning = tr( … … 491 491 492 492 /* Chipset type & IO-APIC test: */ 493 if ((KChipsetType)m CbChipset->itemData(mCbChipset->currentIndex()).toInt() == KChipsetType_ICH9 && !mCbApic->isChecked())493 if ((KChipsetType)m_pComboChipsetType->itemData(m_pComboChipsetType->currentIndex()).toInt() == KChipsetType_ICH9 && !m_pCheckBoxApic->isChecked()) 494 494 { 495 495 strWarning = tr( … … 518 518 { 519 519 /* Motherboard tab-order: */ 520 setTabOrder(pWidget, m TwSystem->focusProxy());521 setTabOrder(m TwSystem->focusProxy(), mSlMemory);522 setTabOrder(m SlMemory, mLeMemory);523 setTabOrder(m LeMemory, mTwBootOrder);520 setTabOrder(pWidget, m_pTabWidgetSystem->focusProxy()); 521 setTabOrder(m_pTabWidgetSystem->focusProxy(), m_pSliderMemorySize); 522 setTabOrder(m_pSliderMemorySize, m_pEditorMemorySize); 523 setTabOrder(m_pEditorMemorySize, mTwBootOrder); 524 524 setTabOrder(mTwBootOrder, mTbBootItemUp); 525 525 setTabOrder(mTbBootItemUp, mTbBootItemDown); 526 setTabOrder(mTbBootItemDown, m CbChipset);527 setTabOrder(m CbChipset, mCbHIDType);528 setTabOrder(m CbHIDType, mCbApic);529 setTabOrder(m CbApic, mCbEFI);530 setTabOrder(m CbEFI, mCbTCUseUTC);526 setTabOrder(mTbBootItemDown, m_pComboChipsetType); 527 setTabOrder(m_pComboChipsetType, m_pComboPointingHIDType); 528 setTabOrder(m_pComboPointingHIDType, m_pCheckBoxApic); 529 setTabOrder(m_pCheckBoxApic, m_pCheckBoxEFI); 530 setTabOrder(m_pCheckBoxEFI, m_pCheckBoxUseUTC); 531 531 532 532 /* Processor tab-order: */ 533 setTabOrder(m CbTCUseUTC, mSlCPU);534 setTabOrder(m SlCPU, mLeCPU);535 setTabOrder(m LeCPU, mSlCPUExecCap);536 setTabOrder(m SlCPUExecCap, mLeCPUExecCap);537 setTabOrder(m LeCPUExecCap, mCbPae);533 setTabOrder(m_pCheckBoxUseUTC, m_pSliderCPUCount); 534 setTabOrder(m_pSliderCPUCount, m_pEditorCPUCount); 535 setTabOrder(m_pEditorCPUCount, m_pSliderCPUExecCap); 536 setTabOrder(m_pSliderCPUExecCap, m_pEditorCPUExecCap); 537 setTabOrder(m_pEditorCPUExecCap, m_pCheckBoxPAE); 538 538 539 539 /* Acceleration tab-order: */ 540 setTabOrder(m CbPae, mCbVirt);541 setTabOrder(m CbVirt, mCbNestedPaging);540 setTabOrder(m_pCheckBoxPAE, m_pCheckBoxVirtualization); 541 setTabOrder(m_pCheckBoxVirtualization, m_pCheckBoxNestedPaging); 542 542 } 543 543 … … 551 551 552 552 /* Retranslate the memory slider legend: */ 553 m LbMemoryMin->setText(tr("<qt>%1 MB</qt>").arg(mSlMemory->minRAM()));554 m LbMemoryMax->setText(tr("<qt>%1 MB</qt>").arg(mSlMemory->maxRAM()));553 m_pLabelMemoryMin->setText(tr("<qt>%1 MB</qt>").arg(m_pSliderMemorySize->minRAM())); 554 m_pLabelMemoryMax->setText(tr("<qt>%1 MB</qt>").arg(m_pSliderMemorySize->maxRAM())); 555 555 556 556 /* Retranslate the cpu slider legend: */ 557 m LbCPUMin->setText(tr("<qt>%1 CPU</qt>", "%1 is 1 for now").arg(m_uMinGuestCPU));558 m LbCPUMax->setText(tr("<qt>%1 CPUs</qt>", "%1 is host cpu count * 2 for now").arg(m_uMaxGuestCPU));557 m_pLabelCPUMin->setText(tr("<qt>%1 CPU</qt>", "%1 is 1 for now").arg(m_uMinGuestCPU)); 558 m_pLabelCPUMax->setText(tr("<qt>%1 CPUs</qt>", "%1 is host cpu count * 2 for now").arg(m_uMaxGuestCPU)); 559 559 560 560 /* Retranslate the cpu cap slider legend: */ 561 m LbCPUExecCapMin->setText(tr("<qt>%1%</qt>", "Min CPU execution cap in %").arg(m_uMinGuestCPUExecCap));562 m LbCPUExecCapMax->setText(tr("<qt>%1%</qt>", "Max CPU execution cap in %").arg(m_uMaxGuestCPUExecCap));561 m_pLabelCPUExecCapMin->setText(tr("<qt>%1%</qt>", "Min CPU execution cap in %").arg(m_uMinGuestCPUExecCap)); 562 m_pLabelCPUExecCapMax->setText(tr("<qt>%1%</qt>", "Max CPU execution cap in %").arg(m_uMaxGuestCPUExecCap)); 563 563 564 564 /* Retranslate combo-boxes: */ … … 569 569 void UIMachineSettingsSystem::valueChangedRAM(int iValue) 570 570 { 571 m LeMemory->setText(QString::number(iValue));571 m_pEditorMemorySize->setText(QString::number(iValue)); 572 572 } 573 573 574 574 void UIMachineSettingsSystem::textChangedRAM(const QString &strText) 575 575 { 576 m SlMemory->setValue(strText.toInt());576 m_pSliderMemorySize->setValue(strText.toInt()); 577 577 } 578 578 … … 594 594 mTwBootOrder->adjustSizeToFitContent(); 595 595 /* Update the layout system */ 596 if (m TabMotherboard->layout())597 { 598 m TabMotherboard->layout()->activate();599 m TabMotherboard->layout()->update();596 if (m_pTabMotherboard->layout()) 597 { 598 m_pTabMotherboard->layout()->activate(); 599 m_pTabMotherboard->layout()->update(); 600 600 } 601 601 } … … 606 606 KPointingHIDType currentValue = KPointingHIDType_None; 607 607 { 608 int iCurrentIndex = m CbHIDType->currentIndex();608 int iCurrentIndex = m_pComboPointingHIDType->currentIndex(); 609 609 if (iCurrentIndex != -1) 610 currentValue = (KPointingHIDType)m CbHIDType->itemData(iCurrentIndex).toInt();610 currentValue = (KPointingHIDType)m_pComboPointingHIDType->itemData(iCurrentIndex).toInt(); 611 611 } 612 612 613 613 /* Clear combo: */ 614 m CbHIDType->clear();614 m_pComboPointingHIDType->clear(); 615 615 616 616 /* Repopulate combo taking into account currently cached value: */ … … 618 618 { 619 619 /* "PS/2 Mouse" value is always here: */ 620 m CbHIDType->addItem(gpConverter->toString(KPointingHIDType_PS2Mouse), (int)KPointingHIDType_PS2Mouse);620 m_pComboPointingHIDType->addItem(gpConverter->toString(KPointingHIDType_PS2Mouse), (int)KPointingHIDType_PS2Mouse); 621 621 622 622 /* "USB Mouse" value is here only if it is currently selected: */ 623 623 if (cachedValue == KPointingHIDType_USBMouse) 624 m CbHIDType->addItem(gpConverter->toString(KPointingHIDType_USBMouse), (int)KPointingHIDType_USBMouse);624 m_pComboPointingHIDType->addItem(gpConverter->toString(KPointingHIDType_USBMouse), (int)KPointingHIDType_USBMouse); 625 625 626 626 /* "USB Mouse/Tablet" value is always here: */ 627 m CbHIDType->addItem(gpConverter->toString(KPointingHIDType_USBTablet), (int)KPointingHIDType_USBTablet);627 m_pComboPointingHIDType->addItem(gpConverter->toString(KPointingHIDType_USBTablet), (int)KPointingHIDType_USBTablet); 628 628 629 629 /* "PS/2 and USB Mouse" value is here only if it is currently selected: */ 630 630 if (cachedValue == KPointingHIDType_ComboMouse) 631 m CbHIDType->addItem(gpConverter->toString(KPointingHIDType_ComboMouse), (int)KPointingHIDType_ComboMouse);631 m_pComboPointingHIDType->addItem(gpConverter->toString(KPointingHIDType_ComboMouse), (int)KPointingHIDType_ComboMouse); 632 632 633 633 /* "USB Multi-Touch Mouse/Tablet" value is always here: */ 634 m CbHIDType->addItem(gpConverter->toString(KPointingHIDType_USBMultiTouch), (int)KPointingHIDType_USBMultiTouch);634 m_pComboPointingHIDType->addItem(gpConverter->toString(KPointingHIDType_USBMultiTouch), (int)KPointingHIDType_USBMultiTouch); 635 635 } 636 636 … … 638 638 if (currentValue != KPointingHIDType_None) 639 639 { 640 int iPreviousIndex = m CbHIDType->findData((int)currentValue);640 int iPreviousIndex = m_pComboPointingHIDType->findData((int)currentValue); 641 641 if (iPreviousIndex != -1) 642 m CbHIDType->setCurrentIndex(iPreviousIndex);642 m_pComboPointingHIDType->setCurrentIndex(iPreviousIndex); 643 643 } 644 644 } … … 646 646 void UIMachineSettingsSystem::valueChangedCPU(int iValue) 647 647 { 648 m LeCPU->setText(QString::number(iValue));648 m_pEditorCPUCount->setText(QString::number(iValue)); 649 649 } 650 650 651 651 void UIMachineSettingsSystem::textChangedCPU(const QString &strText) 652 652 { 653 m SlCPU->setValue(strText.toInt());653 m_pSliderCPUCount->setValue(strText.toInt()); 654 654 } 655 655 656 656 void UIMachineSettingsSystem::sltValueChangedCPUExecCap(int iValue) 657 657 { 658 m LeCPUExecCap->setText(QString::number(iValue));658 m_pEditorCPUExecCap->setText(QString::number(iValue)); 659 659 } 660 660 661 661 void UIMachineSettingsSystem::sltTextChangedCPUExecCap(const QString &strText) 662 662 { 663 m SlCPUExecCap->setValue(strText.toInt());663 m_pSliderCPUExecCap->setValue(strText.toInt()); 664 664 } 665 665 … … 672 672 KChipsetType type = (KChipsetType)iIndex; 673 673 /* Look for the corresponding item: */ 674 int iCorrespondingIndex = m CbChipset->findData((int)type);674 int iCorrespondingIndex = m_pComboChipsetType->findData((int)type); 675 675 /* Re-translate if corresponding item was found: */ 676 676 if (iCorrespondingIndex != -1) 677 m CbChipset->setItemText(iCorrespondingIndex, gpConverter->toString(type));677 m_pComboChipsetType->setItemText(iCorrespondingIndex, gpConverter->toString(type)); 678 678 } 679 679 } … … 687 687 KPointingHIDType type = (KPointingHIDType)iIndex; 688 688 /* Look for the corresponding item: */ 689 int iCorrespondingIndex = m CbHIDType->findData((int)type);689 int iCorrespondingIndex = m_pComboPointingHIDType->findData((int)type); 690 690 /* Re-translate if corresponding item was found: */ 691 691 if (iCorrespondingIndex != -1) 692 m CbHIDType->setItemText(iCorrespondingIndex, gpConverter->toString(type));692 m_pComboPointingHIDType->setItemText(iCorrespondingIndex, gpConverter->toString(type)); 693 693 } 694 694 } … … 700 700 701 701 /* Motherboard tab: */ 702 m LbMemory->setEnabled(isMachineOffline());703 m LbMemoryMin->setEnabled(isMachineOffline());704 m LbMemoryMax->setEnabled(isMachineOffline());705 m LbMemoryUnit->setEnabled(isMachineOffline());706 m SlMemory->setEnabled(isMachineOffline());707 m LeMemory->setEnabled(isMachineOffline());708 m LbBootOrder->setEnabled(isMachineOffline());702 m_pLabelMemorySize->setEnabled(isMachineOffline()); 703 m_pLabelMemoryMin->setEnabled(isMachineOffline()); 704 m_pLabelMemoryMax->setEnabled(isMachineOffline()); 705 m_pLabelMemoryUnits->setEnabled(isMachineOffline()); 706 m_pSliderMemorySize->setEnabled(isMachineOffline()); 707 m_pEditorMemorySize->setEnabled(isMachineOffline()); 708 m_pLabelBootOrder->setEnabled(isMachineOffline()); 709 709 mTwBootOrder->setEnabled(isMachineOffline()); 710 710 mTbBootItemUp->setEnabled(isMachineOffline() && mTwBootOrder->hasFocus() && mTwBootOrder->currentRow() > 0); 711 711 mTbBootItemDown->setEnabled(isMachineOffline() && mTwBootOrder->hasFocus() && (mTwBootOrder->currentRow() < mTwBootOrder->count() - 1)); 712 m LbChipset->setEnabled(isMachineOffline());713 m CbChipset->setEnabled(isMachineOffline());714 m LbHIDType->setEnabled(isMachineOffline());715 m CbHIDType->setEnabled(isMachineOffline());716 m LbMotherboardExtended->setEnabled(isMachineOffline());717 m CbApic->setEnabled(isMachineOffline());718 m CbEFI->setEnabled(isMachineOffline());719 m CbTCUseUTC->setEnabled(isMachineOffline());712 m_pLabelChipsetType->setEnabled(isMachineOffline()); 713 m_pComboChipsetType->setEnabled(isMachineOffline()); 714 m_pLabelPointingHIDType->setEnabled(isMachineOffline()); 715 m_pComboPointingHIDType->setEnabled(isMachineOffline()); 716 m_pLabelMotherboardExtended->setEnabled(isMachineOffline()); 717 m_pCheckBoxApic->setEnabled(isMachineOffline()); 718 m_pCheckBoxEFI->setEnabled(isMachineOffline()); 719 m_pCheckBoxUseUTC->setEnabled(isMachineOffline()); 720 720 721 721 /* Processor tab: */ 722 m LbCPU->setEnabled(isMachineOffline());723 m LbCPUMin->setEnabled(isMachineOffline());724 m LbCPUMax->setEnabled(isMachineOffline());725 m SlCPU->setEnabled(isMachineOffline() && systemData.m_fSupportedHwVirtEx);726 m LeCPU->setEnabled(isMachineOffline() && systemData.m_fSupportedHwVirtEx);727 m LbCPUExecCap->setEnabled(isMachineInValidMode());728 m LbCPUExecCapMin->setEnabled(isMachineInValidMode());729 m LbCPUExecCapMax->setEnabled(isMachineInValidMode());730 m SlCPUExecCap->setEnabled(isMachineInValidMode());731 m LeCPUExecCap->setEnabled(isMachineInValidMode());732 m LbProcessorExtended->setEnabled(isMachineOffline());733 m CbPae->setEnabled(isMachineOffline() && systemData.m_fSupportedPAE);722 m_pLabelCPUCount->setEnabled(isMachineOffline()); 723 m_pLabelCPUMin->setEnabled(isMachineOffline()); 724 m_pLabelCPUMax->setEnabled(isMachineOffline()); 725 m_pSliderCPUCount->setEnabled(isMachineOffline() && systemData.m_fSupportedHwVirtEx); 726 m_pEditorCPUCount->setEnabled(isMachineOffline() && systemData.m_fSupportedHwVirtEx); 727 m_pLabelCPUExecCap->setEnabled(isMachineInValidMode()); 728 m_pLabelCPUExecCapMin->setEnabled(isMachineInValidMode()); 729 m_pLabelCPUExecCapMax->setEnabled(isMachineInValidMode()); 730 m_pSliderCPUExecCap->setEnabled(isMachineInValidMode()); 731 m_pEditorCPUExecCap->setEnabled(isMachineInValidMode()); 732 m_pLabelCPUExtended->setEnabled(isMachineOffline()); 733 m_pCheckBoxPAE->setEnabled(isMachineOffline() && systemData.m_fSupportedPAE); 734 734 735 735 /* Acceleration tab: */ 736 m TwSystem->setTabEnabled(2, systemData.m_fSupportedHwVirtEx);737 m LbVirt->setEnabled(isMachineOffline());738 m CbVirt->setEnabled(isMachineOffline());739 m CbNestedPaging->setEnabled(isMachineOffline() && mCbVirt->isChecked());736 m_pTabWidgetSystem->setTabEnabled(2, systemData.m_fSupportedHwVirtEx); 737 m_pLabelVirtualization->setEnabled(isMachineOffline()); 738 m_pCheckBoxVirtualization->setEnabled(isMachineOffline()); 739 m_pCheckBoxNestedPaging->setEnabled(isMachineOffline() && m_pCheckBoxVirtualization->isChecked()); 740 740 } 741 741 -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsSystem.ui
r47269 r47270 23 23 </rect> 24 24 </property> 25 <layout class="QVBoxLayout" name="mLtMain">25 <layout class="QVBoxLayout"> 26 26 <item> 27 <widget class="QITabWidget" name="m TwSystem">27 <widget class="QITabWidget" name="m_pTabWidgetSystem"> 28 28 <property name="currentIndex"> 29 29 <number>0</number> 30 30 </property> 31 <widget class="QWidget" name="m TabMotherboard">31 <widget class="QWidget" name="m_pTabMotherboard"> 32 32 <attribute name="title"> 33 33 <string>&Motherboard</string> 34 34 </attribute> 35 <layout class="QGridLayout" name="mLtMotherboard">35 <layout class="QGridLayout"> 36 36 <item row="0" column="0"> 37 <widget class="QLabel" name="m LbMemory">37 <widget class="QLabel" name="m_pLabelMemorySize"> 38 38 <property name="sizePolicy"> 39 39 <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> … … 49 49 </property> 50 50 <property name="buddy"> 51 <cstring>m LeMemory</cstring>51 <cstring>m_pEditorMemorySize</cstring> 52 52 </property> 53 53 </widget> 54 54 </item> 55 55 <item row="0" column="1" rowspan="2" colspan="2"> 56 <layout class="QVBoxLayout" name="mLtMemorySlider">56 <layout class="QVBoxLayout"> 57 57 <property name="spacing"> 58 58 <number>0</number> 59 59 </property> 60 60 <item> 61 <widget class="VBoxGuestRAMSlider" name="m SlMemory">61 <widget class="VBoxGuestRAMSlider" name="m_pSliderMemorySize"> 62 62 <property name="whatsThis"> 63 63 <string>Controls the amount of memory provided to the virtual machine. If you assign too much, the machine might not start.</string> … … 69 69 </item> 70 70 <item> 71 <layout class="QHBoxLayout" name="mLtMemoryLegend">71 <layout class="QHBoxLayout"> 72 72 <property name="spacing"> 73 73 <number>0</number> 74 74 </property> 75 75 <item> 76 <widget class="QLabel" name="m LbMemoryMin">76 <widget class="QLabel" name="m_pLabelMemoryMin"> 77 77 <property name="sizePolicy"> 78 78 <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> … … 84 84 </item> 85 85 <item> 86 <spacer name="m SpHor1">86 <spacer name="m_pSpacerHorizontal1"> 87 87 <property name="orientation"> 88 88 <enum>Qt::Horizontal</enum> … … 97 97 </item> 98 98 <item> 99 <widget class="QLabel" name="m LbMemoryMax">99 <widget class="QLabel" name="m_pLabelMemoryMax"> 100 100 <property name="sizePolicy"> 101 101 <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> … … 114 114 </item> 115 115 <item row="0" column="3"> 116 <layout class="QHBoxLayout" name="mLtMemoryUnits">117 <item> 118 <widget class="QILineEdit" name="m LeMemory">116 <layout class="QHBoxLayout"> 117 <item> 118 <widget class="QILineEdit" name="m_pEditorMemorySize"> 119 119 <property name="sizePolicy"> 120 120 <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> … … 129 129 </item> 130 130 <item> 131 <widget class="QLabel" name="m LbMemoryUnit">131 <widget class="QLabel" name="m_pLabelMemoryUnits"> 132 132 <property name="sizePolicy"> 133 133 <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> … … 144 144 </item> 145 145 <item row="2" column="0"> 146 <widget class="QLabel" name="m LbBootOrder">146 <widget class="QLabel" name="m_pLabelBootOrder"> 147 147 <property name="sizePolicy"> 148 148 <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> … … 163 163 </item> 164 164 <item row="2" column="1" rowspan="2" colspan="2"> 165 <layout class="QHBoxLayout" name="m LtBootOrder">165 <layout class="QHBoxLayout" name="m_pLayoutBootOrder"> 166 166 <property name="spacing"> 167 167 <number>1</number> … … 252 252 </item> 253 253 <item> 254 <spacer name="m SpVer2">254 <spacer name="m_pSpacerVertical1"> 255 255 <property name="orientation"> 256 256 <enum>Qt::Vertical</enum> … … 267 267 </item> 268 268 <item> 269 <spacer name="m SpHor2">269 <spacer name="m_pSpacerHorizontal2"> 270 270 <property name="orientation"> 271 271 <enum>Qt::Horizontal</enum> … … 282 282 </item> 283 283 <item row="4" column="0"> 284 <widget class="QLabel" name="m LbChipset">284 <widget class="QLabel" name="m_pLabelChipsetType"> 285 285 <property name="sizePolicy"> 286 286 <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> … … 296 296 </property> 297 297 <property name="buddy"> 298 <cstring>m CbChipset</cstring>298 <cstring>m_pComboChipsetType</cstring> 299 299 </property> 300 300 </widget> 301 301 </item> 302 302 <item row="4" column="1" colspan="3"> 303 <layout class="QHBoxLayout" name="mLtChipset">304 <item> 305 <widget class="QComboBox" name="m CbChipset">303 <layout class="QHBoxLayout"> 304 <item> 305 <widget class="QComboBox" name="m_pComboChipsetType"> 306 306 <property name="sizePolicy"> 307 307 <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> … … 316 316 </item> 317 317 <item> 318 <spacer name="m SpHor3">318 <spacer name="m_pSpacerHorizontal3"> 319 319 <property name="orientation"> 320 320 <enum>Qt::Horizontal</enum> … … 331 331 </item> 332 332 <item row="5" column="0"> 333 <widget class="QLabel" name="m LbHIDType">333 <widget class="QLabel" name="m_pLabelPointingHIDType"> 334 334 <property name="sizePolicy"> 335 335 <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> … … 345 345 </property> 346 346 <property name="buddy"> 347 <cstring>m CbHIDType</cstring>347 <cstring>m_pComboPointingHIDType</cstring> 348 348 </property> 349 349 </widget> 350 350 </item> 351 351 <item row="5" column="1" colspan="3"> 352 <layout class="QHBoxLayout" name="mLtHIDType">353 <item> 354 <widget class="QComboBox" name="m CbHIDType" >352 <layout class="QHBoxLayout"> 353 <item> 354 <widget class="QComboBox" name="m_pComboPointingHIDType" > 355 355 <property name="sizePolicy" > 356 356 <sizepolicy vsizetype="Fixed" hsizetype="Minimum" > … … 365 365 </item> 366 366 <item> 367 <spacer name="m SpHor4">367 <spacer name="m_pSpacerHorizontal4"> 368 368 <property name="orientation"> 369 369 <enum>Qt::Horizontal</enum> … … 380 380 </item> 381 381 <item row="6" column="0"> 382 <widget class="QLabel" name="m LbMotherboardExtended">382 <widget class="QLabel" name="m_pLabelMotherboardExtended"> 383 383 <property name="sizePolicy"> 384 384 <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> … … 396 396 </item> 397 397 <item row="6" column="1" colspan="3"> 398 <widget class="QCheckBox" name="m CbApic">398 <widget class="QCheckBox" name="m_pCheckBoxApic"> 399 399 <property name="sizePolicy"> 400 400 <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> … … 412 412 </item> 413 413 <item row="7" column="1" colspan="3"> 414 <widget class="QCheckBox" name="m CbEFI">414 <widget class="QCheckBox" name="m_pCheckBoxEFI"> 415 415 <property name="sizePolicy"> 416 416 <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> … … 428 428 </item> 429 429 <item row="8" column="1" colspan="3"> 430 <widget class="QCheckBox" name="m CbTCUseUTC" >430 <widget class="QCheckBox" name="m_pCheckBoxUseUTC" > 431 431 <property name="sizePolicy" > 432 432 <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" > … … 444 444 </item> 445 445 <item row="9" column="0" colspan="4"> 446 <spacer name="m SpVer1">446 <spacer name="m_pSpacerVertical2"> 447 447 <property name="orientation"> 448 448 <enum>Qt::Vertical</enum> … … 458 458 </layout> 459 459 </widget> 460 <widget class="QWidget" name="m TabProcessor">460 <widget class="QWidget" name="m_pTabCPU"> 461 461 <attribute name="title"> 462 462 <string>&Processor</string> 463 463 </attribute> 464 <layout class="QGridLayout" name="mLtProcessor">464 <layout class="QGridLayout"> 465 465 <item row="0" column="0"> 466 <widget class="QLabel" name="m LbCPU">466 <widget class="QLabel" name="m_pLabelCPUCount"> 467 467 <property name="sizePolicy"> 468 468 <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> … … 478 478 </property> 479 479 <property name="buddy"> 480 <cstring>m LeCPU</cstring>480 <cstring>m_pEditorCPUCount</cstring> 481 481 </property> 482 482 </widget> 483 483 </item> 484 484 <item row="0" column="1" rowspan="2"> 485 <layout class="QVBoxLayout" name="mLtCPUSlider">485 <layout class="QVBoxLayout"> 486 486 <property name="spacing"> 487 487 <number>0</number> 488 488 </property> 489 489 <item> 490 <widget class="QIAdvancedSlider" name="m SlCPU">490 <widget class="QIAdvancedSlider" name="m_pSliderCPUCount"> 491 491 <property name="whatsThis"> 492 492 <string>Controls the number of virtual CPUs in the virtual machine. You need hardware virtualization support on your host system to use more than one virtual CPU.</string> … … 507 507 </item> 508 508 <item> 509 <layout class="QHBoxLayout" name="mLtCPULegend">509 <layout class="QHBoxLayout"> 510 510 <property name="spacing"> 511 511 <number>0</number> 512 512 </property> 513 513 <item> 514 <widget class="QLabel" name="m LbCPUMin">514 <widget class="QLabel" name="m_pLabelCPUMin"> 515 515 <property name="sizePolicy"> 516 516 <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> … … 522 522 </item> 523 523 <item> 524 <spacer name="m SpHor5">524 <spacer name="m_pSpacerHorizontal5"> 525 525 <property name="orientation"> 526 526 <enum>Qt::Horizontal</enum> … … 535 535 </item> 536 536 <item> 537 <widget class="QLabel" name="m LbCPUMax">537 <widget class="QLabel" name="m_pLabelCPUMax"> 538 538 <property name="sizePolicy"> 539 539 <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> … … 552 552 </item> 553 553 <item row="0" column="2"> 554 <widget class="QILineEdit" name="m LeCPU">554 <widget class="QILineEdit" name="m_pEditorCPUCount"> 555 555 <property name="sizePolicy"> 556 556 <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> … … 565 565 </item> 566 566 <item row="2" column="0"> 567 <widget class="QLabel" name="m LbCPUExecCap">567 <widget class="QLabel" name="m_pLabelCPUExecCap"> 568 568 <property name="sizePolicy"> 569 569 <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> … … 579 579 </property> 580 580 <property name="buddy"> 581 <cstring>m LeCPUExecCap</cstring>581 <cstring>m_pEditorCPUExecCap</cstring> 582 582 </property> 583 583 </widget> 584 584 </item> 585 585 <item row="2" column="1" rowspan="2"> 586 <layout class="QVBoxLayout" name="mLtCPUExecCapSlider">586 <layout class="QVBoxLayout"> 587 587 <property name="spacing"> 588 588 <number>0</number> 589 589 </property> 590 590 <item> 591 <widget class="QIAdvancedSlider" name="m SlCPUExecCap">591 <widget class="QIAdvancedSlider" name="m_pSliderCPUExecCap"> 592 592 <property name="whatsThis"> 593 593 <string>Limits the amount of time that each virtual CPU is allowed to run for. Each virtual CPU will be allowed to use up to this percentage of the processing time available on one physical CPU. The execution cap can be disabled by setting it to 100%. Setting the cap too low can make the machine feel slow to respond.</string> … … 608 608 </item> 609 609 <item> 610 <layout class="QHBoxLayout" name="mLtCPUExecCapLegend">610 <layout class="QHBoxLayout"> 611 611 <property name="spacing"> 612 612 <number>0</number> 613 613 </property> 614 614 <item> 615 <widget class="QLabel" name="m LbCPUExecCapMin">615 <widget class="QLabel" name="m_pLabelCPUExecCapMin"> 616 616 <property name="sizePolicy"> 617 617 <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> … … 623 623 </item> 624 624 <item> 625 <spacer name="m SpHor6">625 <spacer name="m_pSpacerHorizontal6"> 626 626 <property name="orientation"> 627 627 <enum>Qt::Horizontal</enum> … … 636 636 </item> 637 637 <item> 638 <widget class="QLabel" name="m LbCPUExecCapMax">638 <widget class="QLabel" name="m_pLabelCPUExecCapMax"> 639 639 <property name="sizePolicy"> 640 640 <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> … … 653 653 </item> 654 654 <item row="2" column="2"> 655 <widget class="QILineEdit" name="m LeCPUExecCap">655 <widget class="QILineEdit" name="m_pEditorCPUExecCap"> 656 656 <property name="sizePolicy"> 657 657 <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> … … 666 666 </item> 667 667 <item row="4" column="0"> 668 <widget class="QLabel" name="m LbProcessorExtended">668 <widget class="QLabel" name="m_pLabelCPUExtended"> 669 669 <property name="text"> 670 670 <string>Extended Features:</string> … … 676 676 </item> 677 677 <item row="4" column="1" colspan="2"> 678 <widget class="QCheckBox" name="m CbPae">678 <widget class="QCheckBox" name="m_pCheckBoxPAE"> 679 679 <property name="sizePolicy"> 680 680 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> … … 692 692 </item> 693 693 <item row="5" column="0" colspan="3"> 694 <spacer name="m SpVer3">694 <spacer name="m_pSpacerVertical3"> 695 695 <property name="orientation"> 696 696 <enum>Qt::Vertical</enum> … … 706 706 </layout> 707 707 </widget> 708 <widget class="QWidget" name="m TabAcceleration">708 <widget class="QWidget" name="m_pTabAcceleration"> 709 709 <attribute name="title"> 710 710 <string>Acce&leration</string> 711 711 </attribute> 712 <layout class="QGridLayout" name="mLtAcceleration">712 <layout class="QGridLayout"> 713 713 <item row="0" column="0"> 714 <widget class="QLabel" name="m LbVirt">714 <widget class="QLabel" name="m_pLabelVirtualization"> 715 715 <property name="text"> 716 716 <string>Hardware Virtualization:</string> … … 719 719 </item> 720 720 <item row="0" column="1"> 721 <widget class="QCheckBox" name="m CbVirt">721 <widget class="QCheckBox" name="m_pCheckBoxVirtualization"> 722 722 <property name="sizePolicy"> 723 723 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> … … 738 738 </item> 739 739 <item row="1" column="1"> 740 <widget class="QCheckBox" name="m CbNestedPaging">740 <widget class="QCheckBox" name="m_pCheckBoxNestedPaging"> 741 741 <property name="sizePolicy"> 742 742 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> … … 757 757 </item> 758 758 <item row="2" column="0" colspan="2"> 759 <spacer name=" verticalSpacer">759 <spacer name="m_pSpacerVertical4"> 760 760 <property name="orientation"> 761 761 <enum>Qt::Vertical</enum> … … 763 763 <property name="sizeHint" stdset="0"> 764 764 <size> 765 <width> 20</width>766 <height> 40</height>765 <width>0</width> 766 <height>0</height> 767 767 </size> 768 768 </property>
Note:
See TracChangeset
for help on using the changeset viewer.