Changeset 27406 in vbox
- Timestamp:
- Mar 16, 2010 1:56:42 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 58871
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/settings/vm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/vm/VBoxVMSettingsDisplay.cpp
r26921 r27406 155 155 mTwDisplay->setTabEnabled (1, false); 156 156 } 157 158 checkMultiMonitorReqs(); 157 159 } 158 160 … … 286 288 { 287 289 mLeMonitors->setText (QString().setNum (aVal)); 290 checkMultiMonitorReqs(); 288 291 } 289 292 … … 292 295 mSlMonitors->setValue (aText.toInt()); 293 296 } 297 298 void VBoxVMSettingsDisplay::checkMultiMonitorReqs() 299 { 300 int cVal = mSlMonitors->value(); 301 if (cVal > 1) 302 { 303 #ifdef VBOX_WITH_VIDEOHWACCEL 304 mCb2DVideo->setChecked(false); 305 #endif /* VBOX_WITH_VIDEOHWACCEL */ 306 mCb3D->setChecked(false); 307 } 308 #ifdef VBOX_WITH_VIDEOHWACCEL 309 mCb2DVideo->setEnabled(cVal == 1 && VBoxGlobal::isAcceleration2DVideoAvailable()); 310 #endif /* VBOX_WITH_VIDEOHWACCEL */ 311 mCb3D->setEnabled(cVal == 1 && vboxGlobal().virtualBox().GetHost().GetAcceleration3DAvailable()); 312 } 313 -
trunk/src/VBox/Frontends/VirtualBox/src/settings/vm/VBoxVMSettingsDisplay.h
r26921 r27406 62 62 private: 63 63 64 void checkMultiMonitorReqs(); 65 64 66 CMachine mMachine; 65 67 QIWidgetValidator *mValidator; -
trunk/src/VBox/Frontends/VirtualBox/src/settings/vm/VBoxVMSettingsDisplay.ui
r26921 r27406 172 172 <widget class="QIAdvancedSlider" name="mSlMonitors"> 173 173 <property name="whatsThis"> 174 <string>Controls the amount of virtual monitors provided to the virtual machine. </string>174 <string>Controls the amount of virtual monitors provided to the virtual machine. Currently 2D and 3D acceleration isn't available when more then one monitor is selected.</string> 175 175 </property> 176 176 <property name="orientation">
Note:
See TracChangeset
for help on using the changeset viewer.