Changeset 56106 in vbox
- Timestamp:
- May 27, 2015 3:47:23 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 100631
- 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
r54912 r56106 444 444 445 445 /* Retranslate the memory slider legend: */ 446 m_pLabelMemoryMin->setText(tr("<qt>%1 MB</qt>").arg(m_pSliderMemorySize->minRAM())); 447 m_pLabelMemoryMax->setText(tr("<qt>%1 MB</qt>").arg(m_pSliderMemorySize->maxRAM())); 446 m_pEditorMemorySize->setSuffix(QString(" %1").arg(tr("MB"))); 447 m_pLabelMemoryMin->setText(tr("%1 MB").arg(m_pSliderMemorySize->minRAM())); 448 m_pLabelMemoryMax->setText(tr("%1 MB").arg(m_pSliderMemorySize->maxRAM())); 448 449 449 450 /* Retranslate the cpu slider legend: */ 450 m_pLabelCPUMin->setText(tr(" <qt>%1 CPU</qt>", "%1 is 1 for now").arg(m_uMinGuestCPU));451 m_pLabelCPUMax->setText(tr(" <qt>%1 CPUs</qt>", "%1 is host cpu count * 2 for now").arg(m_uMaxGuestCPU));451 m_pLabelCPUMin->setText(tr("%1 CPU", "%1 is 1 for now").arg(m_uMinGuestCPU)); 452 m_pLabelCPUMax->setText(tr("%1 CPUs", "%1 is host cpu count * 2 for now").arg(m_uMaxGuestCPU)); 452 453 453 454 /* Retranslate the cpu cap slider legend: */ 454 m_pLabelCPUExecCapMin->setText(tr(" <qt>%1%</qt>", "Min CPU execution cap in %").arg(m_uMinGuestCPUExecCap));455 m_pLabelCPUExecCapMax->setText(tr(" <qt>%1%</qt>", "Max CPU execution cap in %").arg(m_uMaxGuestCPUExecCap));455 m_pLabelCPUExecCapMin->setText(tr("%1%", "Min CPU execution cap in %").arg(m_uMinGuestCPUExecCap)); 456 m_pLabelCPUExecCapMax->setText(tr("%1%", "Max CPU execution cap in %").arg(m_uMaxGuestCPUExecCap)); 456 457 457 458 /* Retranslate combo-boxes: */ … … 470 471 m_pLabelMemoryMin->setEnabled(isMachineOffline()); 471 472 m_pLabelMemoryMax->setEnabled(isMachineOffline()); 472 m_pLabelMemoryUnits->setEnabled(isMachineOffline());473 473 m_pSliderMemorySize->setEnabled(isMachineOffline()); 474 474 m_pEditorMemorySize->setEnabled(isMachineOffline()); -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsSystem.ui
r51989 r56106 88 88 </item> 89 89 <item row="0" column="3"> 90 <layout class="QHBoxLayout"> 91 <item> 92 <widget class="QSpinBox" name="m_pEditorMemorySize"> 93 <property name="whatsThis"> 94 <string>Controls the amount of memory provided to the virtual machine. If you assign too much, the machine might not start.</string> 95 </property> 96 </widget> 97 </item> 98 <item> 99 <widget class="QLabel" name="m_pLabelMemoryUnits"> 100 <property name="text"> 101 <string>MB</string> 102 </property> 103 </widget> 104 </item> 105 </layout> 90 <widget class="QSpinBox" name="m_pEditorMemorySize"> 91 <property name="whatsThis"> 92 <string>Controls the amount of memory provided to the virtual machine. If you assign too much, the machine might not start.</string> 93 </property> 94 </widget> 106 95 </item> 107 96 <item row="2" column="0"> … … 344 333 <widget class="QCheckBox" name="m_pCheckBoxUseUTC" > 345 334 <property name="whatsThis" > 346 <string> Ifchecked, the RTC device will report the time in UTC, otherwise in local (host) time. Unix usually expects the hardware clock to be set to UTC.</string>335 <string>When checked, the RTC device will report the time in UTC, otherwise in local (host) time. Unix usually expects the hardware clock to be set to UTC.</string> 347 336 </property> 348 337 <property name="text" > … … 502 491 <property name="whatsThis"> 503 492 <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> 493 </property> 494 <property name="suffix"> 495 <string>%</string> 504 496 </property> 505 497 </widget>
Note:
See TracChangeset
for help on using the changeset viewer.