Changeset 46473 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Jun 10, 2013 3:50:12 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 86316
- 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 75 75 bool UIMachineSettingsDisplay::isAcceleration2DVideoSelected() const 76 76 { 77 return m Cb2DVideo->isChecked();77 return m_pCheckbox2DVideo->isChecked(); 78 78 } 79 79 #endif /* VBOX_WITH_VIDEOHWACCEL */ … … 140 140 141 141 /* Load Video data to page: */ 142 m_pSlider Screeens->setValue(displayData.m_cGuestScreenCount);143 m Cb3D->setChecked(displayData.m_f3dAccelerationEnabled);144 #ifdef VBOX_WITH_VIDEOHWACCEL 145 m Cb2DVideo->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); 146 146 #endif /* VBOX_WITH_VIDEOHWACCEL */ 147 147 checkVRAMRequirements(); 148 m_pSlider Memory->setValue(displayData.m_iCurrentVRAM);148 m_pSliderVideoMemorySize->setValue(displayData.m_iCurrentVRAM); 149 149 150 150 /* If Remote Display server is supported: */ … … 184 184 185 185 /* Gather Video data from page: */ 186 displayData.m_iCurrentVRAM = m_pSlider Memory->value();187 displayData.m_cGuestScreenCount = m_pSlider Screeens->value();188 displayData.m_f3dAccelerationEnabled = m Cb3D->isChecked();189 #ifdef VBOX_WITH_VIDEOHWACCEL 190 displayData.m_f2dAccelerationEnabled = m Cb2DVideo->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(); 191 191 #endif /* VBOX_WITH_VIDEOHWACCEL */ 192 192 … … 275 275 { 276 276 m_pValidator = pValidator; 277 connect(m Cb3D, SIGNAL(stateChanged(int)), m_pValidator, SLOT(revalidate()));278 #ifdef VBOX_WITH_VIDEOHWACCEL 279 connect(m Cb2DVideo, 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())); 280 280 #endif /* VBOX_WITH_VIDEOHWACCEL */ 281 281 connect(m_pCheckboxRemoteDisplay, SIGNAL(toggled(bool)), m_pValidator, SLOT(revalidate())); … … 289 289 checkVRAMRequirements(); 290 290 291 if (m Cb3D->isChecked() && !vboxGlobal().is3DAvailable())291 if (m_pCheckbox3D->isChecked() && !vboxGlobal().is3DAvailable()) 292 292 { 293 293 strWarning = tr("you enabled 3D acceleration. However, 3D acceleration is not " … … 300 300 if (shouldWeWarnAboutLowVideoMemory() && !m_guestOSType.isNull()) 301 301 { 302 quint64 uNeedBytes = VBoxGlobal::requiredVideoMemory(m_guestOSType.GetId(), m_pSlider Screeens->value());302 quint64 uNeedBytes = VBoxGlobal::requiredVideoMemory(m_guestOSType.GetId(), m_pSliderVideoScreenCount->value()); 303 303 304 304 /* Basic video RAM amount test: */ 305 if ((quint64)m_pSlider Memory->value() * _1M < uNeedBytes)305 if ((quint64)m_pSliderVideoMemorySize->value() * _1M < uNeedBytes) 306 306 { 307 307 strWarning = tr("you have assigned less than <b>%1</b> of video memory which is " … … 313 313 #ifdef VBOX_WITH_VIDEOHWACCEL 314 314 /* 2D acceleration video RAM amount test: */ 315 if (m Cb2DVideo->isChecked() && m_f2DVideoAccelerationSupported)315 if (m_pCheckbox2DVideo->isChecked() && m_f2DVideoAccelerationSupported) 316 316 { 317 317 uNeedBytes += VBoxGlobal::required2DOffscreenVideoMemory(); 318 if ((quint64)m_pSlider Memory->value() * _1M < uNeedBytes)318 if ((quint64)m_pSliderVideoMemorySize->value() * _1M < uNeedBytes) 319 319 { 320 320 strWarning = tr("you have assigned less than <b>%1</b> of video memory which is " … … 327 327 #if 0 328 328 # ifdef VBOX_WITH_CRHGSMI 329 if (m Cb3D->isChecked() && m_fWddmModeSupported)329 if (m_pCheckbox3D->isChecked() && m_fWddmModeSupported) 330 330 { 331 int cGuestScreenCount = m_pSlider Screeens->value();331 int cGuestScreenCount = m_pSliderVideoScreenCount->value(); 332 332 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_p SliderMemory->value() * _1M < uNeedBytes)333 uNeedBytes = qMax(uNeedBytes, 128 * _1M); 334 uNeedBytes = qMin(uNeedBytes, 256 * _1M); 335 if ((quint64)m_pEditorVideoMemorySize->value() * _1M < uNeedBytes) 336 336 { 337 337 strWarning = tr("you have 3D Acceleration enabled for a operation system which uses the WDDM video driver. " … … 348 348 #ifdef VBOX_WITH_VIDEOHWACCEL 349 349 /* 2D video acceleration is available for Windows guests only: */ 350 if (m Cb2DVideo->isChecked() && !m_f2DVideoAccelerationSupported)350 if (m_pCheckbox2DVideo->isChecked() && !m_f2DVideoAccelerationSupported) 351 351 { 352 352 strWarning = tr("you have 2D Video Acceleration enabled. As 2D Video Acceleration " … … 363 363 /* Video tab-order */ 364 364 setTabOrder(pWidget, m_pTabWidget->focusProxy()); 365 setTabOrder(m_pTabWidget->focusProxy(), m_pSlider Memory);366 setTabOrder(m_pSlider Memory, m_pEditorMemory);367 setTabOrder(m_pEditor Memory, m_pSliderScreeens);368 setTabOrder(m_pSlider Screeens, m_pEditorScreens);369 setTabOrder(m_pEditor Screens, mCb3D);370 #ifdef VBOX_WITH_VIDEOHWACCEL 371 setTabOrder(m Cb3D, mCb2DVideo);372 setTabOrder(m Cb2DVideo, 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); 373 373 #else /* VBOX_WITH_VIDEOHWACCEL */ 374 setTabOrder(m Cb3D, m_pCheckboxRemoteDisplay);374 setTabOrder(m_pCheckbox3D, m_pCheckboxRemoteDisplay); 375 375 #endif /* !VBOX_WITH_VIDEOHWACCEL */ 376 376 … … 400 400 /* Video stuff: */ 401 401 CSystemProperties sys = vboxGlobal().virtualBox().GetSystemProperties(); 402 m_pLabel MemoryMin->setText(tr("<qt>%1 MB</qt>").arg(m_iMinVRAM));403 m_pLabel MemoryMax->setText(tr("<qt>%1 MB</qt>").arg(m_iMaxVRAMVisible));404 m_pLabel ScreensMin->setText(tr("<qt>%1</qt>").arg(1));405 m_pLabel ScreensMax->setText(tr("<qt>%1</qt>").arg(sys.GetMaxGuestMonitors()));402 m_pLabelVideoMemorySizeMin->setText(tr("<qt>%1 MB</qt>").arg(m_iMinVRAM)); 403 m_pLabelVideoMemorySizeMax->setText(tr("<qt>%1 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())); 406 406 407 407 /* Remote Display stuff: */ … … 429 429 m_pContainerVideo->setEnabled(isMachineOffline()); 430 430 #ifdef VBOX_WITH_VIDEOHWACCEL 431 m Cb2DVideo->setEnabled(VBoxGlobal::isAcceleration2DVideoAvailable());431 m_pCheckbox2DVideo->setEnabled(VBoxGlobal::isAcceleration2DVideoAvailable()); 432 432 #endif /* VBOX_WITH_VIDEOHWACCEL */ 433 433 … … 446 446 void UIMachineSettingsDisplay::sltValueChangedVRAM(int iValue) 447 447 { 448 m_pEditor Memory->setText(QString::number(iValue));448 m_pEditorVideoMemorySize->setText(QString::number(iValue)); 449 449 } 450 450 451 451 void UIMachineSettingsDisplay::sltTextChangedVRAM(const QString &strText) 452 452 { 453 m_pSlider Memory->setValue(strText.toInt());453 m_pSliderVideoMemorySize->setValue(strText.toInt()); 454 454 } 455 455 456 456 void UIMachineSettingsDisplay::sltValueChangedScreens(int iValue) 457 457 { 458 m_pEditor Screens->setText(QString::number(iValue));458 m_pEditorVideoScreenCount->setText(QString::number(iValue)); 459 459 checkVRAMRequirements(); 460 460 } … … 462 462 void UIMachineSettingsDisplay::sltTextChangedScreens(const QString &strText) 463 463 { 464 m_pSlider Screeens->setValue(strText.toInt());464 m_pSliderVideoScreenCount->setValue(strText.toInt()); 465 465 } 466 466 … … 554 554 void UIMachineSettingsDisplay::prepareVideoTab() 555 555 { 556 /* Prepare variables: */556 /* Prepare memory-size slider: */ 557 557 CSystemProperties sys = vboxGlobal().virtualBox().GetSystemProperties(); 558 558 m_iMinVRAM = sys.GetMinGuestVRAM(); … … 568 568 569 569 /* 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 612 void UIMachineSettingsDisplay::prepareRemoteDisplayTab() 613 { 614 /* Setup validators: */ 572 615 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)); 573 616 m_pEditorRemoteDisplayTimeout->setValidator(new QIntValidator(this)); 574 617 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_VIDEOHWACCEL609 /* Hide check-box if not supported: */610 mCb2DVideo->setVisible(false);611 #endif /* VBOX_WITH_VIDEOHWACCEL */612 }613 614 void UIMachineSettingsDisplay::prepareRemoteDisplayTab()615 {616 618 /* Prepare auth-method combo: */ 617 619 m_pComboRemoteDisplayAuthMethod->insertItem(0, ""); /* KAuthType_Null */ … … 697 699 698 700 /* Get monitors count and base video memory requirements: */ 699 int cGuestScreenCount = m_pSlider Screeens->value();701 int cGuestScreenCount = m_pSliderVideoScreenCount->value(); 700 702 quint64 uNeedMBytes = VBoxGlobal::requiredVideoMemory(m_guestOSType.GetId(), cGuestScreenCount) / _1M; 701 703 … … 708 710 709 711 #ifdef VBOX_WITH_VIDEOHWACCEL 710 if (m Cb2DVideo->isChecked() && m_f2DVideoAccelerationSupported)712 if (m_pCheckbox2DVideo->isChecked() && m_f2DVideoAccelerationSupported) 711 713 { 712 714 uNeedMBytes += VBoxGlobal::required2DOffscreenVideoMemory() / _1M; … … 714 716 #endif /* VBOX_WITH_VIDEOHWACCEL */ 715 717 #ifdef VBOX_WITH_CRHGSMI 716 if (m Cb3D->isChecked() && m_fWddmModeSupported)718 if (m_pCheckbox3D->isChecked() && m_fWddmModeSupported) 717 719 { 718 720 # if 0 719 721 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); 722 724 # endif 723 725 m_iMaxVRAMVisible = 256; … … 725 727 #endif /* VBOX_WITH_CRHGSMI */ 726 728 727 m_pSlider Memory->setWarningHint(1, uNeedMBytes);728 m_pSlider Memory->setPageStep(calcPageStep(m_iMaxVRAMVisible));729 m_pSlider Memory->setMaximum(m_iMaxVRAMVisible);730 m_pSlider Memory->setOptimalHint(uNeedMBytes, m_iMaxVRAMVisible);731 m_pEditor Memory->setValidator(new QIntValidator(m_iMinVRAM, m_iMaxVRAMVisible, this));732 m_pLabel MemoryMax->setText(tr("<qt>%1 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 MB</qt>").arg(m_iMaxVRAMVisible)); 733 735 } 734 736 -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsDisplay.ui
r46459 r46473 35 35 <layout class="QGridLayout" name="m_pLayoutContainerVideo"> 36 36 <item row="0" column="0"> 37 <widget class="QLabel" name="m_pLabel Memory">37 <widget class="QLabel" name="m_pLabelVideoMemorySize"> 38 38 <property name="text"> 39 39 <string>Video &Memory:</string> … … 43 43 </property> 44 44 <property name="buddy"> 45 <cstring>m_pEditor Memory</cstring>45 <cstring>m_pEditorVideoMemorySize</cstring> 46 46 </property> 47 47 </widget> 48 48 </item> 49 49 <item row="0" column="1" rowspan="2"> 50 <layout class="QVBoxLayout" name="m_pLayout SliderMemory">50 <layout class="QVBoxLayout" name="m_pLayoutVideoMemorySizeSlider"> 51 51 <property name="spacing"> 52 52 <number>0</number> 53 53 </property> 54 54 <item> 55 <widget class="QIAdvancedSlider" name="m_pSlider Memory">55 <widget class="QIAdvancedSlider" name="m_pSliderVideoMemorySize"> 56 56 <property name="whatsThis"> 57 57 <string>Controls the amount of video memory provided to the virtual machine.</string> … … 66 66 </item> 67 67 <item> 68 <layout class="QHBoxLayout" name="m_pLayout LegendMemory">68 <layout class="QHBoxLayout" name="m_pLayoutVideoMemorySizeLegeng"> 69 69 <item> 70 <widget class="QLabel" name="m_pLabel MemoryMin"/>70 <widget class="QLabel" name="m_pLabelVideoMemorySizeMin"/> 71 71 </item> 72 72 <item> 73 <spacer name="m_pSpacer LegendMemory">73 <spacer name="m_pSpacerVideoMemorySize"> 74 74 <property name="orientation"> 75 75 <enum>Qt::Horizontal</enum> … … 84 84 </item> 85 85 <item> 86 <widget class="QLabel" name="m_pLabel MemoryMax"/>86 <widget class="QLabel" name="m_pLabelVideoMemorySizeMax"/> 87 87 </item> 88 88 </layout> … … 91 91 </item> 92 92 <item row="0" column="2"> 93 <layout class="QHBoxLayout" name="m_pLayout EditorMemory">93 <layout class="QHBoxLayout" name="m_pLayoutVideoMemorySizeEditor"> 94 94 <item> 95 <widget class="QILineEdit" name="m_pEditor Memory">95 <widget class="QILineEdit" name="m_pEditorVideoMemorySize"> 96 96 <property name="sizePolicy"> 97 97 <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> … … 106 106 </item> 107 107 <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"> 115 109 <property name="text"> 116 110 <string>MB</string> … … 121 115 </item> 122 116 <item row="2" column="0"> 123 <widget class="QLabel" name="m_pLabel Screens">117 <widget class="QLabel" name="m_pLabelVideoScreenCount"> 124 118 <property name="text"> 125 119 <string>Mo&nitor Count:</string> … … 129 123 </property> 130 124 <property name="buddy"> 131 <cstring>m_pEditor Screens</cstring>125 <cstring>m_pEditorVideoScreenCount</cstring> 132 126 </property> 133 127 </widget> 134 128 </item> 135 129 <item row="2" column="1" rowspan="2"> 136 <layout class="QVBoxLayout" name="m_pLayout SliderScreens">130 <layout class="QVBoxLayout" name="m_pLayoutVideoScreenCount"> 137 131 <property name="spacing"> 138 132 <number>0</number> 139 133 </property> 140 134 <item> 141 <widget class="QIAdvancedSlider" name="m_pSlider Screeens">135 <widget class="QIAdvancedSlider" name="m_pSliderVideoScreenCount"> 142 136 <property name="whatsThis"> 143 137 <string>Controls the amount of virtual monitors provided to the virtual machine.</string> … … 152 146 </item> 153 147 <item> 154 <layout class="QHBoxLayout" name="m_pLayout LegendScreens">148 <layout class="QHBoxLayout" name="m_pLayoutVideoScreenCountLegeng"> 155 149 <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"/> 164 151 </item> 165 152 <item> 166 <spacer name="m_pSpacer LegendScreens">153 <spacer name="m_pSpacerVideoScreenCount"> 167 154 <property name="orientation"> 168 155 <enum>Qt::Horizontal</enum> … … 177 164 </item> 178 165 <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"/> 187 167 </item> 188 168 </layout> … … 193 173 <layout class="QHBoxLayout" name="m_pLayoutEditorScreens"> 194 174 <item> 195 <widget class="QILineEdit" name="m_pEditor Screens">175 <widget class="QILineEdit" name="m_pEditorVideoScreenCount"> 196 176 <property name="sizePolicy"> 197 177 <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> … … 206 186 </item> 207 187 <item> 208 <widget class="QLabel" name="m_pLabel ScreensUnit"/>188 <widget class="QLabel" name="m_pLabelVideoScreenCountUnit"/> 209 189 </item> 210 190 </layout> … … 221 201 </item> 222 202 <item row="4" column="1" colspan="2"> 223 <widget class="QCheckBox" name="m Cb3D">203 <widget class="QCheckBox" name="m_pCheckbox3D"> 224 204 <property name="sizePolicy"> 225 205 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> … … 237 217 </item> 238 218 <item row="5" column="1" colspan="2"> 239 <widget class="QCheckBox" name="m Cb2DVideo">219 <widget class="QCheckBox" name="m_pCheckbox2DVideo"> 240 220 <property name="sizePolicy"> 241 221 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
Note:
See TracChangeset
for help on using the changeset viewer.