Changeset 14398 in vbox for trunk/src/VBox
- Timestamp:
- Nov 20, 2008 11:13:36 AM (16 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox4
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/include/QILabelSeparator.h
r10649 r14398 44 44 void clear(); 45 45 void setText (const QString &aText); 46 46 QString text() const; 47 47 48 48 protected: -
trunk/src/VBox/Frontends/VirtualBox4/src/QILabelSeparator.cpp
r10649 r14398 58 58 } 59 59 60 QString QILabelSeparator::text() const 61 { 62 return mLabel->text(); 63 } 64 60 65 void QILabelSeparator::init() 61 66 { -
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxSettingsDialog.cpp
r14393 r14398 131 131 132 132 mErrorHint = tr ("Invalid settings detected"); 133 mWarnHint = tr (" Important warnings detected");133 mWarnHint = tr ("Non-optimal settings detected"); 134 134 if (!mValid) 135 135 mIconLabel->setWarningText (mErrorHint); … … 169 169 { 170 170 mWarnString = aWarning.isEmpty() ? QString::null : 171 QString ("<font color=#ff 6c00>%1</font>").arg (aWarning);171 QString ("<font color=#ff5400>%1</font>").arg (aWarning); 172 172 173 173 /* Not touching QILabel until dialog is polished otherwise -
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxSettingsDialogSpecific.cpp
r14339 r14398 367 367 valid = page->revalidate (text, pageTitle); 368 368 text = text.isEmpty() ? QString::null : 369 tr (" %1 on the <b>%2</b> page.").arg (text, pageTitle);369 tr ("On the <b>%1</b> page, %2").arg (pageTitle, text); 370 370 aWval->setLastWarning (text); 371 371 valid ? setWarning (text) : setError (text); -
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxVMSettingsGeneral.cpp
r14387 r14398 386 386 if (mSlRam->value() + mSlVideo->value() > 0.75 * fullSize) 387 387 { 388 aWarning = tr ("You have assigned more than 75% of your computer's memory (%1) to " 389 "the virtual machine. Not enough memory is left for your host " 390 "operating system. Please select a smaller amount. Error found") 391 .arg (vboxGlobal().formatSize (fullSize * _1M)); 388 aWarning = tr ( 389 "you have assigned more than <b>75%</b> of your computer's memory " 390 "(<b>%1</b>) to the virtual machine. Not enough memory is left " 391 "for your host operating system. Please select a smaller amount.") 392 .arg (vboxGlobal().formatSize (fullSize * _1M)); 392 393 return false; 393 394 } else 394 395 if (mSlRam->value() + mSlVideo->value() > 0.5 * fullSize) 395 396 { 396 aWarning = tr ("You have assigned more than 50% of your computer's memory (%1) to " 397 "the virtual machine. Not enough memory might be left for your host " 398 "operating system. Continue at your own risk. Problem found") 399 .arg (vboxGlobal().formatSize (fullSize * _1M)); 397 aWarning = tr ( 398 "you have assigned more than <b>50%</b> of your computer's memory " 399 "(<b>%1</b>) to the virtual machine. Not enough memory might be " 400 "left for your host operating system. Continue at your own risk.") 401 .arg (vboxGlobal().formatSize (fullSize * _1M)); 400 402 return true; 401 403 } else 402 if ((quint64)mSlVideo->value() * _1M < needBytes) 403 { 404 aWarning = tr ("You have assigned less than %1 for video memory. This is the minimum " 405 "requirement for the guest to be able to switch to fullscreen or " 406 "seamless mode. Problem found") 407 .arg (vboxGlobal().formatSize (needBytes)); 404 if ((quint64) mSlVideo->value() * _1M < needBytes) 405 { 406 aWarning = tr ( 407 "you have assigned less than <b>%1</b> for video memory which is " 408 "the minimum amount required to switch the virtual machine to " 409 "fullscreen or seamless mode.") 410 .arg (vboxGlobal().formatSize (needBytes), 411 VBoxGlobal::removeAccelMark (mGbVideo->text())); 408 412 return true; 409 413 } -
trunk/src/VBox/Frontends/VirtualBox4/ui/VBoxVMSettingsGeneral.ui
r14312 r14398 728 728 </property> 729 729 <property name="whatsThis" > 730 <string>When checked, the VirtualBox allows guests to make use of the 3D graphics supportavailable on the host.</string>730 <string>When checked, the virtual machine will get access to the 3D graphics capabilities available on the host.</string> 731 731 </property> 732 732 <property name="text" >
Note:
See TracChangeset
for help on using the changeset viewer.