Changeset 86587 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Oct 15, 2020 10:36:33 AM (4 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageBasic2.cpp
r86355 r86587 68 68 , m_pProfileComboBox(0) 69 69 , m_pProfileToolButton(0) 70 , m_pMachineLabel(0) 71 , m_pRadioDoNotAsk(0) 72 , m_pRadioAskThenExport(0) 73 , m_pRadioExportThenAsk(0) 70 74 { 71 75 } … … 815 819 m_pSettingsLayout2->addWidget(m_pMachineLabel, 1, 0); 816 820 } 821 /* Create Do Not Ask button: */ 822 m_pRadioDoNotAsk = new QRadioButton; 823 if (m_pRadioDoNotAsk) 824 { 825 /* Add into layout: */ 826 m_pSettingsLayout2->addWidget(m_pRadioDoNotAsk, 1, 1); 827 } 828 /* Create Ask Then Export button: */ 829 m_pRadioAskThenExport = new QRadioButton; 830 if (m_pRadioAskThenExport) 831 { 832 /* Add into layout: */ 833 m_pSettingsLayout2->addWidget(m_pRadioAskThenExport, 2, 1); 834 } 817 835 /* Create Export Then Ask button: */ 818 836 m_pRadioExportThenAsk = new QRadioButton; … … 820 838 { 821 839 /* Add into layout: */ 822 m_pSettingsLayout2->addWidget(m_pRadioExportThenAsk, 1, 1); 823 } 824 /* Create Ask Then Export button: */ 825 m_pRadioAskThenExport = new QRadioButton; 826 if (m_pRadioAskThenExport) 827 { 828 /* Add into layout: */ 829 m_pSettingsLayout2->addWidget(m_pRadioAskThenExport, 2, 1); 830 } 831 /* Create Do Not Ask button: */ 832 m_pRadioDoNotAsk = new QRadioButton; 833 if (m_pRadioDoNotAsk) 834 { 835 /* Add into layout: */ 836 m_pSettingsLayout2->addWidget(m_pRadioDoNotAsk, 3, 1); 840 m_pSettingsLayout2->addWidget(m_pRadioExportThenAsk, 3, 1); 837 841 } 838 842 } … … 969 973 /* Translate option label: */ 970 974 m_pMachineLabel->setText(UIWizardExportApp::tr("Machine Creation:")); 975 m_pRadioDoNotAsk->setText(UIWizardExportApp::tr("Do not ask me about it, leave custom &image for future usage")); 976 m_pRadioAskThenExport->setText(UIWizardExportApp::tr("Ask me about it &before exporting disk as custom image")); 971 977 m_pRadioExportThenAsk->setText(UIWizardExportApp::tr("Ask me about it &after exporting disk as custom image")); 972 m_pRadioAskThenExport->setText(UIWizardExportApp::tr("Ask me about it &before exporting disk as custom image"));973 m_pRadioDoNotAsk->setText(UIWizardExportApp::tr("Do ¬ ask me about it, leave custom image for future usage"));974 978 975 979 /* Adjust label widths: */ -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageBasic2.h
r86346 r86587 240 240 /** Holds the machine label instance. */ 241 241 QLabel *m_pMachineLabel; 242 /** Holds the don't ask radio button instance. */ 243 QRadioButton *m_pRadioDoNotAsk; 244 /** Holds the ask then export radio button instance. */ 245 QRadioButton *m_pRadioAskThenExport; 242 246 /** Holds the export then ask radio button instance. */ 243 247 QRadioButton *m_pRadioExportThenAsk; 244 /** Holds the ask then export radio button instance. */245 QRadioButton *m_pRadioAskThenExport;246 /** Holds the don't ask radio button instance. */247 QRadioButton *m_pRadioDoNotAsk;248 248 }; 249 249 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageExpert.cpp
r86346 r86587 361 361 m_pSettingsLayout2->addWidget(m_pMachineLabel, 1, 0); 362 362 } 363 /* Create Do Not Ask button: */ 364 m_pRadioDoNotAsk = new QRadioButton; 365 if (m_pRadioDoNotAsk) 366 { 367 /* Add into layout: */ 368 m_pSettingsLayout2->addWidget(m_pRadioDoNotAsk, 1, 1); 369 } 370 /* Create Ask Then Export button: */ 371 m_pRadioAskThenExport = new QRadioButton; 372 if (m_pRadioAskThenExport) 373 { 374 /* Add into layout: */ 375 m_pSettingsLayout2->addWidget(m_pRadioAskThenExport, 2, 1); 376 } 363 377 /* Create Export Then Ask button: */ 364 378 m_pRadioExportThenAsk = new QRadioButton; … … 366 380 { 367 381 /* Add into layout: */ 368 m_pSettingsLayout2->addWidget(m_pRadioExportThenAsk, 1, 1); 369 } 370 /* Create Ask Then Export button: */ 371 m_pRadioAskThenExport = new QRadioButton; 372 if (m_pRadioAskThenExport) 373 { 374 /* Add into layout: */ 375 m_pSettingsLayout2->addWidget(m_pRadioAskThenExport, 2, 1); 376 } 377 /* Create Do Not Ask button: */ 378 m_pRadioDoNotAsk = new QRadioButton; 379 if (m_pRadioDoNotAsk) 380 { 381 /* Add into layout: */ 382 m_pSettingsLayout2->addWidget(m_pRadioDoNotAsk, 3, 1); 382 m_pSettingsLayout2->addWidget(m_pRadioExportThenAsk, 3, 1); 383 383 } 384 384 } … … 517 517 /* Translate option label: */ 518 518 m_pMachineLabel->setText(UIWizardExportApp::tr("Machine Creation:")); 519 m_pRadioDoNotAsk->setText(UIWizardExportApp::tr("Do not ask me about it, leave custom &image for future usage")); 520 m_pRadioAskThenExport->setText(UIWizardExportApp::tr("Ask me about it &before exporting disk as custom image")); 519 521 m_pRadioExportThenAsk->setText(UIWizardExportApp::tr("Ask me about it &after exporting disk as custom image")); 520 m_pRadioAskThenExport->setText(UIWizardExportApp::tr("Ask me about it &before exporting disk as custom image"));521 m_pRadioDoNotAsk->setText(UIWizardExportApp::tr("Do ¬ ask me about it, leave custom image for future usage"));522 522 523 523 /* Adjust label widths: */
Note:
See TracChangeset
for help on using the changeset viewer.