Changeset 56107 in vbox
- Timestamp:
- May 27, 2015 4:11:10 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 100632
- 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
r55719 r56107 493 493 /* Screen stuff: */ 494 494 CSystemProperties sys = vboxGlobal().virtualBox().GetSystemProperties(); 495 m_pLabelVideoMemorySizeMin->setText(tr("<qt>%1 MB</qt>").arg(m_iMinVRAM)); 496 m_pLabelVideoMemorySizeMax->setText(tr("<qt>%1 MB</qt>").arg(m_iMaxVRAMVisible)); 497 m_pLabelVideoScreenCountMin->setText(tr("<qt>%1</qt>").arg(1)); 498 m_pLabelVideoScreenCountMax->setText(tr("<qt>%1</qt>").arg(qMin(sys.GetMaxGuestMonitors(), (ULONG)8))); 495 m_pEditorVideoMemorySize->setSuffix(QString(" %1").arg(tr("MB"))); 496 m_pLabelVideoMemorySizeMin->setText(tr("%1 MB").arg(m_iMinVRAM)); 497 m_pLabelVideoMemorySizeMax->setText(tr("%1 MB").arg(m_iMaxVRAMVisible)); 498 m_pLabelVideoScreenCountMin->setText(QString::number(1)); 499 m_pLabelVideoScreenCountMax->setText(QString::number(qMin(sys.GetMaxGuestMonitors(), (ULONG)8))); 500 m_pLabelGuestScreenScaleMin->setText(tr("%1%").arg(100)); 501 m_pLabelGuestScreenScaleMax->setText(tr("%1%").arg(200)); 499 502 500 503 /* Remote Display stuff: */ … … 504 507 505 508 /* Video Capture stuff: */ 509 m_pEditorVideoCaptureFrameRate->setSuffix(QString(" %1").arg(tr("fps"))); 510 m_pEditorVideoCaptureBitRate->setSuffix(QString(" %1").arg(tr("kbps"))); 506 511 m_pComboVideoCaptureSize->setItemText(0, tr("User Defined")); 507 512 m_pLabelVideoCaptureFrameRateMin->setText(tr("%1 fps").arg(m_pSliderVideoCaptureFrameRate->minimum())); 508 513 m_pLabelVideoCaptureFrameRateMax->setText(tr("%1 fps").arg(m_pSliderVideoCaptureFrameRate->maximum())); 509 m_pLabelVideoCaptureFrameRateUnits->setText(tr("fps"));510 514 m_pLabelVideoCaptureQualityMin->setText(tr("low", "quality")); 511 515 m_pLabelVideoCaptureQualityMed->setText(tr("medium", "quality")); 512 516 m_pLabelVideoCaptureQualityMax->setText(tr("high", "quality")); 513 m_pLabelVideoCaptureBitRateUnits->setText(tr("kbps"));514 517 515 518 updateVideoCaptureSizeHint(); … … 527 530 m_pLabelVideoMemorySizeMax->setEnabled(isMachineOffline()); 528 531 m_pEditorVideoMemorySize->setEnabled(isMachineOffline()); 529 m_pLabelVideoMemoryUnit->setEnabled(isMachineOffline());530 532 m_pLabelVideoScreenCount->setEnabled(isMachineOffline()); 531 533 m_pSliderVideoScreenCount->setEnabled(isMachineOffline()); … … 660 662 m_pContainerSliderVideoCaptureFrameRate->setEnabled(fIsVideoCaptureOptionsEnabled); 661 663 m_pEditorVideoCaptureFrameRate->setEnabled(fIsVideoCaptureOptionsEnabled); 662 m_pLabelVideoCaptureFrameRateUnits->setEnabled(fIsVideoCaptureOptionsEnabled);663 664 664 665 m_pLabelVideoCaptureRate->setEnabled(fIsVideoCaptureOptionsEnabled); 665 666 m_pContainerSliderVideoCaptureQuality->setEnabled(fIsVideoCaptureOptionsEnabled); 666 667 m_pEditorVideoCaptureBitRate->setEnabled(fIsVideoCaptureOptionsEnabled); 667 m_pLabelVideoCaptureBitRateUnits->setEnabled(fIsVideoCaptureOptionsEnabled);668 668 669 669 m_pLabelVideoCaptureScreens->setEnabled(fIsVideoCaptureScreenOptionEnabled); … … 977 977 m_pSliderVideoMemorySize->setWarningHint(1, qMin((int)uNeedMBytes, m_iMaxVRAMVisible)); 978 978 m_pSliderVideoMemorySize->setOptimalHint(qMin((int)uNeedMBytes, m_iMaxVRAMVisible), m_iMaxVRAMVisible); 979 m_pLabelVideoMemorySizeMax->setText(tr(" <qt>%1 MB</qt>").arg(m_iMaxVRAMVisible));979 m_pLabelVideoMemorySizeMax->setText(tr("%1 MB").arg(m_iMaxVRAMVisible)); 980 980 } 981 981 -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsDisplay.ui
r55719 r56107 90 90 </widget> 91 91 </item> 92 <item row="0" column="3">93 <widget class="QLabel" name="m_pLabelVideoMemoryUnit">94 <property name="text">95 <string>MB</string>96 </property>97 </widget>98 </item>99 92 <item row="2" column="0"> 100 93 <widget class="QLabel" name="m_pLabelVideoScreenCount"> … … 179 172 </item> 180 173 <item row="1" column="0"> 181 <widget class="QLabel" name="m_pLabelGuestScreenScaleMin"> 182 <property name="text"> 183 <string>100%</string> 184 </property> 185 </widget> 174 <widget class="QLabel" name="m_pLabelGuestScreenScaleMin"/> 186 175 </item> 187 176 <item row="1" column="1"> … … 199 188 </item> 200 189 <item row="1" column="2"> 201 <widget class="QLabel" name="m_pLabelGuestScreenScaleMax"> 202 <property name="text"> 203 <string>200%</string> 204 </property> 205 </widget> 190 <widget class="QLabel" name="m_pLabelGuestScreenScaleMax"/> 206 191 </item> 207 192 </layout> … … 220 205 <widget class="QLabel" name="m_pLabelHiDPI"> 221 206 <property name="text"> 222 <string>HiDPI :</string>207 <string>HiDPI Support:</string> 223 208 </property> 224 209 <property name="alignment"> … … 227 212 </widget> 228 213 </item> 229 <item row="6" column="1" colspan="2">214 <item row="6" column="1"> 230 215 <widget class="QCheckBox" name="m_pCheckBoxUnscaledHiDPIOutput"> 231 216 <property name="sizePolicy"> … … 253 238 </widget> 254 239 </item> 255 <item row="7" column="1" colspan="2">240 <item row="7" column="1"> 256 241 <widget class="QCheckBox" name="m_pCheckbox3D"> 257 242 <property name="sizePolicy"> … … 269 254 </widget> 270 255 </item> 271 <item row="8" column="1" colspan="2">256 <item row="8" column="1"> 272 257 <widget class="QCheckBox" name="m_pCheckbox2DVideo"> 273 258 <property name="sizePolicy"> … … 359 344 <widget class="QLineEdit" name="m_pEditorRemoteDisplayPort"> 360 345 <property name="whatsThis"> 361 <string> The VRDP Server port number. You may specify <tt>0</tt> (zero), to select port 3389, the standard port for RDP.</string>346 <string>Holds the VRDP Server port number. You may specify <tt>0</tt> (zero), to select port 3389, the standard port for RDP.</string> 362 347 </property> 363 348 </widget> … … 379 364 <widget class="QComboBox" name="m_pComboRemoteDisplayAuthMethod"> 380 365 <property name="whatsThis"> 381 <string> Defines the VRDP authentication method.</string>366 <string>Selects the VRDP authentication method.</string> 382 367 </property> 383 368 </widget> … … 399 384 <widget class="QLineEdit" name="m_pEditorRemoteDisplayTimeout"> 400 385 <property name="whatsThis"> 401 <string> Specifies the timeout for guest authentication, in milliseconds.</string>386 <string>Holds the timeout for guest authentication, in milliseconds.</string> 402 387 </property> 403 388 </widget> … … 422 407 </property> 423 408 <property name="whatsThis"> 424 <string> Specifies whethermultiple simultaneous connections to the VM are permitted.</string>409 <string>When checked, multiple simultaneous connections to the VM are permitted.</string> 425 410 </property> 426 411 <property name="text"> … … 509 494 <widget class="VBoxFilePathSelectorWidget" name="m_pEditorVideoCapturePath"> 510 495 <property name="whatsThis"> 511 <string> This setting determines the filename VirtualBox uses to save the recorded content.</string>496 <string>Holds the filename VirtualBox uses to save the recorded content.</string> 512 497 </property> 513 498 </widget> … … 535 520 </property> 536 521 <property name="whatsThis"> 537 <string> This setting determines the resolution (frame size) of the recorded video.</string>522 <string>Selects the resolution (frame size) of the recorded video.</string> 538 523 </property> 539 524 </widget> … … 542 527 <widget class="QSpinBox" name="m_pEditorVideoCaptureWidth"> 543 528 <property name="whatsThis"> 544 <string> This setting determines the <b>horizontal</b> resolution (frame width) of the recorded video.</string>529 <string>Holds the <b>horizontal</b> resolution (frame width) of the recorded video.</string> 545 530 </property> 546 531 </widget> … … 549 534 <widget class="QSpinBox" name="m_pEditorVideoCaptureHeight"> 550 535 <property name="whatsThis"> 551 <string> This setting determines the <b>vertical</b> resolution (frame height) of the recorded video.</string>536 <string>Holds the <b>vertical</b> resolution (frame height) of the recorded video.</string> 552 537 </property> 553 538 </widget> … … 575 560 <widget class="QIAdvancedSlider" name="m_pSliderVideoCaptureFrameRate"> 576 561 <property name="whatsThis"> 577 <string> This setting determines the maximum number of <b>frames per second</b>. Additional frames will be skipped. Reducing this value will increase the number of skipped frames and reduce the file size.</string>562 <string>Controls the maximum number of <b>frames per second</b>. Additional frames will be skipped. Reducing this value will increase the number of skipped frames and reduce the file size.</string> 578 563 </property> 579 564 <property name="orientation"> … … 604 589 </widget> 605 590 </item> 606 <item row="2" column="2" >591 <item row="2" column="2" colspan="2"> 607 592 <widget class="QSpinBox" name="m_pEditorVideoCaptureFrameRate"> 608 593 <property name="whatsThis"> 609 <string>This setting determines the maximum number of <b>frames per second</b>. Additional frames will be skipped. Reducing this value will increase the number of skipped frames and reduce the file size.</string> 610 </property> 611 </widget> 612 </item> 613 <item row="2" column="3"> 614 <widget class="QLabel" name="m_pLabelVideoCaptureFrameRateUnits"/> 594 <string>Controls the maximum number of <b>frames per second</b>. Additional frames will be skipped. Reducing this value will increase the number of skipped frames and reduce the file size.</string> 595 </property> 596 </widget> 615 597 </item> 616 598 <item row="4" column="0"> … … 636 618 <widget class="QIAdvancedSlider" name="m_pSliderVideoCaptureQuality"> 637 619 <property name="whatsThis"> 638 <string> This setting determines the <b>quality</b>. Increasing this value will make the video look better at the cost of an increased file size.</string>620 <string>Controls the <b>quality</b>. Increasing this value will make the video look better at the cost of an increased file size.</string> 639 621 </property> 640 622 <property name="orientation"> … … 681 663 </widget> 682 664 </item> 683 <item row="4" column="2" >665 <item row="4" column="2" colspan="2"> 684 666 <widget class="QSpinBox" name="m_pEditorVideoCaptureBitRate"> 685 667 <property name="whatsThis"> 686 <string>This setting determines the bitrate in <b>kilobits per second</b>. Increasing this value will make the video look better at the cost of an increased file size.</string> 687 </property> 688 </widget> 689 </item> 690 <item row="4" column="3"> 691 <widget class="QLabel" name="m_pLabelVideoCaptureBitRateUnits"/> 668 <string>Holds the bitrate in <b>kilobits per second</b>. Increasing this value will make the video look better at the cost of an increased file size.</string> 669 </property> 670 </widget> 692 671 </item> 693 672 <item row="6" column="1">
Note:
See TracChangeset
for help on using the changeset viewer.