VirtualBox

Changeset 47270 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Jul 19, 2013 4:25:25 PM (11 years ago)
Author:
vboxsync
Message:

FE/Qt: Machine settings: System page: Cleanup/rework (part 7): Widget variables renaming.

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  
    9191
    9292    /* Setup validators: */
    93     mLeMemory->setValidator(new QIntValidator(mSlMemory->minRAM(), mSlMemory->maxRAM(), this));
    94     mLeCPU->setValidator(new QIntValidator(m_uMinGuestCPU, m_uMaxGuestCPU, this));
    95     mLeCPUExecCap->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));
    9696
    9797    /* Setup RAM connections: */
    98     connect(mSlMemory, SIGNAL(valueChanged(int)), this, SLOT(valueChangedRAM(int)));
    99     connect(mLeMemory, 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&)));
    100100
    101101    /* Setup boot-table connections: */
     
    105105
    106106    /* Setup CPU connections: */
    107     connect(mSlCPU, SIGNAL(valueChanged(int)), this, SLOT(valueChangedCPU(int)));
    108     connect(mLeCPU, SIGNAL(textChanged(const QString&)), this, SLOT(textChangedCPU(const QString&)));
    109     connect(mSlCPUExecCap, SIGNAL(valueChanged(int)), this, SLOT(sltValueChangedCPUExecCap(int)));
    110     connect(mLeCPUExecCap, 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&)));
    111111
    112112    /* Setup boot-table iconsets: */
     
    116116#ifdef Q_WS_MAC
    117117    /* We need a little space for the focus rect: */
    118     mLtBootOrder->setContentsMargins (3, 3, 3, 3);
    119     mLtBootOrder->setSpacing (3);
     118    m_pLayoutBootOrder->setContentsMargins (3, 3, 3, 3);
     119    m_pLayoutBootOrder->setSpacing (3);
    120120#endif /* Q_WS_MAC */
    121121
    122122    /* Limit min/max size of QLineEdit: */
    123     mLeMemory->setFixedWidthByText(QString().fill('8', 5));
    124     /* Ensure mLeMemory value and validation is updated: */
    125     valueChangedRAM(mSlMemory->value());
     123    m_pEditorMemorySize->setFixedWidthByText(QString().fill('8', 5));
     124    /* Ensure m_pEditorMemorySize value and validation is updated: */
     125    valueChangedRAM(m_pSliderMemorySize->value());
    126126
    127127    /* Setup cpu slider: */
    128     mSlCPU->setPageStep(1);
    129     mSlCPU->setSingleStep(1);
    130     mSlCPU->setTickInterval(1);
     128    m_pSliderCPUCount->setPageStep(1);
     129    m_pSliderCPUCount->setSingleStep(1);
     130    m_pSliderCPUCount->setTickInterval(1);
    131131    /* Setup the scale so that ticks are at page step boundaries: */
    132     mSlCPU->setMinimum(m_uMinGuestCPU);
    133     mSlCPU->setMaximum(m_uMaxGuestCPU);
    134     mSlCPU->setOptimalHint(1, hostCPUs);
    135     mSlCPU->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);
    136136    /* Limit min/max. size of QLineEdit: */
    137     mLeCPU->setFixedWidthByText(QString().fill('8', 4));
    138     /* Ensure mLeMemory value and validation is updated: */
    139     valueChangedCPU(mSlCPU->value());
     137    m_pEditorCPUCount->setFixedWidthByText(QString().fill('8', 4));
     138    /* Ensure m_pEditorMemorySize value and validation is updated: */
     139    valueChangedCPU(m_pSliderCPUCount->value());
    140140
    141141    /* Setup cpu cap slider: */
    142     mSlCPUExecCap->setPageStep(10);
    143     mSlCPUExecCap->setSingleStep(1);
    144     mSlCPUExecCap->setTickInterval(10);
     142    m_pSliderCPUExecCap->setPageStep(10);
     143    m_pSliderCPUExecCap->setSingleStep(1);
     144    m_pSliderCPUExecCap->setTickInterval(10);
    145145    /* Setup the scale so that ticks are at page step boundaries: */
    146     mSlCPUExecCap->setMinimum(m_uMinGuestCPUExecCap);
    147     mSlCPUExecCap->setMaximum(m_uMaxGuestCPUExecCap);
    148     mSlCPUExecCap->setWarningHint(m_uMinGuestCPUExecCap, m_uMedGuestCPUExecCap);
    149     mSlCPUExecCap->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);
    150150    /* Limit min/max. size of QLineEdit: */
    151     mLeCPUExecCap->setFixedWidthByText(QString().fill('8', 4));
    152     /* Ensure mLeMemory value and validation is updated: */
    153     sltValueChangedCPUExecCap(mSlCPUExecCap->value());
     151    m_pEditorCPUExecCap->setFixedWidthByText(QString().fill('8', 4));
     152    /* Ensure m_pEditorMemorySize value and validation is updated: */
     153    sltValueChangedCPUExecCap(m_pSliderCPUExecCap->value());
    154154
    155155    /* Configure 'pointing HID type' combo: */
    156     mCbHIDType->setSizeAdjustPolicy(QComboBox::AdjustToContents);
     156    m_pComboPointingHIDType->setSizeAdjustPolicy(QComboBox::AdjustToContents);
    157157
    158158    /* Populate chipset combo: */
    159     mCbChipset->addItem(gpConverter->toString(KChipsetType_PIIX3), QVariant(KChipsetType_PIIX3));
    160     mCbChipset->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));
    161161
    162162    /* Install global event filter: */
     
    169169bool UIMachineSettingsSystem::isHWVirtExEnabled() const
    170170{
    171     return mCbVirt->isChecked();
     171    return m_pCheckBoxVirtualization->isChecked();
    172172}
    173173
    174174bool UIMachineSettingsSystem::isHIDEnabled() const
    175175{
    176     return (KPointingHIDType)mCbHIDType->itemData(mCbHIDType->currentIndex()).toInt() != KPointingHIDType_PS2Mouse;
     176    return (KPointingHIDType)m_pComboPointingHIDType->itemData(m_pComboPointingHIDType->currentIndex()).toInt() != KPointingHIDType_PS2Mouse;
    177177}
    178178
    179179KChipsetType UIMachineSettingsSystem::chipsetType() const
    180180{
    181     return (KChipsetType)mCbChipset->itemData(mCbChipset->currentIndex()).toInt();
     181    return (KChipsetType)m_pComboChipsetType->itemData(m_pComboChipsetType->currentIndex()).toInt();
    182182}
    183183
     
    268268
    269269    /* Load motherboard data to page: */
    270     mSlMemory->setValue(systemData.m_iRAMSize);
     270    m_pSliderMemorySize->setValue(systemData.m_iRAMSize);
    271271    /* Remove any old data in the boot view: */
    272272    QAbstractItemView *iv = qobject_cast <QAbstractItemView*> (mTwBootOrder);
     
    281281    }
    282282    /* Load other motherboard data to page: */
    283     int iChipsetTypePosition = mCbChipset->findData(systemData.m_chipsetType);
    284     mCbChipset->setCurrentIndex(iChipsetTypePosition == -1 ? 0 : iChipsetTypePosition);
    285     int iHIDTypePosition = mCbHIDType->findData(systemData.m_pointingHIDType);
    286     mCbHIDType->setCurrentIndex(iHIDTypePosition == -1 ? 0 : iHIDTypePosition);
    287     mCbApic->setChecked(systemData.m_fEnabledIoApic);
    288     mCbEFI->setChecked(systemData.m_fEnabledEFI);
    289     mCbTCUseUTC->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);
    290290
    291291    /* Load CPU data to page: */
    292     mSlCPU->setValue(systemData.m_cCPUCount);
    293     mSlCPUExecCap->setValue(systemData.m_iCPUExecCap);
    294     mCbPae->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);
    295295
    296296    /* Load acceleration data to page: */
    297         mCbVirt->setChecked(systemData.m_fEnabledHwVirtEx);
    298     mCbNestedPaging->setChecked(systemData.m_fEnabledNestedPaging);
     297    m_pCheckBoxVirtualization->setChecked(systemData.m_fEnabledHwVirtEx);
     298    m_pCheckBoxNestedPaging->setChecked(systemData.m_fEnabledNestedPaging);
    299299
    300300    /* Polish page finally: */
     
    314314
    315315    /* Gather motherboard data: */
    316     systemData.m_iRAMSize = mSlMemory->value();
     316    systemData.m_iRAMSize = m_pSliderMemorySize->value();
    317317    /* Gather boot-table data: */
    318318    systemData.m_bootItems.clear();
     
    326326    }
    327327    /* Gather other motherboard data: */
    328     systemData.m_chipsetType = (KChipsetType)mCbChipset->itemData(mCbChipset->currentIndex()).toInt();
    329     systemData.m_pointingHIDType = (KPointingHIDType)mCbHIDType->itemData(mCbHIDType->currentIndex()).toInt();
    330     systemData.m_fEnabledIoApic = mCbApic->isChecked() || mSlCPU->value() > 1 ||
    331                                   (KChipsetType)mCbChipset->itemData(mCbChipset->currentIndex()).toInt() == KChipsetType_ICH9;
    332     systemData.m_fEnabledEFI = mCbEFI->isChecked();
    333     systemData.m_fEnabledUTC = mCbTCUseUTC->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();
    334334
    335335    /* Gather CPU data: */
    336     systemData.m_cCPUCount = mSlCPU->value();
    337     systemData.m_iCPUExecCap = mSlCPUExecCap->value();
    338     systemData.m_fEnabledPAE = mCbPae->isChecked();
     336    systemData.m_cCPUCount = m_pSliderCPUCount->value();
     337    systemData.m_iCPUExecCap = m_pSliderCPUExecCap->value();
     338    systemData.m_fEnabledPAE = m_pCheckBoxPAE->isChecked();
    339339
    340340    /* Gather acceleration data: */
    341     systemData.m_fEnabledHwVirtEx = mCbVirt->checkState() == Qt::Checked || mSlCPU->value() > 1;
    342     systemData.m_fEnabledNestedPaging = mCbNestedPaging->isChecked();
     341    systemData.m_fEnabledHwVirtEx = m_pCheckBoxVirtualization->checkState() == Qt::Checked || m_pSliderCPUCount->value() > 1;
     342    systemData.m_fEnabledNestedPaging = m_pCheckBoxNestedPaging->isChecked();
    343343
    344344    /* Cache system data: */
     
    406406    /* Configure validation: */
    407407    m_pValidator = pValidator;
    408     connect(mCbChipset, SIGNAL(currentIndexChanged(int)), m_pValidator, SLOT(revalidate()));
    409     connect(mCbHIDType, SIGNAL(currentIndexChanged(int)), m_pValidator, SLOT(revalidate()));
    410     connect(mCbApic, SIGNAL(stateChanged(int)), m_pValidator, SLOT(revalidate()));
    411     connect(mCbVirt, 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()));
    412412}
    413413
     
    416416    /* RAM amount test: */
    417417    ulong uFullSize = vboxGlobal().host().GetMemorySize();
    418     if (mSlMemory->value() > (int)mSlMemory->maxRAMAlw())
     418    if (m_pSliderMemorySize->value() > (int)m_pSliderMemorySize->maxRAMAlw())
    419419    {
    420420        strWarning = tr(
     
    422422            "(<b>%2</b>) to the virtual machine. Not enough memory is left "
    423423            "for your host operating system. Please select a smaller amount.")
    424             .arg((unsigned)qRound((double)mSlMemory->maxRAMAlw() / uFullSize * 100.0))
     424            .arg((unsigned)qRound((double)m_pSliderMemorySize->maxRAMAlw() / uFullSize * 100.0))
    425425            .arg(vboxGlobal().formatSize((uint64_t)uFullSize * _1M));
    426426        return false;
    427427    }
    428     if (mSlMemory->value() > (int)mSlMemory->maxRAMOpt())
     428    if (m_pSliderMemorySize->value() > (int)m_pSliderMemorySize->maxRAMOpt())
    429429    {
    430430        strWarning = tr(
     
    432432            "(<b>%2</b>) to the virtual machine. There might not be enough memory "
    433433            "left for your host operating system. Continue at your own risk.")
    434             .arg((unsigned)qRound((double)mSlMemory->maxRAMOpt() / uFullSize * 100.0))
     434            .arg((unsigned)qRound((double)m_pSliderMemorySize->maxRAMOpt() / uFullSize * 100.0))
    435435            .arg(vboxGlobal().formatSize((uint64_t)uFullSize * _1M));
    436436        return true;
     
    439439    /* VCPU amount test: */
    440440    int cTotalCPUs = vboxGlobal().host().GetProcessorOnlineCount();
    441     if (mSlCPU->value() > 2 * cTotalCPUs)
     441    if (m_pSliderCPUCount->value() > 2 * cTotalCPUs)
    442442    {
    443443        strWarning = tr(
     
    448448        return false;
    449449    }
    450     if (mSlCPU->value() > cTotalCPUs)
     450    if (m_pSliderCPUCount->value() > cTotalCPUs)
    451451    {
    452452        strWarning = tr(
     
    460460
    461461    /* VCPU IO-APIC test: */
    462     if (mSlCPU->value() > 1 && !mCbApic->isChecked())
     462    if (m_pSliderCPUCount->value() > 1 && !m_pCheckBoxApic->isChecked())
    463463    {
    464464        strWarning = tr(
     
    471471
    472472    /* VCPU VT-x/AMD-V test: */
    473     if (mSlCPU->value() > 1 && !mCbVirt->isChecked())
     473    if (m_pSliderCPUCount->value() > 1 && !m_pCheckBoxVirtualization->isChecked())
    474474    {
    475475        strWarning = tr(
     
    482482
    483483    /* CPU execution cap is low: */
    484     if (mSlCPUExecCap->value() < (int)m_uMedGuestCPUExecCap)
     484    if (m_pSliderCPUExecCap->value() < (int)m_uMedGuestCPUExecCap)
    485485    {
    486486        strWarning = tr(
     
    491491
    492492    /* Chipset type & IO-APIC test: */
    493     if ((KChipsetType)mCbChipset->itemData(mCbChipset->currentIndex()).toInt() == KChipsetType_ICH9 && !mCbApic->isChecked())
     493    if ((KChipsetType)m_pComboChipsetType->itemData(m_pComboChipsetType->currentIndex()).toInt() == KChipsetType_ICH9 && !m_pCheckBoxApic->isChecked())
    494494    {
    495495        strWarning = tr(
     
    518518{
    519519    /* Motherboard tab-order: */
    520     setTabOrder(pWidget, mTwSystem->focusProxy());
    521     setTabOrder(mTwSystem->focusProxy(), mSlMemory);
    522     setTabOrder(mSlMemory, mLeMemory);
    523     setTabOrder(mLeMemory, 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);
    524524    setTabOrder(mTwBootOrder, mTbBootItemUp);
    525525    setTabOrder(mTbBootItemUp, mTbBootItemDown);
    526     setTabOrder(mTbBootItemDown, mCbChipset);
    527     setTabOrder(mCbChipset, mCbHIDType);
    528     setTabOrder(mCbHIDType, mCbApic);
    529     setTabOrder(mCbApic, mCbEFI);
    530     setTabOrder(mCbEFI, 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);
    531531
    532532    /* Processor tab-order: */
    533     setTabOrder(mCbTCUseUTC, mSlCPU);
    534     setTabOrder(mSlCPU, mLeCPU);
    535     setTabOrder(mLeCPU, mSlCPUExecCap);
    536     setTabOrder(mSlCPUExecCap, mLeCPUExecCap);
    537     setTabOrder(mLeCPUExecCap, 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);
    538538
    539539    /* Acceleration tab-order: */
    540     setTabOrder(mCbPae, mCbVirt);
    541     setTabOrder(mCbVirt, mCbNestedPaging);
     540    setTabOrder(m_pCheckBoxPAE, m_pCheckBoxVirtualization);
     541    setTabOrder(m_pCheckBoxVirtualization, m_pCheckBoxNestedPaging);
    542542}
    543543
     
    551551
    552552    /* Retranslate the memory slider legend: */
    553     mLbMemoryMin->setText(tr("<qt>%1&nbsp;MB</qt>").arg(mSlMemory->minRAM()));
    554     mLbMemoryMax->setText(tr("<qt>%1&nbsp;MB</qt>").arg(mSlMemory->maxRAM()));
     553    m_pLabelMemoryMin->setText(tr("<qt>%1&nbsp;MB</qt>").arg(m_pSliderMemorySize->minRAM()));
     554    m_pLabelMemoryMax->setText(tr("<qt>%1&nbsp;MB</qt>").arg(m_pSliderMemorySize->maxRAM()));
    555555
    556556    /* Retranslate the cpu slider legend: */
    557     mLbCPUMin->setText(tr("<qt>%1&nbsp;CPU</qt>", "%1 is 1 for now").arg(m_uMinGuestCPU));
    558     mLbCPUMax->setText(tr("<qt>%1&nbsp;CPUs</qt>", "%1 is host cpu count * 2 for now").arg(m_uMaxGuestCPU));
     557    m_pLabelCPUMin->setText(tr("<qt>%1&nbsp;CPU</qt>", "%1 is 1 for now").arg(m_uMinGuestCPU));
     558    m_pLabelCPUMax->setText(tr("<qt>%1&nbsp;CPUs</qt>", "%1 is host cpu count * 2 for now").arg(m_uMaxGuestCPU));
    559559
    560560    /* Retranslate the cpu cap slider legend: */
    561     mLbCPUExecCapMin->setText(tr("<qt>%1%</qt>", "Min CPU execution cap in %").arg(m_uMinGuestCPUExecCap));
    562     mLbCPUExecCapMax->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));
    563563
    564564    /* Retranslate combo-boxes: */
     
    569569void UIMachineSettingsSystem::valueChangedRAM(int iValue)
    570570{
    571     mLeMemory->setText(QString::number(iValue));
     571    m_pEditorMemorySize->setText(QString::number(iValue));
    572572}
    573573
    574574void UIMachineSettingsSystem::textChangedRAM(const QString &strText)
    575575{
    576     mSlMemory->setValue(strText.toInt());
     576    m_pSliderMemorySize->setValue(strText.toInt());
    577577}
    578578
     
    594594    mTwBootOrder->adjustSizeToFitContent();
    595595    /* Update the layout system */
    596     if (mTabMotherboard->layout())
    597     {
    598         mTabMotherboard->layout()->activate();
    599         mTabMotherboard->layout()->update();
     596    if (m_pTabMotherboard->layout())
     597    {
     598        m_pTabMotherboard->layout()->activate();
     599        m_pTabMotherboard->layout()->update();
    600600    }
    601601}
     
    606606    KPointingHIDType currentValue = KPointingHIDType_None;
    607607    {
    608         int iCurrentIndex = mCbHIDType->currentIndex();
     608        int iCurrentIndex = m_pComboPointingHIDType->currentIndex();
    609609        if (iCurrentIndex != -1)
    610             currentValue = (KPointingHIDType)mCbHIDType->itemData(iCurrentIndex).toInt();
     610            currentValue = (KPointingHIDType)m_pComboPointingHIDType->itemData(iCurrentIndex).toInt();
    611611    }
    612612
    613613    /* Clear combo: */
    614     mCbHIDType->clear();
     614    m_pComboPointingHIDType->clear();
    615615
    616616    /* Repopulate combo taking into account currently cached value: */
     
    618618    {
    619619        /* "PS/2 Mouse" value is always here: */
    620         mCbHIDType->addItem(gpConverter->toString(KPointingHIDType_PS2Mouse), (int)KPointingHIDType_PS2Mouse);
     620        m_pComboPointingHIDType->addItem(gpConverter->toString(KPointingHIDType_PS2Mouse), (int)KPointingHIDType_PS2Mouse);
    621621
    622622        /* "USB Mouse" value is here only if it is currently selected: */
    623623        if (cachedValue == KPointingHIDType_USBMouse)
    624             mCbHIDType->addItem(gpConverter->toString(KPointingHIDType_USBMouse), (int)KPointingHIDType_USBMouse);
     624            m_pComboPointingHIDType->addItem(gpConverter->toString(KPointingHIDType_USBMouse), (int)KPointingHIDType_USBMouse);
    625625
    626626        /* "USB Mouse/Tablet" value is always here: */
    627         mCbHIDType->addItem(gpConverter->toString(KPointingHIDType_USBTablet), (int)KPointingHIDType_USBTablet);
     627        m_pComboPointingHIDType->addItem(gpConverter->toString(KPointingHIDType_USBTablet), (int)KPointingHIDType_USBTablet);
    628628
    629629        /* "PS/2 and USB Mouse" value is here only if it is currently selected: */
    630630        if (cachedValue == KPointingHIDType_ComboMouse)
    631             mCbHIDType->addItem(gpConverter->toString(KPointingHIDType_ComboMouse), (int)KPointingHIDType_ComboMouse);
     631            m_pComboPointingHIDType->addItem(gpConverter->toString(KPointingHIDType_ComboMouse), (int)KPointingHIDType_ComboMouse);
    632632
    633633        /* "USB Multi-Touch Mouse/Tablet" value is always here: */
    634         mCbHIDType->addItem(gpConverter->toString(KPointingHIDType_USBMultiTouch), (int)KPointingHIDType_USBMultiTouch);
     634        m_pComboPointingHIDType->addItem(gpConverter->toString(KPointingHIDType_USBMultiTouch), (int)KPointingHIDType_USBMultiTouch);
    635635    }
    636636
     
    638638    if (currentValue != KPointingHIDType_None)
    639639    {
    640         int iPreviousIndex = mCbHIDType->findData((int)currentValue);
     640        int iPreviousIndex = m_pComboPointingHIDType->findData((int)currentValue);
    641641        if (iPreviousIndex != -1)
    642             mCbHIDType->setCurrentIndex(iPreviousIndex);
     642            m_pComboPointingHIDType->setCurrentIndex(iPreviousIndex);
    643643    }
    644644}
     
    646646void UIMachineSettingsSystem::valueChangedCPU(int iValue)
    647647{
    648     mLeCPU->setText(QString::number(iValue));
     648    m_pEditorCPUCount->setText(QString::number(iValue));
    649649}
    650650
    651651void UIMachineSettingsSystem::textChangedCPU(const QString &strText)
    652652{
    653     mSlCPU->setValue(strText.toInt());
     653    m_pSliderCPUCount->setValue(strText.toInt());
    654654}
    655655
    656656void UIMachineSettingsSystem::sltValueChangedCPUExecCap(int iValue)
    657657{
    658     mLeCPUExecCap->setText(QString::number(iValue));
     658    m_pEditorCPUExecCap->setText(QString::number(iValue));
    659659}
    660660
    661661void UIMachineSettingsSystem::sltTextChangedCPUExecCap(const QString &strText)
    662662{
    663     mSlCPUExecCap->setValue(strText.toInt());
     663    m_pSliderCPUExecCap->setValue(strText.toInt());
    664664}
    665665
     
    672672        KChipsetType type = (KChipsetType)iIndex;
    673673        /* Look for the corresponding item: */
    674         int iCorrespondingIndex = mCbChipset->findData((int)type);
     674        int iCorrespondingIndex = m_pComboChipsetType->findData((int)type);
    675675        /* Re-translate if corresponding item was found: */
    676676        if (iCorrespondingIndex != -1)
    677             mCbChipset->setItemText(iCorrespondingIndex, gpConverter->toString(type));
     677            m_pComboChipsetType->setItemText(iCorrespondingIndex, gpConverter->toString(type));
    678678    }
    679679}
     
    687687        KPointingHIDType type = (KPointingHIDType)iIndex;
    688688        /* Look for the corresponding item: */
    689         int iCorrespondingIndex = mCbHIDType->findData((int)type);
     689        int iCorrespondingIndex = m_pComboPointingHIDType->findData((int)type);
    690690        /* Re-translate if corresponding item was found: */
    691691        if (iCorrespondingIndex != -1)
    692             mCbHIDType->setItemText(iCorrespondingIndex, gpConverter->toString(type));
     692            m_pComboPointingHIDType->setItemText(iCorrespondingIndex, gpConverter->toString(type));
    693693    }
    694694}
     
    700700
    701701    /* Motherboard tab: */
    702     mLbMemory->setEnabled(isMachineOffline());
    703     mLbMemoryMin->setEnabled(isMachineOffline());
    704     mLbMemoryMax->setEnabled(isMachineOffline());
    705     mLbMemoryUnit->setEnabled(isMachineOffline());
    706     mSlMemory->setEnabled(isMachineOffline());
    707     mLeMemory->setEnabled(isMachineOffline());
    708     mLbBootOrder->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());
    709709    mTwBootOrder->setEnabled(isMachineOffline());
    710710    mTbBootItemUp->setEnabled(isMachineOffline() && mTwBootOrder->hasFocus() && mTwBootOrder->currentRow() > 0);
    711711    mTbBootItemDown->setEnabled(isMachineOffline() && mTwBootOrder->hasFocus() && (mTwBootOrder->currentRow() < mTwBootOrder->count() - 1));
    712     mLbChipset->setEnabled(isMachineOffline());
    713     mCbChipset->setEnabled(isMachineOffline());
    714     mLbHIDType->setEnabled(isMachineOffline());
    715     mCbHIDType->setEnabled(isMachineOffline());
    716     mLbMotherboardExtended->setEnabled(isMachineOffline());
    717     mCbApic->setEnabled(isMachineOffline());
    718     mCbEFI->setEnabled(isMachineOffline());
    719     mCbTCUseUTC->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());
    720720
    721721    /* Processor tab: */
    722     mLbCPU->setEnabled(isMachineOffline());
    723     mLbCPUMin->setEnabled(isMachineOffline());
    724     mLbCPUMax->setEnabled(isMachineOffline());
    725     mSlCPU->setEnabled(isMachineOffline() && systemData.m_fSupportedHwVirtEx);
    726     mLeCPU->setEnabled(isMachineOffline() && systemData.m_fSupportedHwVirtEx);
    727     mLbCPUExecCap->setEnabled(isMachineInValidMode());
    728     mLbCPUExecCapMin->setEnabled(isMachineInValidMode());
    729     mLbCPUExecCapMax->setEnabled(isMachineInValidMode());
    730     mSlCPUExecCap->setEnabled(isMachineInValidMode());
    731     mLeCPUExecCap->setEnabled(isMachineInValidMode());
    732     mLbProcessorExtended->setEnabled(isMachineOffline());
    733     mCbPae->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);
    734734
    735735    /* Acceleration tab: */
    736     mTwSystem->setTabEnabled(2, systemData.m_fSupportedHwVirtEx);
    737     mLbVirt->setEnabled(isMachineOffline());
    738     mCbVirt->setEnabled(isMachineOffline());
    739     mCbNestedPaging->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());
    740740}
    741741
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsSystem.ui

    r47269 r47270  
    2323   </rect>
    2424  </property>
    25   <layout class="QVBoxLayout" name="mLtMain">
     25  <layout class="QVBoxLayout">
    2626   <item>
    27     <widget class="QITabWidget" name="mTwSystem">
     27    <widget class="QITabWidget" name="m_pTabWidgetSystem">
    2828     <property name="currentIndex">
    2929      <number>0</number>
    3030     </property>
    31      <widget class="QWidget" name="mTabMotherboard">
     31     <widget class="QWidget" name="m_pTabMotherboard">
    3232      <attribute name="title">
    3333       <string>&amp;Motherboard</string>
    3434      </attribute>
    35       <layout class="QGridLayout" name="mLtMotherboard">
     35      <layout class="QGridLayout">
    3636       <item row="0" column="0">
    37         <widget class="QLabel" name="mLbMemory">
     37        <widget class="QLabel" name="m_pLabelMemorySize">
    3838         <property name="sizePolicy">
    3939          <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
     
    4949         </property>
    5050         <property name="buddy">
    51           <cstring>mLeMemory</cstring>
     51          <cstring>m_pEditorMemorySize</cstring>
    5252         </property>
    5353        </widget>
    5454       </item>
    5555       <item row="0" column="1" rowspan="2" colspan="2">
    56         <layout class="QVBoxLayout" name="mLtMemorySlider">
     56        <layout class="QVBoxLayout">
    5757         <property name="spacing">
    5858          <number>0</number>
    5959         </property>
    6060         <item>
    61           <widget class="VBoxGuestRAMSlider" name="mSlMemory">
     61          <widget class="VBoxGuestRAMSlider" name="m_pSliderMemorySize">
    6262           <property name="whatsThis">
    6363            <string>Controls the amount of memory provided to the virtual machine. If you assign too much, the machine might not start.</string>
     
    6969         </item>
    7070         <item>
    71           <layout class="QHBoxLayout" name="mLtMemoryLegend">
     71          <layout class="QHBoxLayout">
    7272           <property name="spacing">
    7373            <number>0</number>
    7474           </property>
    7575           <item>
    76             <widget class="QLabel" name="mLbMemoryMin">
     76            <widget class="QLabel" name="m_pLabelMemoryMin">
    7777             <property name="sizePolicy">
    7878              <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
     
    8484           </item>
    8585           <item>
    86             <spacer name="mSpHor1">
     86            <spacer name="m_pSpacerHorizontal1">
    8787             <property name="orientation">
    8888              <enum>Qt::Horizontal</enum>
     
    9797           </item>
    9898           <item>
    99             <widget class="QLabel" name="mLbMemoryMax">
     99            <widget class="QLabel" name="m_pLabelMemoryMax">
    100100             <property name="sizePolicy">
    101101              <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
     
    114114       </item>
    115115       <item row="0" column="3">
    116         <layout class="QHBoxLayout" name="mLtMemoryUnits">
    117          <item>
    118           <widget class="QILineEdit" name="mLeMemory">
     116        <layout class="QHBoxLayout">
     117         <item>
     118          <widget class="QILineEdit" name="m_pEditorMemorySize">
    119119           <property name="sizePolicy">
    120120            <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
     
    129129         </item>
    130130         <item>
    131           <widget class="QLabel" name="mLbMemoryUnit">
     131          <widget class="QLabel" name="m_pLabelMemoryUnits">
    132132           <property name="sizePolicy">
    133133            <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
     
    144144       </item>
    145145       <item row="2" column="0">
    146         <widget class="QLabel" name="mLbBootOrder">
     146        <widget class="QLabel" name="m_pLabelBootOrder">
    147147         <property name="sizePolicy">
    148148          <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
     
    163163       </item>
    164164       <item row="2" column="1" rowspan="2" colspan="2">
    165         <layout class="QHBoxLayout" name="mLtBootOrder">
     165        <layout class="QHBoxLayout" name="m_pLayoutBootOrder">
    166166         <property name="spacing">
    167167          <number>1</number>
     
    252252           </item>
    253253           <item>
    254             <spacer name="mSpVer2">
     254            <spacer name="m_pSpacerVertical1">
    255255             <property name="orientation">
    256256              <enum>Qt::Vertical</enum>
     
    267267         </item>
    268268         <item>
    269           <spacer name="mSpHor2">
     269          <spacer name="m_pSpacerHorizontal2">
    270270           <property name="orientation">
    271271            <enum>Qt::Horizontal</enum>
     
    282282       </item>
    283283       <item row="4" column="0">
    284         <widget class="QLabel" name="mLbChipset">
     284        <widget class="QLabel" name="m_pLabelChipsetType">
    285285         <property name="sizePolicy">
    286286          <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
     
    296296         </property>
    297297         <property name="buddy">
    298           <cstring>mCbChipset</cstring>
     298          <cstring>m_pComboChipsetType</cstring>
    299299         </property>
    300300        </widget>
    301301       </item>
    302302       <item row="4" column="1" colspan="3">
    303         <layout class="QHBoxLayout" name="mLtChipset">
    304          <item>
    305           <widget class="QComboBox" name="mCbChipset">
     303        <layout class="QHBoxLayout">
     304         <item>
     305          <widget class="QComboBox" name="m_pComboChipsetType">
    306306           <property name="sizePolicy">
    307307            <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
     
    316316         </item>
    317317         <item>
    318           <spacer name="mSpHor3">
     318          <spacer name="m_pSpacerHorizontal3">
    319319           <property name="orientation">
    320320            <enum>Qt::Horizontal</enum>
     
    331331       </item>
    332332       <item row="5" column="0">
    333         <widget class="QLabel" name="mLbHIDType">
     333        <widget class="QLabel" name="m_pLabelPointingHIDType">
    334334         <property name="sizePolicy">
    335335          <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
     
    345345         </property>
    346346         <property name="buddy">
    347           <cstring>mCbHIDType</cstring>
     347          <cstring>m_pComboPointingHIDType</cstring>
    348348         </property>
    349349        </widget>
    350350       </item>
    351351       <item row="5" column="1" colspan="3">
    352         <layout class="QHBoxLayout" name="mLtHIDType">
    353          <item>
    354           <widget class="QComboBox" name="mCbHIDType" >
     352        <layout class="QHBoxLayout">
     353         <item>
     354          <widget class="QComboBox" name="m_pComboPointingHIDType" >
    355355           <property name="sizePolicy" >
    356356            <sizepolicy vsizetype="Fixed" hsizetype="Minimum" >
     
    365365         </item>
    366366         <item>
    367           <spacer name="mSpHor4">
     367          <spacer name="m_pSpacerHorizontal4">
    368368           <property name="orientation">
    369369            <enum>Qt::Horizontal</enum>
     
    380380       </item>
    381381       <item row="6" column="0">
    382         <widget class="QLabel" name="mLbMotherboardExtended">
     382        <widget class="QLabel" name="m_pLabelMotherboardExtended">
    383383         <property name="sizePolicy">
    384384          <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
     
    396396       </item>
    397397       <item row="6" column="1" colspan="3">
    398         <widget class="QCheckBox" name="mCbApic">
     398        <widget class="QCheckBox" name="m_pCheckBoxApic">
    399399         <property name="sizePolicy">
    400400          <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
     
    412412       </item>
    413413       <item row="7" column="1" colspan="3">
    414         <widget class="QCheckBox" name="mCbEFI">
     414        <widget class="QCheckBox" name="m_pCheckBoxEFI">
    415415         <property name="sizePolicy">
    416416          <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
     
    428428       </item>
    429429       <item row="8" column="1" colspan="3">
    430         <widget class="QCheckBox" name="mCbTCUseUTC" >
     430        <widget class="QCheckBox" name="m_pCheckBoxUseUTC" >
    431431         <property name="sizePolicy" >
    432432          <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
     
    444444       </item>
    445445       <item row="9" column="0" colspan="4">
    446         <spacer name="mSpVer1">
     446        <spacer name="m_pSpacerVertical2">
    447447         <property name="orientation">
    448448          <enum>Qt::Vertical</enum>
     
    458458      </layout>
    459459     </widget>
    460      <widget class="QWidget" name="mTabProcessor">
     460     <widget class="QWidget" name="m_pTabCPU">
    461461      <attribute name="title">
    462462       <string>&amp;Processor</string>
    463463      </attribute>
    464       <layout class="QGridLayout" name="mLtProcessor">
     464      <layout class="QGridLayout">
    465465       <item row="0" column="0">
    466         <widget class="QLabel" name="mLbCPU">
     466        <widget class="QLabel" name="m_pLabelCPUCount">
    467467         <property name="sizePolicy">
    468468          <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
     
    478478         </property>
    479479         <property name="buddy">
    480           <cstring>mLeCPU</cstring>
     480          <cstring>m_pEditorCPUCount</cstring>
    481481         </property>
    482482        </widget>
    483483       </item>
    484484       <item row="0" column="1" rowspan="2">
    485         <layout class="QVBoxLayout" name="mLtCPUSlider">
     485        <layout class="QVBoxLayout">
    486486         <property name="spacing">
    487487          <number>0</number>
    488488         </property>
    489489         <item>
    490           <widget class="QIAdvancedSlider" name="mSlCPU">
     490          <widget class="QIAdvancedSlider" name="m_pSliderCPUCount">
    491491           <property name="whatsThis">
    492492            <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>
     
    507507         </item>
    508508         <item>
    509           <layout class="QHBoxLayout" name="mLtCPULegend">
     509          <layout class="QHBoxLayout">
    510510           <property name="spacing">
    511511            <number>0</number>
    512512           </property>
    513513           <item>
    514             <widget class="QLabel" name="mLbCPUMin">
     514            <widget class="QLabel" name="m_pLabelCPUMin">
    515515             <property name="sizePolicy">
    516516              <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
     
    522522           </item>
    523523           <item>
    524             <spacer name="mSpHor5">
     524            <spacer name="m_pSpacerHorizontal5">
    525525             <property name="orientation">
    526526              <enum>Qt::Horizontal</enum>
     
    535535           </item>
    536536           <item>
    537             <widget class="QLabel" name="mLbCPUMax">
     537            <widget class="QLabel" name="m_pLabelCPUMax">
    538538             <property name="sizePolicy">
    539539              <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
     
    552552       </item>
    553553       <item row="0" column="2">
    554         <widget class="QILineEdit" name="mLeCPU">
     554        <widget class="QILineEdit" name="m_pEditorCPUCount">
    555555         <property name="sizePolicy">
    556556          <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
     
    565565       </item>
    566566       <item row="2" column="0">
    567         <widget class="QLabel" name="mLbCPUExecCap">
     567        <widget class="QLabel" name="m_pLabelCPUExecCap">
    568568         <property name="sizePolicy">
    569569          <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
     
    579579         </property>
    580580         <property name="buddy">
    581           <cstring>mLeCPUExecCap</cstring>
     581          <cstring>m_pEditorCPUExecCap</cstring>
    582582         </property>
    583583        </widget>
    584584       </item>
    585585       <item row="2" column="1" rowspan="2">
    586         <layout class="QVBoxLayout" name="mLtCPUExecCapSlider">
     586        <layout class="QVBoxLayout">
    587587         <property name="spacing">
    588588          <number>0</number>
    589589         </property>
    590590         <item>
    591           <widget class="QIAdvancedSlider" name="mSlCPUExecCap">
     591          <widget class="QIAdvancedSlider" name="m_pSliderCPUExecCap">
    592592           <property name="whatsThis">
    593593            <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>
     
    608608         </item>
    609609         <item>
    610           <layout class="QHBoxLayout" name="mLtCPUExecCapLegend">
     610          <layout class="QHBoxLayout">
    611611           <property name="spacing">
    612612            <number>0</number>
    613613           </property>
    614614           <item>
    615             <widget class="QLabel" name="mLbCPUExecCapMin">
     615            <widget class="QLabel" name="m_pLabelCPUExecCapMin">
    616616             <property name="sizePolicy">
    617617              <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
     
    623623           </item>
    624624           <item>
    625             <spacer name="mSpHor6">
     625            <spacer name="m_pSpacerHorizontal6">
    626626             <property name="orientation">
    627627              <enum>Qt::Horizontal</enum>
     
    636636           </item>
    637637           <item>
    638             <widget class="QLabel" name="mLbCPUExecCapMax">
     638            <widget class="QLabel" name="m_pLabelCPUExecCapMax">
    639639             <property name="sizePolicy">
    640640              <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
     
    653653       </item>
    654654       <item row="2" column="2">
    655         <widget class="QILineEdit" name="mLeCPUExecCap">
     655        <widget class="QILineEdit" name="m_pEditorCPUExecCap">
    656656         <property name="sizePolicy">
    657657          <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
     
    666666       </item>
    667667       <item row="4" column="0">
    668         <widget class="QLabel" name="mLbProcessorExtended">
     668        <widget class="QLabel" name="m_pLabelCPUExtended">
    669669         <property name="text">
    670670          <string>Extended Features:</string>
     
    676676       </item>
    677677       <item row="4" column="1" colspan="2">
    678         <widget class="QCheckBox" name="mCbPae">
     678        <widget class="QCheckBox" name="m_pCheckBoxPAE">
    679679         <property name="sizePolicy">
    680680          <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
     
    692692       </item>
    693693       <item row="5" column="0" colspan="3">
    694         <spacer name="mSpVer3">
     694        <spacer name="m_pSpacerVertical3">
    695695         <property name="orientation">
    696696          <enum>Qt::Vertical</enum>
     
    706706      </layout>
    707707     </widget>
    708      <widget class="QWidget" name="mTabAcceleration">
     708     <widget class="QWidget" name="m_pTabAcceleration">
    709709      <attribute name="title">
    710710       <string>Acce&amp;leration</string>
    711711      </attribute>
    712       <layout class="QGridLayout" name="mLtAcceleration">
     712      <layout class="QGridLayout">
    713713       <item row="0" column="0">
    714         <widget class="QLabel" name="mLbVirt">
     714        <widget class="QLabel" name="m_pLabelVirtualization">
    715715         <property name="text">
    716716          <string>Hardware Virtualization:</string>
     
    719719       </item>
    720720       <item row="0" column="1">
    721         <widget class="QCheckBox" name="mCbVirt">
     721        <widget class="QCheckBox" name="m_pCheckBoxVirtualization">
    722722         <property name="sizePolicy">
    723723          <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
     
    738738       </item>
    739739       <item row="1" column="1">
    740         <widget class="QCheckBox" name="mCbNestedPaging">
     740        <widget class="QCheckBox" name="m_pCheckBoxNestedPaging">
    741741         <property name="sizePolicy">
    742742          <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
     
    757757       </item>
    758758       <item row="2" column="0" colspan="2">
    759         <spacer name="verticalSpacer">
     759        <spacer name="m_pSpacerVertical4">
    760760         <property name="orientation">
    761761          <enum>Qt::Vertical</enum>
     
    763763         <property name="sizeHint" stdset="0">
    764764          <size>
    765            <width>20</width>
    766            <height>40</height>
     765           <width>0</width>
     766           <height>0</height>
    767767          </size>
    768768         </property>
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette