Changeset 91460 in vbox for trunk/src/VBox
- Timestamp:
- Sep 29, 2021 3:03:12 PM (3 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageBasic2.cpp
r91368 r91460 561 561 , m_pFormatComboBoxLabel(0) 562 562 , m_pFormatComboBox(0) 563 , m_pSettingsWidget (0)563 , m_pSettingsWidget1(0) 564 564 , m_pSettingsLayout1(0) 565 565 , m_pFileSelectorLabel(0) … … 624 624 pMainLayout->addWidget(m_pLabelSettings); 625 625 626 /* Create settings layout: */627 m_pSettingsWidget = new QStackedWidget(this);628 if (m_pSettingsWidget )626 /* Create settings widget 1: */ 627 m_pSettingsWidget1 = new QStackedWidget(this); 628 if (m_pSettingsWidget1) 629 629 { 630 630 /* Create settings pane 1: */ 631 QWidget *pSettingsPane1 = new QWidget(m_pSettingsWidget );631 QWidget *pSettingsPane1 = new QWidget(m_pSettingsWidget1); 632 632 if (pSettingsPane1) 633 633 { … … 701 701 702 702 /* Add into layout: */ 703 m_pSettingsWidget ->addWidget(pSettingsPane1);703 m_pSettingsWidget1->addWidget(pSettingsPane1); 704 704 } 705 705 706 706 /* Create settings pane 2: */ 707 QWidget *pSettingsPane2 = new QWidget(m_pSettingsWidget );707 QWidget *pSettingsPane2 = new QWidget(m_pSettingsWidget1); 708 708 if (pSettingsPane2) 709 709 { … … 795 795 796 796 /* Add into layout: */ 797 m_pSettingsWidget ->addWidget(pSettingsPane2);797 m_pSettingsWidget1->addWidget(pSettingsPane2); 798 798 } 799 799 800 800 /* Add into layout: */ 801 pMainLayout->addWidget(m_pSettingsWidget );801 pMainLayout->addWidget(m_pSettingsWidget1); 802 802 } 803 803 } … … 1081 1081 1082 1082 /* Refresh settings widget state: */ 1083 refreshStackedWidget(m_pSettingsWidget , wizard()->isFormatCloudOne());1083 refreshStackedWidget(m_pSettingsWidget1, wizard()->isFormatCloudOne()); 1084 1084 1085 1085 /* Update export settings: */ -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageBasic2.h
r91368 r91460 220 220 QIComboBox *m_pFormatComboBox; 221 221 222 /** Holds the settings widget instance. */223 QStackedWidget *m_pSettingsWidget ;222 /** Holds the settings widget 1 instance. */ 223 QStackedWidget *m_pSettingsWidget1; 224 224 225 225 /** Holds the settings layout 1. */ -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageExpert.cpp
r91368 r91460 72 72 , m_pFormatComboBoxLabel(0) 73 73 , m_pFormatComboBox(0) 74 , m_pSettingsWidget (0)74 , m_pSettingsWidget1(0) 75 75 , m_pSettingsLayout1(0) 76 76 , m_pFileSelectorLabel(0) … … 222 222 223 223 /* Create settings widget: */ 224 m_pSettingsWidget = new QStackedWidget;225 if (m_pSettingsWidget )224 m_pSettingsWidget1 = new QStackedWidget; 225 if (m_pSettingsWidget1) 226 226 { 227 227 /* Create settings pane 1: */ 228 QWidget *pSettingsPane1 = new QWidget(m_pSettingsWidget );228 QWidget *pSettingsPane1 = new QWidget(m_pSettingsWidget1); 229 229 if (pSettingsPane1) 230 230 { … … 315 315 316 316 /* Add into layout: */ 317 m_pSettingsWidget ->addWidget(pSettingsPane1);317 m_pSettingsWidget1->addWidget(pSettingsPane1); 318 318 } 319 319 320 320 /* Create settings pane 2: */ 321 QWidget *pSettingsPane2 = new QWidget(m_pSettingsWidget );321 QWidget *pSettingsPane2 = new QWidget(m_pSettingsWidget1); 322 322 if (pSettingsPane2) 323 323 { … … 404 404 405 405 /* Add into layout: */ 406 m_pSettingsWidget ->addWidget(pSettingsPane2);406 m_pSettingsWidget1->addWidget(pSettingsPane2); 407 407 } 408 408 409 409 /* Add into layout: */ 410 pSettingsCntLayout->addWidget(m_pSettingsWidget );410 pSettingsCntLayout->addWidget(m_pSettingsWidget1); 411 411 } 412 412 } … … 737 737 738 738 /* Refresh settings widget state: */ 739 refreshStackedWidget(m_pSettingsWidget , wizard()->isFormatCloudOne());739 refreshStackedWidget(m_pSettingsWidget1, wizard()->isFormatCloudOne()); 740 740 refreshStackedLayout(m_pSettingsLayout, wizard()->isFormatCloudOne()); 741 741 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageExpert.h
r91368 r91460 164 164 QIComboBox *m_pFormatComboBox; 165 165 166 /** Holds the settings widget instance. */167 QStackedWidget *m_pSettingsWidget ;166 /** Holds the settings widget 1 instance. */ 167 QStackedWidget *m_pSettingsWidget1; 168 168 169 169 /** Holds the settings layout 1. */
Note:
See TracChangeset
for help on using the changeset viewer.