VirtualBox

Ignore:
Timestamp:
Jul 6, 2018 11:26:56 AM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
123483
Message:

FE/Qt: bugref:9152: Export Appliance wizard: Storage page: Additional label in front of check-box as required by Apple HIG.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageBasic3.cpp

    r72930 r72931  
    362362            }
    363363
     364            /* Create advanced label: */
     365            m_pAdditionalLabel = new QLabel;
     366            if (m_pAdditionalLabel)
     367            {
     368                m_pAdditionalLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
     369
     370                /* Add into layout: */
     371                pSettingsLayout->addWidget(m_pAdditionalLabel, 6, 0);
     372            }
     373            /* Create manifest check-box: */
     374            m_pManifestCheckbox = new QCheckBox;
     375            if (m_pManifestCheckbox)
     376            {
     377                /* Add into layout: */
     378                pSettingsLayout->addWidget(m_pManifestCheckbox, 6, 1);
     379            }
     380
    364381            /* Add into layout: */
    365382            pMainLayout->addLayout(pSettingsLayout);
    366         }
    367 
    368         /* Create manifest check-box: */
    369         m_pManifestCheckbox = new QCheckBox;
    370         if (m_pManifestCheckbox)
    371         {
    372             /* Add into layout: */
    373             pMainLayout->addWidget(m_pManifestCheckbox);
    374383        }
    375384
     
    425434    m_pFormatComboBox->setItemData(2, UIWizardExportApp::tr("Write in new OVF 2.0 format."), Qt::ToolTipRole);
    426435    m_pFormatComboBox->setItemData(3, UIWizardExportApp::tr("Write in Oracle Public Cloud 1.0 format."), Qt::ToolTipRole);
     436    m_pAdditionalLabel->setText(UIWizardExportApp::tr("Additionally:"));
    427437    m_pManifestCheckbox->setToolTip(UIWizardExportApp::tr("Create a Manifest file for automatic data integrity checks on import."));
    428438    m_pManifestCheckbox->setText(UIWizardExportApp::tr("Write &Manifest file"));
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageBasic3.h

    r72920 r72931  
    118118    QComboBox *m_pFormatComboBox;
    119119
     120    /** Holds the additional label instance. */
     121    QLabel    *m_pAdditionalLabel;
    120122    /** Holds the manifest check-box instance. */
    121123    QCheckBox *m_pManifestCheckbox;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette