VirtualBox

Changeset 91218 in vbox


Ignore:
Timestamp:
Sep 13, 2021 11:57:24 AM (3 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:6899. Further fixes on wizard widget tool tips.

Location:
trunk/src/VBox/Frontends/VirtualBox/src
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIBaseMemoryEditor.cpp

    r87612 r91218  
    281281    if (m_pLabelMemoryMax)
    282282        m_pLabelMemoryMax->setText(tr("%1 MB").arg(m_pSlider->maxRAM()));
     283
     284    QString strToolTip(tr("Specify the amount of RAM the virtual machine will have"));
     285
    283286    if (m_pSpinBox)
     287    {
    284288        m_pSpinBox->setSuffix(QString(" %1").arg(tr("MB")));
     289        m_pSpinBox->setToolTip(strToolTip);
     290    }
     291    if (m_pSlider)
     292        m_pSlider->setToolTip(strToolTip);
    285293}
    286294
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UINameAndSystemEditor.cpp

    r91205 r91218  
    308308
    309309    if (m_pPathSelector)
    310         m_pPathSelector->setToolTip(tr("The folder hosting the virtual machine"));
     310        m_pPathSelector->setToolTip(tr("Select the folder hosting the virtual machine."));
    311311    if (m_pNameLineEdit)
    312         m_pNameLineEdit->setToolTip(tr("The name of the virtual machine"));
     312        m_pNameLineEdit->setToolTip(tr("Enter a name for the new virtual machine."));
    313313
    314314    if (m_pComboFamily)
    315315    {
    316         m_pComboFamily->setWhatsThis(tr("Selects the operating system family that "
     316        m_pComboFamily->setWhatsThis(tr("Select the operating system family that "
    317317                                        "you plan to install into this virtual machine."));
    318         m_pComboFamily->setToolTip(tr("Selects the operating system family that "
     318        m_pComboFamily->setToolTip(tr("Select the operating system family that "
    319319                                        "you plan to install into this virtual machine."));
    320320    }
     
    322322    if (m_pComboType)
    323323    {
    324         m_pComboType->setWhatsThis(tr("Selects the operating system type that "
     324        m_pComboType->setWhatsThis(tr("Select the operating system type that "
    325325                                      "you plan to install into this virtual machine "
    326326                                      "(called a guest operating system)."));
    327         m_pComboType->setToolTip(tr("Selects the operating system type that "
     327        m_pComboType->setToolTip(tr("Select the operating system type that "
    328328                                      "you plan to install into this virtual machine "
    329329                                      "(called a guest operating system)."));
    330330    }
     331    if (m_pImageSelector)
     332        m_pImageSelector->setToolTip(tr("Select an ISO image to be attached to the new virtual machine or used in attended install."));
    331333}
    332334
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIVirtualCPUEditor.cpp

    r90066 r91218  
    6565    if (m_pLabelVCPUMax)
    6666        m_pLabelVCPUMax->setText(tr("%1 CPUs", "%1 is host cpu count * 2 for now").arg(m_uMaxVCPUCount));
     67
     68    QString strToolTip(tr("Specify the number of virtual CPUs the virtual machine will have"));
     69    if (m_pSlider)
     70        m_pSlider->setToolTip(strToolTip);
     71    if (m_pSpinBox)
     72        m_pSpinBox->setToolTip(strToolTip);
    6773}
    6874
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIApplianceImportEditorWidget.cpp

    r90564 r91218  
    310310    {
    311311        m_pImportHDsAsVDI->setText(tr("&Import hard drives as VDI"));
    312         m_pImportHDsAsVDI->setToolTip(tr("When checked, all the hard drives that belong to this appliance will be imported in VDI format."));
     312        m_pImportHDsAsVDI->setToolTip(tr("Import all the hard drives that belong to this appliance in VDI format."));
    313313    }
    314314
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIMediumSizeEditor.cpp

    r90967 r91218  
    6666    m_enmSizeSuffix = UITranslator::parseSizeSuffix(m_pEditor->text());
    6767    m_pEditor->blockSignals(false);
    68 
    69     /* Update the tool-tips: */
    70     updateSizeToolTips(m_uSize);
    7168}
    7269
     
    8077    m_pSlider->setToolTip(tr("Holds the size of this medium."));
    8178    m_pEditor->setToolTip(tr("Holds the size of this medium."));
    82 
    83     /* Translate tool-tips: */
    84     updateSizeToolTips(m_uSize);
    8579}
    8680
     
    9488    m_enmSizeSuffix = UITranslator::parseSizeSuffix(m_pEditor->text());
    9589    m_pEditor->blockSignals(false);
    96     /* Update the tool-tips: */
    97     updateSizeToolTips(m_uSize);
    9890    /* Notify the listeners: */
    9991    emit sigSizeChanged(m_uSize);
     
    118110    m_pSlider->setValue(sizeMBToSlider(m_uSize, m_iSliderScale));
    119111    m_pSlider->blockSignals(false);
    120     /* Update the tool-tips: */
    121     updateSizeToolTips(m_uSize);
    122112    /* Notify the listeners: */
    123113    emit sigSizeChanged(m_uSize);
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/editors/UIHostnameDomainNameEditor.cpp

    r90328 r91218  
    113113void UIHostnameDomainNameEditor::retranslateUi()
    114114{
    115     QString strHostnameTooltip(tr("Type the hostname which will be used in attended install:"));
    116     QString strDomainTooltip(tr("The domain name"));
    117115    if (m_pHostnameLabel)
    118     {
    119116        m_pHostnameLabel->setText(tr("Hostna&me:"));
    120         m_pHostnameLabel->setToolTip(strHostnameTooltip);
    121     }
    122117    if (m_pHostnameLineEdit)
    123         m_pHostnameLineEdit->setToolTip(strHostnameTooltip);
     118        m_pHostnameLineEdit->setToolTip(tr("Type the hostname."));
    124119    if (m_pDomainNameLabel)
    125     {
    126120        m_pDomainNameLabel->setText(tr("&Domain Name:"));
    127         m_pDomainNameLabel->setToolTip(strDomainTooltip);
    128     }
    129     m_pDomainNameLineEdit->setToolTip(strDomainTooltip);
     121    if (m_pDomainNameLineEdit)
     122        m_pDomainNameLineEdit->setToolTip(tr("Enter the domain name."));
    130123}
    131124
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/editors/UIUserNamePasswordEditor.cpp

    r91003 r91218  
    304304void UIUserNamePasswordEditor::retranslateUi()
    305305{
    306     QString strPassword = UIUserNamePasswordEditor::tr("Pass&word");
    307     QString strRepeatPassword = UIUserNamePasswordEditor::tr("&Repeat Password");
    308     QString strUsername = UIUserNamePasswordEditor::tr("U&sername");
     306    QString strPassword = tr("Pass&word");
     307    QString strRepeatPassword = tr("&Repeat Password");
     308    QString strUsername = tr("U&sername");
    309309    if (m_pUserNameLabel)
    310     {
    311310        m_pUserNameLabel->setText(QString("%1%2").arg(strUsername).arg(":"));
    312         m_pUserNameLabel->setToolTip(UIUserNamePasswordEditor::tr("Type the user name which will be used in attended install:"));
    313 
    314     }
     311
    315312    if (m_pPasswordLabel)
    316     {
    317313        m_pPasswordLabel->setText(QString("%1%2").arg(strPassword).arg(":"));
    318         m_pPasswordLabel->setToolTip(UIUserNamePasswordEditor::tr("Type the password for the user name"));
    319 
    320     }
     314
    321315    if (m_pPasswordRepeatLabel)
    322     {
    323316        m_pPasswordRepeatLabel->setText(QString("%1%2").arg(strRepeatPassword).arg(":"));
    324         m_pPasswordRepeatLabel->setToolTip(UIUserNamePasswordEditor::tr("Retype the password:"));
    325     }
    326317
    327318    if (m_fShowPlaceholderText)
     
    343334            m_pPasswordRepeatLineEdit->setPlaceholderText(QString());
    344335    }
    345     m_strPasswordError = UIUserNamePasswordEditor::tr("Invalid password pair");
     336    if(m_pUserNameLineEdit)
     337        m_pUserNameLineEdit->setToolTip(tr("Enter username."));
     338    if (m_pPasswordLineEdit)
     339        m_pPasswordLineEdit->setToolTip(tr("Enter password."));
     340    if (m_pPasswordRepeatLineEdit)
     341        m_pPasswordRepeatLineEdit->setToolTip(tr("Re-enter password."));
     342    m_strPasswordError = tr("Invalid password pair");
    346343}
    347344
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/editors/UIWizardCloneVMEditors.cpp

    r91205 r91218  
    182182        m_pPathLabel->setText(tr("&Path:"));
    183183    if (m_pNameLineEdit)
    184         m_pNameLineEdit->setToolTip("The name of the new virtual machine");
     184        m_pNameLineEdit->setToolTip("Enter a name for the new virtual machine.");
    185185    if (m_pPathSelector)
    186         m_pPathSelector->setToolTip("The location of the new virtual machine in host's storage.");
     186        m_pPathSelector->setToolTip("Specify The location of the new virtual machine in host's storage.");
    187187}
    188188
     
    321321{
    322322    m_pMACComboBoxLabel->setText(tr("MAC Address P&olicy:"));
    323     m_pMACComboBox->setToolTip(tr("MAC address policy for clonning:"));
     323    m_pMACComboBox->setToolTip(tr("Determine MAC address policy for clonning:"));
    324324    for (int i = 0; i < m_pMACComboBox->count(); ++i)
    325325    {
     
    354354    if (m_pKeepDiskNamesCheckBox)
    355355    {
    356         m_pKeepDiskNamesCheckBox->setToolTip(tr("Don't change the disk names during cloning."));
     356        m_pKeepDiskNamesCheckBox->setToolTip(tr("Enable keeping the disk names during cloning."));
    357357        m_pKeepDiskNamesCheckBox->setText(tr("Keep &Disk Names"));
    358358    }
    359359    if (m_pKeepHWUUIDsCheckBox)
    360360    {
    361         m_pKeepHWUUIDsCheckBox->setToolTip(tr("Don't change hardware UUIDs during cloning."));
     361        m_pKeepHWUUIDsCheckBox->setToolTip(tr("Enable keeping hardware UUIDs during cloning."));
    362362        m_pKeepHWUUIDsCheckBox->setText(tr("Keep Hard&ware UUIDs"));
    363363    }
    364 
    365364}
    366365
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/editors/UIWizardDiskEditors.cpp

    r91059 r91218  
    344344    {
    345345        m_pFixedCheckBox->setText(tr("Pre-allocate &Full Size"));
    346         m_pFixedCheckBox->setToolTip(tr("<p>When checked, the virtual disk image will be fully allocated at "
    347                                                        "VM creation time, rather than being allocated dynamically at VM run-time.</p>"));
     346        m_pFixedCheckBox->setToolTip(tr("<p>Allocate the virtual disk image during VM creation."));
    348347    }
    349348    if (m_pSplitBox)
    350349    {
    351         m_pSplitBox->setText(tr("&Split into files of less than 2GB"));
    352         m_pSplitBox->setToolTip(tr("<p>Possible only for some hard disk file types. When checked the virtual disk file will "
    353                                    "be splitted into 2GB parts in the host storage.</p>"));
     350        m_pSplitBox->setText(tr("&Split into 2GB parts"));
     351        m_pSplitBox->setToolTip(tr("<p>Split hard disk file into 2GB parts in the host storage.</p>"));
    354352    }
    355353}
     
    518516        setTitle(tr("Hard Disk File Location and Size"));
    519517    if (m_pLocationOpenButton)
    520         m_pLocationOpenButton->setToolTip(tr("Choose a location for new virtual hard disk file..."));
     518        m_pLocationOpenButton->setToolTip(tr("Specify a location for new virtual hard disk file..."));
    521519
    522520    if (!m_fExpertMode && m_pLocationLabel)
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/editors/UIWizardNewVMEditors.cpp

    r91059 r91218  
    158158{
    159159    if (m_pGAISOFilePathSelector)
    160         m_pGAISOFilePathSelector->setToolTip(UIWizardNewVM::tr("Please select an installation medium (ISO file)"));
     160        m_pGAISOFilePathSelector->setToolTip(UIWizardNewVM::tr("Select an installation medium (ISO file) for the Guest Additions."));
    161161    if (m_pGAISOPathLabel)
    162162        m_pGAISOPathLabel->setText(UIWizardNewVM::tr("GA I&nstallation ISO:"));
    163163    setTitle(UIWizardNewVM::tr("Gu&est Additions"));
    164     setToolTip(UIWizardNewVM::tr("<p>When checked the guest additions will be installed "
    165                                                                     "after the OS install.</p>"));
     164    setToolTip(UIWizardNewVM::tr("<p>Enable installation of the guest additions "
     165                                 "after the guest OS install.</p>"));
    166166}
    167167
     
    269269    {
    270270        m_pStartHeadlessCheckBox->setText(UIWizardNewVM::tr("&Install in Background"));
    271         m_pStartHeadlessCheckBox->setToolTip(UIWizardNewVM::tr("<p>When checked, the newly created virtual machine will be started "
    272                                                                "in headless mode (without a GUI) for the unattended guest OS install.</p>"));
     271        m_pStartHeadlessCheckBox->setToolTip(UIWizardNewVM::tr("<p>Enable headless boot (with no GUI) of the newly created virtual machine "
     272                                                               "for the unattended guest OS install.</p>"));
    273273    }
    274274
     
    283283        m_pHostnameDomainNameEditor->setFirstColumnWidth(iMaxWidth);
    284284    }
     285    if (m_pProductKeyLineEdit)
     286        m_pProductKeyLineEdit->setToolTip(tr("Enter a product key."));
    285287}
    286288
     
    396398    {
    397399        m_pEFICheckBox->setText(UIWizardNewVM::tr("&Enable EFI (special OSes only)"));
    398         m_pEFICheckBox->setToolTip(UIWizardNewVM::tr("<p>When checked, the guest will support the "
    399                                                        "Extended Firmware Interface (EFI), which is required to boot certain "
    400                                                        "guest OSes. Non-EFI aware OSes will not be able to boot if this option is activated.</p>"));
     400        m_pEFICheckBox->setToolTip(UIWizardNewVM::tr("<p>Enable Extended Firmware Interface (EFI), which is required to boot certain "
     401                                                     "guest OSes. Non-EFI aware OSes will not be able to boot if this option is activated.</p>"));
    401402    }
    402403}
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMDiskPage.cpp

    r91166 r91218  
    224224    {
    225225        m_pFixedCheckBox->setText(UIWizardNewVM::tr("Pre-allocate &Full Size"));
    226         m_pFixedCheckBox->setToolTip(UIWizardNewVM::tr("<p>When checked, the virtual disk image will be fully allocated at "
    227                                                        "VM creation time, rather than being allocated dynamically at VM run-time.</p>"));
     226        m_pFixedCheckBox->setToolTip(UIWizardNewVM::tr("<p>Allocate the virtual disk image at VM creation time"));
    228227    }
    229228
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMExpertPage.cpp

    r91164 r91218  
    188188    {
    189189        m_pSkipUnattendedCheckBox->setText(UIWizardNewVM::tr("&Skip Unattended Installation"));
    190         m_pSkipUnattendedCheckBox->setToolTip(UIWizardNewVM::tr("<p>When checked selected ISO file will be mounted to the CD "
    191                                                                 "drive of the virtual machine but the unattended installation "
    192                                                                 "will not start.</p>"));
     190        m_pSkipUnattendedCheckBox->setToolTip(UIWizardNewVM::tr("<p>Disable the unattended install and just mount the ISO.</p>"));
    193191    }
    194192
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMNameOSTypePage.cpp

    r91152 r91218  
    401401    {
    402402        m_pSkipUnattendedCheckBox->setText(UIWizardNewVM::tr("&Skip Unattended Installation"));
    403         m_pSkipUnattendedCheckBox->setToolTip(UIWizardNewVM::tr("<p>When checked selected ISO file will be mounted to the CD "
    404                                                                 "drive of the virtual machine but the unattended installation "
    405                                                                 "will not start.</p>"));
     403        m_pSkipUnattendedCheckBox->setToolTip(UIWizardNewVM::tr("<p>Disable the unattended install and just mount the ISO.</p>"));
    406404    }
    407405
Note: See TracChangeset for help on using the changeset viewer.

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