void UIWizardExportAppPageBasic3::retranslateUi() { /* Translate page: */ setTitle(UIWizardExportApp::tr("Storage settings")); /* Translate objects: */ m_strDefaultApplianceName = UIWizardExportApp::tr("Appliance"); /* Translate widgets: */ m_pUsernameLabel->setText(UIWizardExportApp::tr("&Username:"******"&Password:"******"&Hostname:")); m_pBucketLabel->setText(UIWizardExportApp::tr("&Bucket:")); m_pFileSelectorLabel->setText(UIWizardExportApp::tr("&File:")); m_pFileSelector->setChooseButtonToolTip(tr("Choose a file to export the virtual appliance to...")); m_pFileSelector->setFileDialogTitle(UIWizardExportApp::tr("Please choose a file to export the virtual appliance to")); m_pFileSelector->setFileFilters(UIWizardExportApp::tr("Open Virtualization Format Archive (%1)").arg("*.ova") + ";;" + UIWizardExportApp::tr("Open Virtualization Format (%1)").arg("*.ovf")); m_pFormatComboBoxLabel->setText(UIWizardExportApp::tr("F&ormat:")); m_pFormatComboBox->setItemText(0, UIWizardExportApp::tr("OVF 0.9")); m_pFormatComboBox->setItemText(1, UIWizardExportApp::tr("OVF 1.0")); m_pFormatComboBox->setItemText(2, UIWizardExportApp::tr("OVF 2.0")); m_pFormatComboBox->setItemData(0, UIWizardExportApp::tr("Write in legacy OVF 0.9 format for compatibility " "with other virtualization products."), Qt::ToolTipRole); m_pFormatComboBox->setItemData(1, UIWizardExportApp::tr("Write in standard OVF 1.0 format."), Qt::ToolTipRole); m_pFormatComboBox->setItemData(2, UIWizardExportApp::tr("Write in new experimental OVF 2.0 format."), Qt::ToolTipRole); m_pManifestCheckbox->setToolTip(UIWizardExportApp::tr("Create a Manifest file for automatic data integrity checks on import.")); m_pManifestCheckbox->setText(UIWizardExportApp::tr("Write &Manifest file")); /* Refresh current settings: */ refreshCurrentSettings(); updateFormatComboToolTip(); }
void UIWizardExportAppPageExpert::sltStorageTypeChangeHandler() { /* Call to base-class: */ refreshCurrentSettings(); /* Broadcast complete-change: */ emit completeChanged(); }
void UIWizardExportAppPageExpert::initializePage() { /* Translate page: */ retranslateUi(); /* Call to base-class: */ refreshCurrentSettings(); refreshApplianceSettingsWidget(); }
void UIWizardExportAppPageExpert::sltVMSelectionChangeHandler() { /* Call to base-class: */ refreshCurrentSettings(); refreshApplianceSettingsWidget(); /* Broadcast complete-change: */ emit completeChanged(); }