Changeset 91205 in vbox
- Timestamp:
- Sep 10, 2021 3:25:58 PM (3 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 2 edited
-
settings/editors/UINameAndSystemEditor.cpp (modified) (1 diff)
-
wizards/editors/UIWizardCloneVMEditors.cpp (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UINameAndSystemEditor.cpp
r91152 r91205 307 307 m_pLabelType->setText(tr("&Version:")); 308 308 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 309 314 if (m_pComboFamily) 310 315 { -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/editors/UIWizardCloneVMEditors.cpp
r90702 r91205 148 148 connect(m_pNameLineEdit, &QILineEdit::textChanged, 149 149 this, &UICloneVMNamePathEditor::sigCloneNameChanged); 150 if (m_pNameLabel) 151 m_pNameLabel->setBuddy(m_pNameLineEdit); 150 152 } 151 153 … … 165 167 connect(m_pPathSelector, &UIFilePathSelector::pathChanged, 166 168 this, &UICloneVMNamePathEditor::sigClonePathChanged); 169 if (m_pPathLabel) 170 m_pPathLabel->setBuddy(m_pPathSelector); 171 167 172 } 168 173 … … 173 178 { 174 179 if (m_pNameLabel) 175 m_pNameLabel->setText(tr("Name:")); 176 180 m_pNameLabel->setText(tr("&Name:")); 177 181 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."); 179 187 } 180 188 … … 253 261 { 254 262 m_pMACComboBoxLabel->setAlignment(Qt::AlignRight | Qt::AlignTrailing | Qt::AlignVCenter); 255 m_pMACComboBoxLabel->setBuddy(m_pMACComboBox);256 263 m_pContainerLayout->addWidget(m_pMACComboBoxLabel, 2, 0, 1, 1); 257 264 } … … 263 270 connect(m_pMACComboBox, static_cast<void(QComboBox::*)(int)>(&QComboBox::currentIndexChanged), 264 271 this, &UICloneVMAdditionalOptionsEditor::sltMACAddressClonePolicyChanged); 272 if (m_pMACComboBoxLabel) 273 m_pMACComboBoxLabel->setBuddy(m_pMACComboBox); 265 274 } 266 275 m_pMACComboBox->blockSignals(true); … … 311 320 void UICloneVMAdditionalOptionsEditor::retranslateUi() 312 321 { 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:")); 314 324 for (int i = 0; i < m_pMACComboBox->count(); ++i) 315 325 { … … 350 360 { 351 361 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")); 353 363 } 354 364
Note:
See TracChangeset
for help on using the changeset viewer.

