VirtualBox

Ignore:
Timestamp:
Jun 10, 2013 3:50:12 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
86316
Message:

FE/Qt: VM settings: Display page: Video tab: Overall cleanup (part 5): Renaming corresponding stuff.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsDisplay.cpp

    r46461 r46473  
    7575bool UIMachineSettingsDisplay::isAcceleration2DVideoSelected() const
    7676{
    77     return mCb2DVideo->isChecked();
     77    return m_pCheckbox2DVideo->isChecked();
    7878}
    7979#endif /* VBOX_WITH_VIDEOHWACCEL */
     
    140140
    141141    /* Load Video data to page: */
    142     m_pSliderScreeens->setValue(displayData.m_cGuestScreenCount);
    143     mCb3D->setChecked(displayData.m_f3dAccelerationEnabled);
    144 #ifdef VBOX_WITH_VIDEOHWACCEL
    145     mCb2DVideo->setChecked(displayData.m_f2dAccelerationEnabled);
     142    m_pSliderVideoScreenCount->setValue(displayData.m_cGuestScreenCount);
     143    m_pCheckbox3D->setChecked(displayData.m_f3dAccelerationEnabled);
     144#ifdef VBOX_WITH_VIDEOHWACCEL
     145    m_pCheckbox2DVideo->setChecked(displayData.m_f2dAccelerationEnabled);
    146146#endif /* VBOX_WITH_VIDEOHWACCEL */
    147147    checkVRAMRequirements();
    148     m_pSliderMemory->setValue(displayData.m_iCurrentVRAM);
     148    m_pSliderVideoMemorySize->setValue(displayData.m_iCurrentVRAM);
    149149
    150150    /* If Remote Display server is supported: */
     
    184184
    185185    /* Gather Video data from page: */
    186     displayData.m_iCurrentVRAM = m_pSliderMemory->value();
    187     displayData.m_cGuestScreenCount = m_pSliderScreeens->value();
    188     displayData.m_f3dAccelerationEnabled = mCb3D->isChecked();
    189 #ifdef VBOX_WITH_VIDEOHWACCEL
    190     displayData.m_f2dAccelerationEnabled = mCb2DVideo->isChecked();
     186    displayData.m_iCurrentVRAM = m_pSliderVideoMemorySize->value();
     187    displayData.m_cGuestScreenCount = m_pSliderVideoScreenCount->value();
     188    displayData.m_f3dAccelerationEnabled = m_pCheckbox3D->isChecked();
     189#ifdef VBOX_WITH_VIDEOHWACCEL
     190    displayData.m_f2dAccelerationEnabled = m_pCheckbox2DVideo->isChecked();
    191191#endif /* VBOX_WITH_VIDEOHWACCEL */
    192192
     
    275275{
    276276    m_pValidator = pValidator;
    277     connect(mCb3D, SIGNAL(stateChanged(int)), m_pValidator, SLOT(revalidate()));
    278 #ifdef VBOX_WITH_VIDEOHWACCEL
    279     connect(mCb2DVideo, SIGNAL(stateChanged(int)), m_pValidator, SLOT(revalidate()));
     277    connect(m_pCheckbox3D, SIGNAL(stateChanged(int)), m_pValidator, SLOT(revalidate()));
     278#ifdef VBOX_WITH_VIDEOHWACCEL
     279    connect(m_pCheckbox2DVideo, SIGNAL(stateChanged(int)), m_pValidator, SLOT(revalidate()));
    280280#endif /* VBOX_WITH_VIDEOHWACCEL */
    281281    connect(m_pCheckboxRemoteDisplay, SIGNAL(toggled(bool)), m_pValidator, SLOT(revalidate()));
     
    289289    checkVRAMRequirements();
    290290
    291     if (mCb3D->isChecked() && !vboxGlobal().is3DAvailable())
     291    if (m_pCheckbox3D->isChecked() && !vboxGlobal().is3DAvailable())
    292292    {
    293293        strWarning = tr("you enabled 3D acceleration. However, 3D acceleration is not "
     
    300300    if (shouldWeWarnAboutLowVideoMemory() && !m_guestOSType.isNull())
    301301    {
    302         quint64 uNeedBytes = VBoxGlobal::requiredVideoMemory(m_guestOSType.GetId(), m_pSliderScreeens->value());
     302        quint64 uNeedBytes = VBoxGlobal::requiredVideoMemory(m_guestOSType.GetId(), m_pSliderVideoScreenCount->value());
    303303
    304304        /* Basic video RAM amount test: */
    305         if ((quint64)m_pSliderMemory->value() * _1M < uNeedBytes)
     305        if ((quint64)m_pSliderVideoMemorySize->value() * _1M < uNeedBytes)
    306306        {
    307307            strWarning = tr("you have assigned less than <b>%1</b> of video memory which is "
     
    313313#ifdef VBOX_WITH_VIDEOHWACCEL
    314314        /* 2D acceleration video RAM amount test: */
    315         if (mCb2DVideo->isChecked() && m_f2DVideoAccelerationSupported)
     315        if (m_pCheckbox2DVideo->isChecked() && m_f2DVideoAccelerationSupported)
    316316        {
    317317            uNeedBytes += VBoxGlobal::required2DOffscreenVideoMemory();
    318             if ((quint64)m_pSliderMemory->value() * _1M < uNeedBytes)
     318            if ((quint64)m_pSliderVideoMemorySize->value() * _1M < uNeedBytes)
    319319            {
    320320                strWarning = tr("you have assigned less than <b>%1</b> of video memory which is "
     
    327327#if 0
    328328# ifdef VBOX_WITH_CRHGSMI
    329         if (mCb3D->isChecked() && m_fWddmModeSupported)
     329        if (m_pCheckbox3D->isChecked() && m_fWddmModeSupported)
    330330        {
    331             int cGuestScreenCount = m_pSliderScreeens->value();
     331            int cGuestScreenCount = m_pSliderVideoScreenCount->value();
    332332            uNeedBytes += VBoxGlobal::required3DWddmOffscreenVideoMemory(m_guestOSType.GetId(), cGuestScreenCount);
    333             uNeedBytes = RT_MAX(uNeedBytes, 128 * _1M);
    334             uNeedBytes = RT_MIN(uNeedBytes, 256 * _1M);
    335             if ((quint64)m_pSliderMemory->value() * _1M < uNeedBytes)
     333            uNeedBytes = qMax(uNeedBytes, 128 * _1M);
     334            uNeedBytes = qMin(uNeedBytes, 256 * _1M);
     335            if ((quint64)m_pEditorVideoMemorySize->value() * _1M < uNeedBytes)
    336336            {
    337337                strWarning = tr("you have 3D Acceleration enabled for a operation system which uses the WDDM video driver. "
     
    348348#ifdef VBOX_WITH_VIDEOHWACCEL
    349349    /* 2D video acceleration is available for Windows guests only: */
    350     if (mCb2DVideo->isChecked() && !m_f2DVideoAccelerationSupported)
     350    if (m_pCheckbox2DVideo->isChecked() && !m_f2DVideoAccelerationSupported)
    351351    {
    352352        strWarning = tr("you have 2D Video Acceleration enabled. As 2D Video Acceleration "
     
    363363    /* Video tab-order */
    364364    setTabOrder(pWidget, m_pTabWidget->focusProxy());
    365     setTabOrder(m_pTabWidget->focusProxy(), m_pSliderMemory);
    366     setTabOrder(m_pSliderMemory, m_pEditorMemory);
    367     setTabOrder(m_pEditorMemory, m_pSliderScreeens);
    368     setTabOrder(m_pSliderScreeens, m_pEditorScreens);
    369     setTabOrder(m_pEditorScreens, mCb3D);
    370 #ifdef VBOX_WITH_VIDEOHWACCEL
    371     setTabOrder(mCb3D, mCb2DVideo);
    372     setTabOrder(mCb2DVideo, m_pCheckboxRemoteDisplay);
     365    setTabOrder(m_pTabWidget->focusProxy(), m_pSliderVideoMemorySize);
     366    setTabOrder(m_pSliderVideoMemorySize, m_pEditorVideoMemorySize);
     367    setTabOrder(m_pEditorVideoMemorySize, m_pSliderVideoScreenCount);
     368    setTabOrder(m_pSliderVideoScreenCount, m_pEditorVideoScreenCount);
     369    setTabOrder(m_pEditorVideoScreenCount, m_pCheckbox3D);
     370#ifdef VBOX_WITH_VIDEOHWACCEL
     371    setTabOrder(m_pCheckbox3D, m_pCheckbox2DVideo);
     372    setTabOrder(m_pCheckbox2DVideo, m_pCheckboxRemoteDisplay);
    373373#else /* VBOX_WITH_VIDEOHWACCEL */
    374     setTabOrder(mCb3D, m_pCheckboxRemoteDisplay);
     374    setTabOrder(m_pCheckbox3D, m_pCheckboxRemoteDisplay);
    375375#endif /* !VBOX_WITH_VIDEOHWACCEL */
    376376
     
    400400    /* Video stuff: */
    401401    CSystemProperties sys = vboxGlobal().virtualBox().GetSystemProperties();
    402     m_pLabelMemoryMin->setText(tr("<qt>%1&nbsp;MB</qt>").arg(m_iMinVRAM));
    403     m_pLabelMemoryMax->setText(tr("<qt>%1&nbsp;MB</qt>").arg(m_iMaxVRAMVisible));
    404     m_pLabelScreensMin->setText(tr("<qt>%1</qt>").arg(1));
    405     m_pLabelScreensMax->setText(tr("<qt>%1</qt>").arg(sys.GetMaxGuestMonitors()));
     402    m_pLabelVideoMemorySizeMin->setText(tr("<qt>%1&nbsp;MB</qt>").arg(m_iMinVRAM));
     403    m_pLabelVideoMemorySizeMax->setText(tr("<qt>%1&nbsp;MB</qt>").arg(m_iMaxVRAMVisible));
     404    m_pLabelVideoScreenCountMin->setText(tr("<qt>%1</qt>").arg(1));
     405    m_pLabelVideoScreenCountMax->setText(tr("<qt>%1</qt>").arg(sys.GetMaxGuestMonitors()));
    406406
    407407    /* Remote Display stuff: */
     
    429429    m_pContainerVideo->setEnabled(isMachineOffline());
    430430#ifdef VBOX_WITH_VIDEOHWACCEL
    431     mCb2DVideo->setEnabled(VBoxGlobal::isAcceleration2DVideoAvailable());
     431    m_pCheckbox2DVideo->setEnabled(VBoxGlobal::isAcceleration2DVideoAvailable());
    432432#endif /* VBOX_WITH_VIDEOHWACCEL */
    433433
     
    446446void UIMachineSettingsDisplay::sltValueChangedVRAM(int iValue)
    447447{
    448     m_pEditorMemory->setText(QString::number(iValue));
     448    m_pEditorVideoMemorySize->setText(QString::number(iValue));
    449449}
    450450
    451451void UIMachineSettingsDisplay::sltTextChangedVRAM(const QString &strText)
    452452{
    453     m_pSliderMemory->setValue(strText.toInt());
     453    m_pSliderVideoMemorySize->setValue(strText.toInt());
    454454}
    455455
    456456void UIMachineSettingsDisplay::sltValueChangedScreens(int iValue)
    457457{
    458     m_pEditorScreens->setText(QString::number(iValue));
     458    m_pEditorVideoScreenCount->setText(QString::number(iValue));
    459459    checkVRAMRequirements();
    460460}
     
    462462void UIMachineSettingsDisplay::sltTextChangedScreens(const QString &strText)
    463463{
    464     m_pSliderScreeens->setValue(strText.toInt());
     464    m_pSliderVideoScreenCount->setValue(strText.toInt());
    465465}
    466466
     
    554554void UIMachineSettingsDisplay::prepareVideoTab()
    555555{
    556     /* Prepare variables: */
     556    /* Prepare memory-size slider: */
    557557    CSystemProperties sys = vboxGlobal().virtualBox().GetSystemProperties();
    558558    m_iMinVRAM = sys.GetMinGuestVRAM();
     
    568568
    569569    /* Setup validators: */
    570     m_pEditorMemory->setValidator(new QIntValidator(m_iMinVRAM, m_iMaxVRAMVisible, this));
    571     m_pEditorScreens->setValidator(new QIntValidator(cMinGuestScreens, cMaxGuestScreens, this));
     570    m_pEditorVideoMemorySize->setValidator(new QIntValidator(m_iMinVRAM, m_iMaxVRAMVisible, this));
     571    m_pEditorVideoScreenCount->setValidator(new QIntValidator(cMinGuestScreens, cMaxGuestScreens, this));
     572
     573    /* Setup connections: */
     574    connect(m_pSliderVideoMemorySize, SIGNAL(valueChanged(int)), this, SLOT(sltValueChangedVRAM(int)));
     575    connect(m_pEditorVideoMemorySize, SIGNAL(textChanged(const QString&)), this, SLOT(sltTextChangedVRAM(const QString&)));
     576    connect(m_pSliderVideoScreenCount, SIGNAL(valueChanged(int)), this, SLOT(sltValueChangedScreens(int)));
     577    connect(m_pEditorVideoScreenCount, SIGNAL(textChanged(const QString&)), this, SLOT(sltTextChangedScreens(const QString&)));
     578
     579    /* Setup widgets: */
     580    m_pSliderVideoMemorySize->setPageStep(calcPageStep(m_iMaxVRAMVisible));
     581    m_pSliderVideoMemorySize->setSingleStep(m_pSliderVideoMemorySize->pageStep() / 4);
     582    m_pSliderVideoMemorySize->setTickInterval(m_pSliderVideoMemorySize->pageStep());
     583    m_pSliderVideoScreenCount->setPageStep(1);
     584    m_pSliderVideoScreenCount->setSingleStep(1);
     585    m_pSliderVideoScreenCount->setTickInterval(1);
     586
     587    /* Setup the scale so that ticks are at page step boundaries: */
     588    m_pSliderVideoMemorySize->setMinimum((m_iMinVRAM / m_pSliderVideoMemorySize->pageStep()) * m_pSliderVideoMemorySize->pageStep());
     589    m_pSliderVideoMemorySize->setMaximum(m_iMaxVRAMVisible);
     590    m_pSliderVideoMemorySize->setSnappingEnabled(true);
     591    m_pSliderVideoMemorySize->setErrorHint(0, 1);
     592    m_pSliderVideoScreenCount->setMinimum(cMinGuestScreens);
     593    m_pSliderVideoScreenCount->setMaximum(cMaxGuestScreens);
     594    m_pSliderVideoScreenCount->setErrorHint(0, cMinGuestScreens);
     595    m_pSliderVideoScreenCount->setOptimalHint(cMinGuestScreens, cHostScreens);
     596    m_pSliderVideoScreenCount->setWarningHint(cHostScreens, cMaxGuestScreens);
     597
     598    /* Limit min/max. size of QLineEdit: */
     599    m_pEditorVideoMemorySize->setFixedWidthByText(QString().fill('8', 4));
     600    m_pEditorVideoScreenCount->setFixedWidthByText(QString().fill('8', 4));
     601
     602    /* Ensure value and validation is updated: */
     603    sltValueChangedVRAM(m_pSliderVideoMemorySize->value());
     604    sltValueChangedScreens(m_pSliderVideoScreenCount->value());
     605
     606#ifndef VBOX_WITH_VIDEOHWACCEL
     607    /* Hide check-box if not supported: */
     608    m_pCheckbox2DVideo->setVisible(false);
     609#endif /* VBOX_WITH_VIDEOHWACCEL */
     610}
     611
     612void UIMachineSettingsDisplay::prepareRemoteDisplayTab()
     613{
     614    /* Setup validators: */
    572615    m_pEditorRemoteDisplayPort->setValidator(new QRegExpValidator(QRegExp("(([0-9]{1,5}(\\-[0-9]{1,5}){0,1}),)*([0-9]{1,5}(\\-[0-9]{1,5}){0,1})"), this));
    573616    m_pEditorRemoteDisplayTimeout->setValidator(new QIntValidator(this));
    574617
    575     /* Setup connections: */
    576     connect(m_pSliderMemory, SIGNAL(valueChanged(int)), this, SLOT(sltValueChangedVRAM(int)));
    577     connect(m_pEditorMemory, SIGNAL(textChanged(const QString&)), this, SLOT(sltTextChangedVRAM(const QString&)));
    578     connect(m_pSliderScreeens, SIGNAL(valueChanged(int)), this, SLOT(sltValueChangedScreens(int)));
    579     connect(m_pEditorScreens, SIGNAL(textChanged(const QString&)), this, SLOT(sltTextChangedScreens(const QString&)));
    580 
    581     /* Setup widgets: */
    582     m_pSliderMemory->setPageStep(calcPageStep(m_iMaxVRAMVisible));
    583     m_pSliderMemory->setSingleStep(m_pSliderMemory->pageStep() / 4);
    584     m_pSliderMemory->setTickInterval(m_pSliderMemory->pageStep());
    585     m_pSliderScreeens->setPageStep(1);
    586     m_pSliderScreeens->setSingleStep(1);
    587     m_pSliderScreeens->setTickInterval(1);
    588 
    589     /* Setup the scale so that ticks are at page step boundaries: */
    590     m_pSliderMemory->setMinimum((m_iMinVRAM / m_pSliderMemory->pageStep()) * m_pSliderMemory->pageStep());
    591     m_pSliderMemory->setMaximum(m_iMaxVRAMVisible);
    592     m_pSliderMemory->setSnappingEnabled(true);
    593     m_pSliderMemory->setErrorHint(0, 1);
    594     m_pSliderScreeens->setMinimum(cMinGuestScreens);
    595     m_pSliderScreeens->setMaximum(cMaxGuestScreens);
    596     m_pSliderScreeens->setErrorHint(0, cMinGuestScreens);
    597     m_pSliderScreeens->setOptimalHint(cMinGuestScreens, cHostScreens);
    598     m_pSliderScreeens->setWarningHint(cHostScreens, cMaxGuestScreens);
    599 
    600     /* Limit min/max. size of QLineEdit: */
    601     m_pEditorMemory->setFixedWidthByText(QString().fill('8', 4));
    602     m_pEditorScreens->setFixedWidthByText(QString().fill('8', 4));
    603 
    604     /* Ensure value and validation is updated: */
    605     sltValueChangedVRAM(m_pSliderMemory->value());
    606     sltValueChangedScreens(m_pSliderScreeens->value());
    607 
    608 #ifndef VBOX_WITH_VIDEOHWACCEL
    609     /* Hide check-box if not supported: */
    610     mCb2DVideo->setVisible(false);
    611 #endif /* VBOX_WITH_VIDEOHWACCEL */
    612 }
    613 
    614 void UIMachineSettingsDisplay::prepareRemoteDisplayTab()
    615 {
    616618    /* Prepare auth-method combo: */
    617619    m_pComboRemoteDisplayAuthMethod->insertItem(0, ""); /* KAuthType_Null */
     
    697699
    698700    /* Get monitors count and base video memory requirements: */
    699     int cGuestScreenCount = m_pSliderScreeens->value();
     701    int cGuestScreenCount = m_pSliderVideoScreenCount->value();
    700702    quint64 uNeedMBytes = VBoxGlobal::requiredVideoMemory(m_guestOSType.GetId(), cGuestScreenCount) / _1M;
    701703
     
    708710
    709711#ifdef VBOX_WITH_VIDEOHWACCEL
    710     if (mCb2DVideo->isChecked() && m_f2DVideoAccelerationSupported)
     712    if (m_pCheckbox2DVideo->isChecked() && m_f2DVideoAccelerationSupported)
    711713    {
    712714        uNeedMBytes += VBoxGlobal::required2DOffscreenVideoMemory() / _1M;
     
    714716#endif /* VBOX_WITH_VIDEOHWACCEL */
    715717#ifdef VBOX_WITH_CRHGSMI
    716     if (mCb3D->isChecked() && m_fWddmModeSupported)
     718    if (m_pCheckbox3D->isChecked() && m_fWddmModeSupported)
    717719    {
    718720# if 0
    719721        uNeedMBytes += VBoxGlobal::required3DWddmOffscreenVideoMemory(m_guestOSType.GetId(), cGuestScreenCount) / _1M;
    720         uNeedMBytes = RT_MAX(uNeedMBytes, 128);
    721         uNeedMBytes = RT_MIN(uNeedMBytes, 256);
     722        uNeedMBytes = qMax(uNeedMBytes, 128);
     723        uNeedMBytes = qMin(uNeedMBytes, 256);
    722724# endif
    723725        m_iMaxVRAMVisible = 256;
     
    725727#endif /* VBOX_WITH_CRHGSMI */
    726728
    727     m_pSliderMemory->setWarningHint(1, uNeedMBytes);
    728     m_pSliderMemory->setPageStep(calcPageStep(m_iMaxVRAMVisible));
    729     m_pSliderMemory->setMaximum(m_iMaxVRAMVisible);
    730     m_pSliderMemory->setOptimalHint(uNeedMBytes, m_iMaxVRAMVisible);
    731     m_pEditorMemory->setValidator(new QIntValidator(m_iMinVRAM, m_iMaxVRAMVisible, this));
    732     m_pLabelMemoryMax->setText(tr("<qt>%1&nbsp;MB</qt>").arg(m_iMaxVRAMVisible));
     729    m_pSliderVideoMemorySize->setWarningHint(1, uNeedMBytes);
     730    m_pSliderVideoMemorySize->setPageStep(calcPageStep(m_iMaxVRAMVisible));
     731    m_pSliderVideoMemorySize->setMaximum(m_iMaxVRAMVisible);
     732    m_pSliderVideoMemorySize->setOptimalHint(uNeedMBytes, m_iMaxVRAMVisible);
     733    m_pEditorVideoMemorySize->setValidator(new QIntValidator(m_iMinVRAM, m_iMaxVRAMVisible, this));
     734    m_pLabelVideoMemorySizeMax->setText(tr("<qt>%1&nbsp;MB</qt>").arg(m_iMaxVRAMVisible));
    733735}
    734736
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsDisplay.ui

    r46459 r46473  
    3535         <layout class="QGridLayout" name="m_pLayoutContainerVideo">
    3636          <item row="0" column="0">
    37            <widget class="QLabel" name="m_pLabelMemory">
     37           <widget class="QLabel" name="m_pLabelVideoMemorySize">
    3838            <property name="text">
    3939             <string>Video &amp;Memory:</string>
     
    4343            </property>
    4444            <property name="buddy">
    45              <cstring>m_pEditorMemory</cstring>
     45             <cstring>m_pEditorVideoMemorySize</cstring>
    4646            </property>
    4747           </widget>
    4848          </item>
    4949          <item row="0" column="1" rowspan="2">
    50            <layout class="QVBoxLayout" name="m_pLayoutSliderMemory">
     50           <layout class="QVBoxLayout" name="m_pLayoutVideoMemorySizeSlider">
    5151            <property name="spacing">
    5252             <number>0</number>
    5353            </property>
    5454            <item>
    55              <widget class="QIAdvancedSlider" name="m_pSliderMemory">
     55             <widget class="QIAdvancedSlider" name="m_pSliderVideoMemorySize">
    5656              <property name="whatsThis">
    5757               <string>Controls the amount of video memory provided to the virtual machine.</string>
     
    6666            </item>
    6767            <item>
    68              <layout class="QHBoxLayout" name="m_pLayoutLegendMemory">
     68             <layout class="QHBoxLayout" name="m_pLayoutVideoMemorySizeLegeng">
    6969              <item>
    70                <widget class="QLabel" name="m_pLabelMemoryMin"/>
     70               <widget class="QLabel" name="m_pLabelVideoMemorySizeMin"/>
    7171              </item>
    7272              <item>
    73                <spacer name="m_pSpacerLegendMemory">
     73               <spacer name="m_pSpacerVideoMemorySize">
    7474                <property name="orientation">
    7575                 <enum>Qt::Horizontal</enum>
     
    8484              </item>
    8585              <item>
    86                <widget class="QLabel" name="m_pLabelMemoryMax"/>
     86               <widget class="QLabel" name="m_pLabelVideoMemorySizeMax"/>
    8787              </item>
    8888             </layout>
     
    9191          </item>
    9292          <item row="0" column="2">
    93            <layout class="QHBoxLayout" name="m_pLayoutEditorMemory">
     93           <layout class="QHBoxLayout" name="m_pLayoutVideoMemorySizeEditor">
    9494            <item>
    95              <widget class="QILineEdit" name="m_pEditorMemory">
     95             <widget class="QILineEdit" name="m_pEditorVideoMemorySize">
    9696              <property name="sizePolicy">
    9797               <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
     
    106106            </item>
    107107            <item>
    108              <widget class="QLabel" name="m_pLabelMemoryUnit">
    109               <property name="sizePolicy">
    110                <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
    111                 <horstretch>0</horstretch>
    112                 <verstretch>0</verstretch>
    113                </sizepolicy>
    114               </property>
     108             <widget class="QLabel" name="m_pLabelVideoMemorySizeUnit">
    115109              <property name="text">
    116110               <string>MB</string>
     
    121115          </item>
    122116          <item row="2" column="0">
    123            <widget class="QLabel" name="m_pLabelScreens">
     117           <widget class="QLabel" name="m_pLabelVideoScreenCount">
    124118            <property name="text">
    125119             <string>Mo&amp;nitor Count:</string>
     
    129123            </property>
    130124            <property name="buddy">
    131              <cstring>m_pEditorScreens</cstring>
     125             <cstring>m_pEditorVideoScreenCount</cstring>
    132126            </property>
    133127           </widget>
    134128          </item>
    135129          <item row="2" column="1" rowspan="2">
    136            <layout class="QVBoxLayout" name="m_pLayoutSliderScreens">
     130           <layout class="QVBoxLayout" name="m_pLayoutVideoScreenCount">
    137131            <property name="spacing">
    138132             <number>0</number>
    139133            </property>
    140134            <item>
    141              <widget class="QIAdvancedSlider" name="m_pSliderScreeens">
     135             <widget class="QIAdvancedSlider" name="m_pSliderVideoScreenCount">
    142136              <property name="whatsThis">
    143137               <string>Controls the amount of virtual monitors provided to the virtual machine.</string>
     
    152146            </item>
    153147            <item>
    154              <layout class="QHBoxLayout" name="m_pLayoutLegendScreens">
     148             <layout class="QHBoxLayout" name="m_pLayoutVideoScreenCountLegeng">
    155149              <item>
    156                <widget class="QLabel" name="m_pLabelScreensMin">
    157                 <property name="sizePolicy">
    158                  <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
    159                   <horstretch>0</horstretch>
    160                   <verstretch>0</verstretch>
    161                  </sizepolicy>
    162                 </property>
    163                </widget>
     150               <widget class="QLabel" name="m_pLabelVideoScreenCountMin"/>
    164151              </item>
    165152              <item>
    166                <spacer name="m_pSpacerLegendScreens">
     153               <spacer name="m_pSpacerVideoScreenCount">
    167154                <property name="orientation">
    168155                 <enum>Qt::Horizontal</enum>
     
    177164              </item>
    178165              <item>
    179                <widget class="QLabel" name="m_pLabelScreensMax">
    180                 <property name="sizePolicy">
    181                  <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
    182                   <horstretch>0</horstretch>
    183                   <verstretch>0</verstretch>
    184                  </sizepolicy>
    185                 </property>
    186                </widget>
     166               <widget class="QLabel" name="m_pLabelVideoScreenCountMax"/>
    187167              </item>
    188168             </layout>
     
    193173           <layout class="QHBoxLayout" name="m_pLayoutEditorScreens">
    194174            <item>
    195              <widget class="QILineEdit" name="m_pEditorScreens">
     175             <widget class="QILineEdit" name="m_pEditorVideoScreenCount">
    196176              <property name="sizePolicy">
    197177               <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
     
    206186            </item>
    207187            <item>
    208              <widget class="QLabel" name="m_pLabelScreensUnit"/>
     188             <widget class="QLabel" name="m_pLabelVideoScreenCountUnit"/>
    209189            </item>
    210190           </layout>
     
    221201          </item>
    222202          <item row="4" column="1" colspan="2">
    223            <widget class="QCheckBox" name="mCb3D">
     203           <widget class="QCheckBox" name="m_pCheckbox3D">
    224204            <property name="sizePolicy">
    225205             <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
     
    237217          </item>
    238218          <item row="5" column="1" colspan="2">
    239            <widget class="QCheckBox" name="mCb2DVideo">
     219           <widget class="QCheckBox" name="m_pCheckbox2DVideo">
    240220            <property name="sizePolicy">
    241221             <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
Note: See TracChangeset for help on using the changeset viewer.

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