Changeset 78074 in vbox
- Timestamp:
- Apr 10, 2019 10:43:14 AM (6 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
r78062 r78074 68 68 , m_pManifestCheckbox(0) 69 69 , m_pIncludeISOsCheckbox(0) 70 , m_pAccount ComboBoxLabel(0)70 , m_pAccountLabel(0) 71 71 , m_pAccountComboBox(0) 72 72 , m_pAccountToolButton(0) … … 930 930 m_pSettingsLayout2->setColumnStretch(1, 1); 931 931 932 /* Create providerlabel: */933 m_pAccount ComboBoxLabel = new QLabel;934 if (m_pAccount ComboBoxLabel)932 /* Create account label: */ 933 m_pAccountLabel = new QLabel; 934 if (m_pAccountLabel) 935 935 { 936 m_pAccount ComboBoxLabel->setAlignment(Qt::AlignRight | Qt::AlignTrailing | Qt::AlignVCenter);936 m_pAccountLabel->setAlignment(Qt::AlignRight | Qt::AlignTrailing | Qt::AlignVCenter); 937 937 938 938 /* Add into layout: */ 939 m_pSettingsLayout2->addWidget(m_pAccount ComboBoxLabel, 0, 0);939 m_pSettingsLayout2->addWidget(m_pAccountLabel, 0, 0); 940 940 } 941 941 /* Create sub-layout: */ … … 946 946 pSubLayout->setSpacing(1); 947 947 948 /* Create providercombo-box: */948 /* Create account combo-box: */ 949 949 m_pAccountComboBox = new QComboBox; 950 950 if (m_pAccountComboBox) 951 951 { 952 m_pAccount ComboBoxLabel->setBuddy(m_pAccountComboBox);952 m_pAccountLabel->setBuddy(m_pAccountComboBox); 953 953 954 954 /* Add into layout: */ 955 955 pSubLayout->addWidget(m_pAccountComboBox); 956 956 } 957 /* Create provider combo-box: */957 /* Create account tool-button: */ 958 958 m_pAccountToolButton = new QIToolButton; 959 959 if (m_pAccountToolButton) … … 1003 1003 /* Populate MAC address policies: */ 1004 1004 populateMACAddressPolicies(); 1005 /* Populate providers: */1005 /* Populate accounts: */ 1006 1006 populateAccounts(); 1007 /* Populate profileproperties: */1007 /* Populate account properties: */ 1008 1008 populateAccountProperties(); 1009 1009 … … 1121 1121 m_pIncludeISOsCheckbox->setText(UIWizardExportApp::tr("&Include ISO image files")); 1122 1122 1123 /* Translate Account combo-box: */1124 m_pAccount ComboBoxLabel->setText(UIWizardExportApp::tr("&Account:"));1123 /* Translate Account label: */ 1124 m_pAccountLabel->setText(UIWizardExportApp::tr("&Account:")); 1125 1125 1126 1126 /* Adjust label widths: */ … … 1130 1130 labels << m_pMACComboBoxLabel; 1131 1131 labels << m_pAdditionalLabel; 1132 labels << m_pAccount ComboBoxLabel;1132 labels << m_pAccountLabel; 1133 1133 int iMaxWidth = 0; 1134 1134 foreach (QWidget *pLabel, labels) -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageBasic2.h
r77388 r78074 219 219 QCheckBox *m_pIncludeISOsCheckbox; 220 220 221 /** Holds the account combo-boxlabel instance. */222 QLabel *m_pAccount ComboBoxLabel;221 /** Holds the account label instance. */ 222 QLabel *m_pAccountLabel; 223 223 /** Holds the account combo-box instance. */ 224 224 QComboBox *m_pAccountComboBox; -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageExpert.cpp
r77388 r78074 264 264 265 265 /* Create account label: */ 266 m_pAccount ComboBoxLabel = new QLabel;267 if (m_pAccount ComboBoxLabel)268 { 269 m_pAccount ComboBoxLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);270 271 /* Add into layout: */ 272 m_pSettingsLayout2->addWidget(m_pAccount ComboBoxLabel, 0, 0);266 m_pAccountLabel = new QLabel; 267 if (m_pAccountLabel) 268 { 269 m_pAccountLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter); 270 271 /* Add into layout: */ 272 m_pSettingsLayout2->addWidget(m_pAccountLabel, 0, 0); 273 273 } 274 274 /* Create sub-layout: */ … … 279 279 pSubLayout->setSpacing(1); 280 280 281 /* Create providercombo-box: */281 /* Create account combo-box: */ 282 282 m_pAccountComboBox = new QComboBox; 283 283 if (m_pAccountComboBox) 284 284 { 285 m_pAccount ComboBoxLabel->setBuddy(m_pAccountComboBox);285 m_pAccountLabel->setBuddy(m_pAccountComboBox); 286 286 287 287 /* Add into layout: */ 288 288 pSubLayout->addWidget(m_pAccountComboBox); 289 289 } 290 /* Create provider combo-box: */290 /* Create account tool-button: */ 291 291 m_pAccountToolButton = new QIToolButton; 292 292 if (m_pAccountToolButton) … … 462 462 m_pIncludeISOsCheckbox->setText(UIWizardExportApp::tr("&Include ISO image files")); 463 463 464 /* Translate Account combo-box: */465 m_pAccount ComboBoxLabel->setText(UIWizardExportApp::tr("&Account:"));464 /* Translate Account label: */ 465 m_pAccountLabel->setText(UIWizardExportApp::tr("&Account:")); 466 466 467 467 /* Adjust label widths: */ … … 471 471 labels << m_pMACComboBoxLabel; 472 472 labels << m_pAdditionalLabel; 473 labels << m_pAccount ComboBoxLabel;473 labels << m_pAccountLabel; 474 474 int iMaxWidth = 0; 475 475 foreach (QWidget *pLabel, labels)
Note:
See TracChangeset
for help on using the changeset viewer.