VirtualBox

Changeset 91205 in vbox


Ignore:
Timestamp:
Sep 10, 2021 3:25:58 PM (3 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:6899. Completing some missing tool tips etc.

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

Legend:

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

    r91152 r91205  
    307307        m_pLabelType->setText(tr("&Version:"));
    308308
     309    if (m_pPathSelector)
     310        m_pPathSelector->setToolTip(tr("The folder hosting the virtual machine"));
     311    if (m_pNameLineEdit)
     312        m_pNameLineEdit->setToolTip(tr("The name of the virtual machine"));
     313
    309314    if (m_pComboFamily)
    310315    {
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/editors/UIWizardCloneVMEditors.cpp

    r90702 r91205  
    148148        connect(m_pNameLineEdit, &QILineEdit::textChanged,
    149149                this, &UICloneVMNamePathEditor::sigCloneNameChanged);
     150        if (m_pNameLabel)
     151            m_pNameLabel->setBuddy(m_pNameLineEdit);
    150152    }
    151153
     
    165167        connect(m_pPathSelector, &UIFilePathSelector::pathChanged,
    166168                this, &UICloneVMNamePathEditor::sigClonePathChanged);
     169    if (m_pPathLabel)
     170        m_pPathLabel->setBuddy(m_pPathSelector);
     171
    167172    }
    168173
     
    173178{
    174179    if (m_pNameLabel)
    175         m_pNameLabel->setText(tr("Name:"));
    176 
     180        m_pNameLabel->setText(tr("&Name:"));
    177181    if (m_pPathLabel)
    178         m_pPathLabel->setText(tr("Path:"));
     182        m_pPathLabel->setText(tr("&Path:"));
     183    if (m_pNameLineEdit)
     184        m_pNameLineEdit->setToolTip("The name of the new virtual machine");
     185    if (m_pPathSelector)
     186        m_pPathSelector->setToolTip("The location of the new virtual machine in host's storage.");
    179187}
    180188
     
    253261    {
    254262        m_pMACComboBoxLabel->setAlignment(Qt::AlignRight | Qt::AlignTrailing | Qt::AlignVCenter);
    255         m_pMACComboBoxLabel->setBuddy(m_pMACComboBox);
    256263        m_pContainerLayout->addWidget(m_pMACComboBoxLabel, 2, 0, 1, 1);
    257264    }
     
    263270        connect(m_pMACComboBox, static_cast<void(QComboBox::*)(int)>(&QComboBox::currentIndexChanged),
    264271                this, &UICloneVMAdditionalOptionsEditor::sltMACAddressClonePolicyChanged);
     272        if (m_pMACComboBoxLabel)
     273            m_pMACComboBoxLabel->setBuddy(m_pMACComboBox);
    265274    }
    266275    m_pMACComboBox->blockSignals(true);
     
    311320void UICloneVMAdditionalOptionsEditor::retranslateUi()
    312321{
    313     m_pMACComboBoxLabel->setText(tr("MAC Address &Policy:"));
     322    m_pMACComboBoxLabel->setText(tr("MAC Address P&olicy:"));
     323    m_pMACComboBox->setToolTip(tr("MAC address policy for clonning:"));
    314324    for (int i = 0; i < m_pMACComboBox->count(); ++i)
    315325    {
     
    350360    {
    351361        m_pKeepHWUUIDsCheckBox->setToolTip(tr("Don't change hardware UUIDs during cloning."));
    352         m_pKeepHWUUIDsCheckBox->setText(tr("Keep &Hardware UUIDs"));
     362        m_pKeepHWUUIDsCheckBox->setText(tr("Keep Hard&ware UUIDs"));
    353363    }
    354364
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