VirtualBox

Changeset 56107 in vbox


Ignore:
Timestamp:
May 27, 2015 4:11:10 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
100632
Message:

FE/Qt: VM settings: Display page: NLS consistency fix.

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  
    493493    /* Screen stuff: */
    494494    CSystemProperties sys = vboxGlobal().virtualBox().GetSystemProperties();
    495     m_pLabelVideoMemorySizeMin->setText(tr("<qt>%1&nbsp;MB</qt>").arg(m_iMinVRAM));
    496     m_pLabelVideoMemorySizeMax->setText(tr("<qt>%1&nbsp;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));
    499502
    500503    /* Remote Display stuff: */
     
    504507
    505508    /* Video Capture stuff: */
     509    m_pEditorVideoCaptureFrameRate->setSuffix(QString(" %1").arg(tr("fps")));
     510    m_pEditorVideoCaptureBitRate->setSuffix(QString(" %1").arg(tr("kbps")));
    506511    m_pComboVideoCaptureSize->setItemText(0, tr("User Defined"));
    507512    m_pLabelVideoCaptureFrameRateMin->setText(tr("%1 fps").arg(m_pSliderVideoCaptureFrameRate->minimum()));
    508513    m_pLabelVideoCaptureFrameRateMax->setText(tr("%1 fps").arg(m_pSliderVideoCaptureFrameRate->maximum()));
    509     m_pLabelVideoCaptureFrameRateUnits->setText(tr("fps"));
    510514    m_pLabelVideoCaptureQualityMin->setText(tr("low", "quality"));
    511515    m_pLabelVideoCaptureQualityMed->setText(tr("medium", "quality"));
    512516    m_pLabelVideoCaptureQualityMax->setText(tr("high", "quality"));
    513     m_pLabelVideoCaptureBitRateUnits->setText(tr("kbps"));
    514517
    515518    updateVideoCaptureSizeHint();
     
    527530    m_pLabelVideoMemorySizeMax->setEnabled(isMachineOffline());
    528531    m_pEditorVideoMemorySize->setEnabled(isMachineOffline());
    529     m_pLabelVideoMemoryUnit->setEnabled(isMachineOffline());
    530532    m_pLabelVideoScreenCount->setEnabled(isMachineOffline());
    531533    m_pSliderVideoScreenCount->setEnabled(isMachineOffline());
     
    660662    m_pContainerSliderVideoCaptureFrameRate->setEnabled(fIsVideoCaptureOptionsEnabled);
    661663    m_pEditorVideoCaptureFrameRate->setEnabled(fIsVideoCaptureOptionsEnabled);
    662     m_pLabelVideoCaptureFrameRateUnits->setEnabled(fIsVideoCaptureOptionsEnabled);
    663664
    664665    m_pLabelVideoCaptureRate->setEnabled(fIsVideoCaptureOptionsEnabled);
    665666    m_pContainerSliderVideoCaptureQuality->setEnabled(fIsVideoCaptureOptionsEnabled);
    666667    m_pEditorVideoCaptureBitRate->setEnabled(fIsVideoCaptureOptionsEnabled);
    667     m_pLabelVideoCaptureBitRateUnits->setEnabled(fIsVideoCaptureOptionsEnabled);
    668668
    669669    m_pLabelVideoCaptureScreens->setEnabled(fIsVideoCaptureScreenOptionEnabled);
     
    977977    m_pSliderVideoMemorySize->setWarningHint(1, qMin((int)uNeedMBytes, m_iMaxVRAMVisible));
    978978    m_pSliderVideoMemorySize->setOptimalHint(qMin((int)uNeedMBytes, m_iMaxVRAMVisible), m_iMaxVRAMVisible);
    979     m_pLabelVideoMemorySizeMax->setText(tr("<qt>%1&nbsp;MB</qt>").arg(m_iMaxVRAMVisible));
     979    m_pLabelVideoMemorySizeMax->setText(tr("%1 MB").arg(m_iMaxVRAMVisible));
    980980}
    981981
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsDisplay.ui

    r55719 r56107  
    9090           </widget>
    9191          </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>
    9992          <item row="2" column="0">
    10093           <widget class="QLabel" name="m_pLabelVideoScreenCount">
     
    179172            </item>
    180173            <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"/>
    186175            </item>
    187176            <item row="1" column="1">
     
    199188            </item>
    200189            <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"/>
    206191            </item>
    207192           </layout>
     
    220205           <widget class="QLabel" name="m_pLabelHiDPI">
    221206            <property name="text">
    222              <string>HiDPI:</string>
     207             <string>HiDPI Support:</string>
    223208            </property>
    224209            <property name="alignment">
     
    227212           </widget>
    228213          </item>
    229           <item row="6" column="1" colspan="2">
     214          <item row="6" column="1">
    230215           <widget class="QCheckBox" name="m_pCheckBoxUnscaledHiDPIOutput">
    231216            <property name="sizePolicy">
     
    253238           </widget>
    254239          </item>
    255           <item row="7" column="1" colspan="2">
     240          <item row="7" column="1">
    256241           <widget class="QCheckBox" name="m_pCheckbox3D">
    257242            <property name="sizePolicy">
     
    269254           </widget>
    270255          </item>
    271           <item row="8" column="1" colspan="2">
     256          <item row="8" column="1">
    272257           <widget class="QCheckBox" name="m_pCheckbox2DVideo">
    273258            <property name="sizePolicy">
     
    359344              <widget class="QLineEdit" name="m_pEditorRemoteDisplayPort">
    360345               <property name="whatsThis">
    361                 <string>The VRDP Server port number. You may specify &lt;tt&gt;0&lt;/tt&gt; (zero), to select port 3389, the standard port for RDP.</string>
     346                <string>Holds the VRDP Server port number. You may specify &lt;tt&gt;0&lt;/tt&gt; (zero), to select port 3389, the standard port for RDP.</string>
    362347               </property>
    363348              </widget>
     
    379364              <widget class="QComboBox" name="m_pComboRemoteDisplayAuthMethod">
    380365               <property name="whatsThis">
    381                 <string>Defines the VRDP authentication method.</string>
     366                <string>Selects the VRDP authentication method.</string>
    382367               </property>
    383368              </widget>
     
    399384              <widget class="QLineEdit" name="m_pEditorRemoteDisplayTimeout">
    400385               <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>
    402387               </property>
    403388              </widget>
     
    422407               </property>
    423408               <property name="whatsThis">
    424                 <string>Specifies whether multiple simultaneous connections to the VM are permitted.</string>
     409                <string>When checked, multiple simultaneous connections to the VM are permitted.</string>
    425410               </property>
    426411               <property name="text">
     
    509494              <widget class="VBoxFilePathSelectorWidget" name="m_pEditorVideoCapturePath">
    510495               <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>
    512497               </property>
    513498              </widget>
     
    535520               </property>
    536521               <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>
    538523               </property>
    539524              </widget>
     
    542527              <widget class="QSpinBox" name="m_pEditorVideoCaptureWidth">
    543528               <property name="whatsThis">
    544                 <string>This setting determines the &lt;b>horizontal&lt;/b> resolution (frame width) of the recorded video.</string>
     529                <string>Holds the &lt;b>horizontal&lt;/b> resolution (frame width) of the recorded video.</string>
    545530               </property>
    546531              </widget>
     
    549534              <widget class="QSpinBox" name="m_pEditorVideoCaptureHeight">
    550535               <property name="whatsThis">
    551                 <string>This setting determines the &lt;b>vertical&lt;/b> resolution (frame height) of the recorded video.</string>
     536                <string>Holds the &lt;b>vertical&lt;/b> resolution (frame height) of the recorded video.</string>
    552537               </property>
    553538              </widget>
     
    575560                 <widget class="QIAdvancedSlider" name="m_pSliderVideoCaptureFrameRate">
    576561                  <property name="whatsThis">
    577                    <string>This setting determines the maximum number of &lt;b>frames per second&lt;/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 &lt;b>frames per second&lt;/b>. Additional frames will be skipped. Reducing this value will increase the number of skipped frames and reduce the file size.</string>
    578563                  </property>
    579564                  <property name="orientation">
     
    604589              </widget>
    605590             </item>
    606              <item row="2" column="2">
     591             <item row="2" column="2" colspan="2">
    607592              <widget class="QSpinBox" name="m_pEditorVideoCaptureFrameRate">
    608593               <property name="whatsThis">
    609                 <string>This setting determines the maximum number of &lt;b>frames per second&lt;/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 &lt;b>frames per second&lt;/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>
    615597             </item>
    616598             <item row="4" column="0">
     
    636618                 <widget class="QIAdvancedSlider" name="m_pSliderVideoCaptureQuality">
    637619                  <property name="whatsThis">
    638                    <string>This setting determines the &lt;b>quality&lt;/b>. Increasing this value will make the video look better at the cost of an increased file size.</string>
     620                   <string>Controls the &lt;b>quality&lt;/b>. Increasing this value will make the video look better at the cost of an increased file size.</string>
    639621                  </property>
    640622                  <property name="orientation">
     
    681663              </widget>
    682664             </item>
    683              <item row="4" column="2">
     665             <item row="4" column="2" colspan="2">
    684666              <widget class="QSpinBox" name="m_pEditorVideoCaptureBitRate">
    685667               <property name="whatsThis">
    686                 <string>This setting determines the bitrate in &lt;b>kilobits per second&lt;/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 &lt;b>kilobits per second&lt;/b>. Increasing this value will make the video look better at the cost of an increased file size.</string>
     669               </property>
     670              </widget>
    692671             </item>
    693672             <item row="6" column="1">
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette