VirtualBox

Changeset 87318 in vbox for trunk/src


Ignore:
Timestamp:
Jan 20, 2021 10:17:56 AM (4 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9515. Merging unattended install widgets into a single page

Location:
trunk/src/VBox/Frontends/VirtualBox/src
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIToolBox.cpp

    r87301 r87318  
    1717
    1818/* Qt includes: */
     19#include <QCheckBox>
    1920#include <QLabel>
    2021#include <QStyle>
     
    3940};
    4041
    41 /*********************************************************************************************************************************
    42 *   UIToolTitleWidget definition.                                                                                    *
    43 *********************************************************************************************************************************/
    44 
    45 class UIToolBoxTitleWidget : public QWidget
    46 {
    47 
    48     Q_OBJECT;
    49 
    50 signals:
    51 
    52     void sigShowPageWidget();
    53 
    54 public:
    55 
    56     UIToolBoxTitleWidget(QWidget *pParent = 0);
    57     void setText(const QString &strText);
    58 
    59 private:
    60 
    61     void prepare();
    62     QHBoxLayout *m_pLayout;
    63     QLabel      *m_pTitleLabel;
    64 };
    6542
    6643/*********************************************************************************************************************************
     
    7956public:
    8057
    81     UIToolBoxPage(QWidget *pParent = 0);
     58    UIToolBoxPage(bool fEnableCheckBoxEnabled = false, QWidget *pParent = 0);
    8259    void setTitle(const QString &strTitle);
    8360    /* @p pWidget's ownership is transferred to the page. */
     
    8764    int index() const;
    8865    void setIndex(int iIndex);
     66    int totalHeight() const;
     67    int titleHeight() const;
     68    int pageWidgetHeight() const;
    8969
    9070protected:
     
    9272    virtual bool eventFilter(QObject *pWatched, QEvent *pEvent) /* override */;
    9373
     74private slots:
     75
     76    void sltHandleEnableToggle(int iState);
     77
    9478private:
    9579
    96     void prepare();
     80    void prepare(bool fEnableCheckBoxEnabled);
     81
    9782    QVBoxLayout *m_pLayout;
    98     UIToolBoxTitleWidget      *m_pTitleWidget;
     83    QWidget     *m_pTitleContainerWidget;
     84    QLabel      *m_pTitleLabel;
     85    QCheckBox   *m_pEnableCheckBox;
     86
    9987    QWidget     *m_pWidget;
    10088    int          m_iIndex;
     
    10290
    10391/*********************************************************************************************************************************
    104 *   UIToolTitleWidget implementation.                                                                                    *
    105 *********************************************************************************************************************************/
    106 
    107 UIToolBoxTitleWidget::UIToolBoxTitleWidget(QWidget *pParent /* = 0 */)
    108     :QWidget(pParent)
    109 {
    110     prepare();
    111 }
    112 
    113 void UIToolBoxTitleWidget::setText(const QString &strText)
    114 {
    115     if (m_pTitleLabel)
    116         m_pTitleLabel->setText(strText);
    117 }
    118 
    119 void UIToolBoxTitleWidget::prepare()
    120 {
    121     m_pLayout = new QHBoxLayout(this);
    122     m_pLayout->setContentsMargins(1.f * qApp->style()->pixelMetric(QStyle::PM_LayoutLeftMargin),
    123                                   .4f * qApp->style()->pixelMetric(QStyle::PM_LayoutTopMargin),
    124                                   1.f * qApp->style()->pixelMetric(QStyle::PM_LayoutRightMargin),
    125                                   .4f * qApp->style()->pixelMetric(QStyle::PM_LayoutRightMargin));
    126 
    127     m_pTitleLabel = new QLabel;
    128     m_pLayout->addWidget(m_pTitleLabel);
    129 }
    130 
    131 /*********************************************************************************************************************************
    13292*   UIToolBoxPage implementation.                                                                                    *
    13393*********************************************************************************************************************************/
    13494
    135 UIToolBoxPage::UIToolBoxPage(QWidget *pParent /* = 0 */)
     95UIToolBoxPage::UIToolBoxPage(bool fEnableCheckBoxEnabled /* = false */, QWidget *pParent /* = 0 */)
    13696    :QWidget(pParent)
    13797    , m_pLayout(0)
    138     , m_pTitleWidget(0)
     98    , m_pTitleContainerWidget(0)
     99    , m_pTitleLabel(0)
     100    , m_pEnableCheckBox(0)
    139101    , m_pWidget(0)
    140102    , m_iIndex(0)
    141 
    142 {
    143     prepare();
     103{
     104    prepare(fEnableCheckBoxEnabled);
    144105}
    145106
    146107void UIToolBoxPage::setTitle(const QString &strTitle)
    147108{
    148     if (!m_pTitleWidget)
    149         return;
    150     m_pTitleWidget->setText(strTitle);
    151 }
    152 
    153 void UIToolBoxPage::prepare()
     109    if (!m_pTitleLabel)
     110        return;
     111    m_pTitleLabel->setText(strTitle);
     112}
     113
     114void UIToolBoxPage::prepare(bool fEnableCheckBoxEnabled)
    154115{
    155116    m_pLayout = new QVBoxLayout(this);
    156117    m_pLayout->setContentsMargins(0, 0, 0, 0);
    157     m_pTitleWidget = new UIToolBoxTitleWidget;
    158     m_pTitleWidget->installEventFilter(this);
    159     m_pLayout->addWidget(m_pTitleWidget);
     118
     119    m_pTitleContainerWidget = new QWidget;
     120    QHBoxLayout *pTitleLayout = new QHBoxLayout(m_pTitleContainerWidget);
     121    pTitleLayout->setContentsMargins(qApp->style()->pixelMetric(QStyle::PM_LayoutLeftMargin),
     122                                     .4f * qApp->style()->pixelMetric(QStyle::PM_LayoutTopMargin),
     123                                     qApp->style()->pixelMetric(QStyle::PM_LayoutRightMargin),
     124                                     .4f * qApp->style()->pixelMetric(QStyle::PM_LayoutBottomMargin));
     125    if (fEnableCheckBoxEnabled)
     126    {
     127        m_pEnableCheckBox = new QCheckBox;
     128        pTitleLayout->addWidget(m_pEnableCheckBox);
     129        connect(m_pEnableCheckBox, &QCheckBox::stateChanged, this, &UIToolBoxPage::sltHandleEnableToggle);
     130    }
     131
     132    m_pTitleLabel = new QLabel;
     133    m_pTitleLabel->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
     134
     135    m_pTitleLabel->installEventFilter(this);
     136    pTitleLayout->addWidget(m_pTitleLabel);
     137    m_pTitleContainerWidget->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
     138    m_pLayout->addWidget(m_pTitleContainerWidget);
    160139}
    161140
     
    166145    m_pWidget = pWidget;
    167146    m_pLayout->addWidget(m_pWidget);
     147
     148    if (m_pEnableCheckBox)
     149        m_pWidget->setEnabled(m_pEnableCheckBox->checkState() == Qt::Checked);
     150
    168151    m_pWidget->hide();
    169152}
     
    171154void UIToolBoxPage::setTitleBackgroundColor(const QColor &color)
    172155{
    173     if (!m_pTitleWidget)
    174         return;
    175     QPalette palette = m_pTitleWidget->palette();
     156    if (!m_pTitleLabel)
     157        return;
     158    QPalette palette = m_pTitleContainerWidget->palette();
    176159    palette.setColor(QPalette::Window, color);
    177     m_pTitleWidget->setPalette(palette);
    178     m_pTitleWidget->setAutoFillBackground(true);
     160    m_pTitleContainerWidget->setPalette(palette);
     161    m_pTitleContainerWidget->setAutoFillBackground(true);
    179162}
    180163
     
    195178}
    196179
     180int UIToolBoxPage::totalHeight() const
     181{
     182    return pageWidgetHeight() + titleHeight();
     183}
     184
     185int UIToolBoxPage::titleHeight() const
     186{
     187    if (m_pTitleContainerWidget && m_pTitleContainerWidget->sizeHint().isValid())
     188        return m_pTitleContainerWidget->sizeHint().height();
     189    return 0;
     190}
     191
     192int UIToolBoxPage::pageWidgetHeight() const
     193{
     194    if (m_pWidget && m_pWidget->isVisible() && m_pWidget->sizeHint().isValid())
     195        return m_pWidget->sizeHint().height();
     196    return 0;
     197}
     198
    197199bool UIToolBoxPage::eventFilter(QObject *pWatched, QEvent *pEvent)
    198200{
    199     if (pWatched == m_pTitleWidget && pEvent->type() == QEvent::MouseButtonPress)
     201    if (pWatched == m_pTitleLabel && pEvent->type() == QEvent::MouseButtonPress)
    200202        emit sigShowPageWidget();
    201203    return QWidget::eventFilter(pWatched, pEvent);
    202204
    203205}
     206
     207void UIToolBoxPage::sltHandleEnableToggle(int iState)
     208{
     209    if (m_pWidget)
     210        m_pWidget->setEnabled(iState == Qt::Checked);
     211}
     212
    204213
    205214/*********************************************************************************************************************************
     
    209218UIToolBox::UIToolBox(QWidget *pParent /*  = 0 */)
    210219    : QIWithRetranslateUI<QFrame>(pParent)
     220    , m_iCurrentPageIndex(-1)
     221    , m_iPageCount(0)
    211222{
    212223    prepare();
    213 }
    214 
    215 bool UIToolBox::insertItem(int iIndex, QWidget *pWidget, const QString &strTitle)
     224    //setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Minimum);
     225}
     226
     227bool UIToolBox::insertItem(int iIndex, QWidget *pWidget, const QString &strTitle, bool fAddEnableCheckBox /* = false */)
    216228{
    217229    if (m_pages.contains(iIndex))
    218230        return false;
    219     UIToolBoxPage *pNewPage = new UIToolBoxPage;
     231    ++m_iPageCount;
     232    UIToolBoxPage *pNewPage = new UIToolBoxPage(fAddEnableCheckBox, 0);;
    220233
    221234    pNewPage->setWidget(pWidget);
     
    233246            this, &UIToolBox::sltHandleShowPageWidget);
    234247
     248    static int iMaxPageHeight = 0;
     249    int iTotalTitleHeight = 0;
     250    foreach(UIToolBoxPage *pPage, m_pages)
     251    {
     252        if (pWidget && pWidget->sizeHint().isValid())
     253            iMaxPageHeight = qMax(iMaxPageHeight, pWidget->sizeHint().height());
     254        iTotalTitleHeight += pPage->titleHeight();
     255    }
     256    setMinimumHeight(m_iPageCount * (qApp->style()->pixelMetric(QStyle::PM_LayoutTopMargin) +
     257                                     qApp->style()->pixelMetric(QStyle::PM_LayoutBottomMargin)) +
     258                     iTotalTitleHeight +
     259                     iMaxPageHeight);
     260
    235261    return iIndex;
    236262}
     
    256282}
    257283
    258 void UIToolBox::setPageVisible(int iIndex)
    259 {
     284void UIToolBox::setCurrentPage(int iIndex)
     285{
     286    m_iCurrentPageIndex = iIndex;
    260287    QMap<int, UIToolBoxPage*>::iterator iterator = m_pages.find(iIndex);
    261288    if (iterator == m_pages.end())
     
    274301{
    275302    m_pMainLayout = new QVBoxLayout(this);
     303    m_pMainLayout->addStretch();
    276304    //m_pMainLayout->setContentsMargins(0, 0, 0, 0);
    277305
     
    284312    if (!pPage)
    285313        return;
    286     setPageVisible(pPage->index());
     314    setCurrentPage(pPage->index());
     315    update();
    287316}
    288317
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIToolBox.h

    r87301 r87318  
    4545
    4646    UIToolBox(QWidget *pParent = 0);
    47     bool insertItem(int iIndex, QWidget *pWidget, const QString &strTitle);
     47    bool insertItem(int iIndex, QWidget *pWidget, const QString &strTitle, bool fAddEnableCheckBox = false);
    4848    void setItemEnabled(int iIndex, bool fEnabled);
    4949    void setItemText(int iIndex, const QString &strTitle);
    5050    void setItemIcon(int iIndex, const QIcon &icon);
    51     void setPageVisible(int iIndex);
     51    void setCurrentPage(int iIndex);
    5252
    5353protected:
    5454
    55     void retranslateUi();
     55    virtual void retranslateUi() /* override */;
     56    //virtual QSize sizeHint() const /* override */;
     57    //virtual QSize minimumSizeHint() const /* override */;
    5658
    5759private slots:
     
    6567    QVBoxLayout *m_pMainLayout;
    6668    QMap<int, UIToolBoxPage*> m_pages;
     69    int m_iCurrentPageIndex;
     70    int m_iPageCount;
    6771};
    6872
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageBasic1.cpp

    r87294 r87318  
    268268bool UIWizardNewVMPage1::checkISOFile() const
    269269{
    270     if (m_pEnableUnattendedInstallCheckBox && m_pEnableUnattendedInstallCheckBox->isChecked())
     270    if (isUnattendedEnabled())
    271271    {
    272272        QString strISOFilePath = m_pISOFilePathSelector ? m_pISOFilePathSelector->path() : QString();
     
    285285}
    286286
    287 QWidget *UIWizardNewVMPage1::createNameOSTypeWidgets(bool fIncreaseLeftIndent, bool fCreateLabels /* = true */)
     287QWidget *UIWizardNewVMPage1::createNameOSTypeWidgets(bool fIncreaseLeftIndent,
     288                                                     bool fCreateUnattendedWidgets,
     289                                                     bool fCreateLabels)
    288290{
    289291    Q_UNUSED(fIncreaseLeftIndent);
     
    314316    }
    315317
    316     m_pEnableUnattendedInstallCheckBox = new QCheckBox;
    317     pLayout->addWidget(m_pEnableUnattendedInstallCheckBox, iRow++, 0, 1, 1);
    318 
    319     m_pISOSelectorLabel = new QLabel;
    320     if (m_pISOSelectorLabel)
    321     {
    322         m_pISOSelectorLabel->setAlignment(Qt::AlignRight);
    323         m_pISOSelectorLabel->setSizePolicy(QSizePolicy::Maximum, QSizePolicy::Fixed);
    324         m_pISOSelectorLabel->setEnabled(false);
    325         pLayout->addWidget(m_pISOSelectorLabel, iRow, 1, 1, 1);
    326     }
    327     m_pISOFilePathSelector = new UIFilePathSelector;
    328     if (m_pISOFilePathSelector)
    329     {
    330         m_pISOFilePathSelector->setResetEnabled(false);
    331         m_pISOFilePathSelector->setMode(UIFilePathSelector::Mode_File_Open);
    332         m_pISOFilePathSelector->setFileDialogFilters("*.iso *.ISO");
    333         m_pISOFilePathSelector->setEnabled(false);
    334         pLayout->addWidget(m_pISOFilePathSelector, iRow++, 2, 1, 4);
    335     }
    336 
    337     m_pStartHeadlessCheckBox = new QCheckBox;
    338     if (m_pStartHeadlessCheckBox)
    339     {
    340         m_pStartHeadlessCheckBox->setEnabled(false);
    341         pLayout->addWidget(m_pStartHeadlessCheckBox, iRow++, 1, 1, 5);
    342     }
    343 
    344     pLayout->addWidget(horizontalLine(), iRow++, 0, 1, 4);
    345 
     318    if (fCreateUnattendedWidgets)
     319    {
     320        m_pEnableUnattendedInstallCheckBox = new QCheckBox;
     321        pLayout->addWidget(m_pEnableUnattendedInstallCheckBox, iRow++, 0, 1, 1);
     322
     323        m_pISOSelectorLabel = new QLabel;
     324        if (m_pISOSelectorLabel)
     325        {
     326            m_pISOSelectorLabel->setAlignment(Qt::AlignRight);
     327            m_pISOSelectorLabel->setSizePolicy(QSizePolicy::Maximum, QSizePolicy::Fixed);
     328            m_pISOSelectorLabel->setEnabled(false);
     329            pLayout->addWidget(m_pISOSelectorLabel, iRow, 1, 1, 1);
     330        }
     331        m_pISOFilePathSelector = new UIFilePathSelector;
     332        if (m_pISOFilePathSelector)
     333        {
     334            m_pISOFilePathSelector->setResetEnabled(false);
     335            m_pISOFilePathSelector->setMode(UIFilePathSelector::Mode_File_Open);
     336            m_pISOFilePathSelector->setFileDialogFilters("*.iso *.ISO");
     337            m_pISOFilePathSelector->setEnabled(false);
     338            pLayout->addWidget(m_pISOFilePathSelector, iRow++, 2, 1, 4);
     339        }
     340
     341        m_pStartHeadlessCheckBox = new QCheckBox;
     342        if (m_pStartHeadlessCheckBox)
     343        {
     344            m_pStartHeadlessCheckBox->setEnabled(false);
     345            pLayout->addWidget(m_pStartHeadlessCheckBox, iRow++, 1, 1, 5);
     346        }
     347
     348        pLayout->addWidget(horizontalLine(), iRow++, 0, 1, 4);
     349    }
    346350    return pContainer;
    347351}
     
    518522{
    519523    QVBoxLayout *pPageLayout = new QVBoxLayout(this);
    520     pPageLayout->addWidget(createNameOSTypeWidgets(/* fIncreaseLeftIndent */ false, /* fCreateLabels */false));
     524    pPageLayout->addWidget(createNameOSTypeWidgets(/* fIncreaseLeftIndent */ false,
     525                                                   /* fCreateUnattendedWidget */ false,
     526                                                   /* fCreateLabels */false));
    521527    pPageLayout->addStretch();
    522528
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageBasic1.h

    r87294 r87318  
    7878    void composeMachineFilePath();
    7979
    80     QWidget *createNameOSTypeWidgets(bool fIncreaseLeftIndent, bool fCreateLabels = true);
     80    QWidget *createNameOSTypeWidgets(bool fIncreaseLeftIndent,  bool fCreateUnattendedWidgets, bool fCreateLabels);
    8181    int createNameOSTypeWidgets(QGridLayout *pLayout, bool fCreateLabels = true);
    8282    void setTypeByISODetectedOSType(const QString &strDetectedOSType);
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageExpert.cpp

    r87301 r87318  
    5151        m_pToolBox = new UIToolBox;
    5252        m_pToolBox->insertItem(ExpertToolboxItems_NameAndOSType, createNameOSTypeWidgets(/* fIncreaseLeftIndent */ true,
     53                                                                                         /* fCreateUnattendedWidgets */ false,
    5354                                                                                         /* fCreateLabels */ false), "");
     55        m_pToolBox->insertItem(ExpertToolboxItems_Unattended, createUnattendedWidgets(), "", false);
    5456        m_pToolBox->insertItem(ExpertToolboxItems_Disk, createDiskWidgets(/* fIncreaseLeftIndent */ true), "");
    5557        m_pToolBox->insertItem(ExpertToolboxItems_Hardware, createHardwareWidgets(/* fIncreaseLeftIndent */ true), "");
    56         m_pToolBox->insertItem(ExpertToolboxItems_UsernameHostname, createUserNameHostNameWidgets(/* fIncreaseLeftIndent */ true), "");
    57         m_pToolBox->insertItem(ExpertToolboxItems_GAInstall, createGAInstallWidgets(/* fIncreaseLeftIndent */ true), "");
    58         m_pToolBox->insertItem(ExpertToolboxItems_ProductKey, createProductKeyWidgets(/* fIncreaseLeftIndent */ true), "");
    59 
    60         m_pToolBox->setPageVisible(ExpertToolboxItems_NameAndOSType);
     58        // m_pToolBox->insertItem(ExpertToolboxItems_UsernameHostname, createUserNameHostNameWidgets(/* fIncreaseLeftIndent */ true), "");
     59        // m_pToolBox->insertItem(ExpertToolboxItems_GAInstall, createGAInstallWidgets(/* fIncreaseLeftIndent */ true), "");
     60        // m_pToolBox->insertItem(ExpertToolboxItems_ProductKey, createProductKeyWidgets(/* fIncreaseLeftIndent */ true), "");
     61
     62        m_pToolBox->setCurrentPage(ExpertToolboxItems_NameAndOSType);
    6163        pMainLayout->addWidget(m_pToolBox);
    6264
     
    209211        m_pToolBox->setItemText(ExpertToolboxItems_NameAndOSType, QString(UIWizardNewVM::tr("Name and operating system")));
    210212        m_pToolBox->setItemText(ExpertToolboxItems_UsernameHostname, UIWizardNewVM::tr("Username and hostname"));
     213        m_pToolBox->setItemText(ExpertToolboxItems_Unattended, UIWizardNewVM::tr("Unattended Install"));
    211214        m_pToolBox->setItemText(ExpertToolboxItems_GAInstall, UIWizardNewVM::tr("Guest additions install"));
    212215        m_pToolBox->setItemText(ExpertToolboxItems_ProductKey, UIWizardNewVM::tr("Product key"));
     
    303306    if (m_pEnableUnattendedInstallCheckBox)
    304307        disableEnableUnattendedRelatedWidgets(m_pEnableUnattendedInstallCheckBox->isChecked());
    305     m_pProductKeyLabel->setEnabled(isProductKeyWidgetEnabled());
    306     m_pProductKeyLineEdit->setEnabled(isProductKeyWidgetEnabled());
     308    if (m_pProductKeyLabel)
     309        m_pProductKeyLabel->setEnabled(isProductKeyWidgetEnabled());
     310    if (m_pProductKeyLineEdit)
     311        m_pProductKeyLineEdit->setEnabled(isProductKeyWidgetEnabled());
    307312}
    308313
     
    320325    if (m_pGAISOFilePathSelector)
    321326        m_pGAISOFilePathSelector->mark(isUnattendedEnabled() && !checkGAISOFile());
     327}
     328
     329QWidget *UIWizardNewVMPageExpert::createUnattendedWidgets()
     330{
     331    QWidget *pContainerWidget = new QWidget;
     332    QGridLayout *pLayout = new QGridLayout(pContainerWidget);
     333    int iRow = 0;
     334
     335    m_pISOSelectorLabel = new QLabel;
     336    if (m_pISOSelectorLabel)
     337    {
     338        m_pISOSelectorLabel->setAlignment(Qt::AlignRight);
     339        m_pISOSelectorLabel->setSizePolicy(QSizePolicy::Maximum, QSizePolicy::Fixed);
     340        pLayout->addWidget(m_pISOSelectorLabel, iRow, 0, 1, 1);
     341    }
     342
     343    m_pISOFilePathSelector = new UIFilePathSelector;
     344    if (m_pISOFilePathSelector)
     345    {
     346        m_pISOFilePathSelector->setResetEnabled(false);
     347        m_pISOFilePathSelector->setMode(UIFilePathSelector::Mode_File_Open);
     348        m_pISOFilePathSelector->setFileDialogFilters("*.iso *.ISO");
     349        pLayout->addWidget(m_pISOFilePathSelector, iRow++, 1, 1, 4);
     350    }
     351
     352    m_pStartHeadlessCheckBox = new QCheckBox;
     353    if (m_pStartHeadlessCheckBox)
     354        pLayout->addWidget(m_pStartHeadlessCheckBox, iRow++, 0, 1, 5);
     355
     356    pLayout->addWidget(createUserNameHostNameWidgets(/* fIncreaseLeftIndent */ false), iRow, 0, 4, 5);
     357    iRow += 4;
     358    pLayout->addWidget(createGAInstallWidgets(/* fIncreaseLeftIndent */ false), iRow, 0, 2, 5);
     359    iRow += 2;
     360    pLayout->addWidget(createProductKeyWidgets(/* fIncreaseLeftIndent */ false), iRow, 0, 1, 5);
     361
     362
     363    return pContainerWidget;
    322364}
    323365
     
    333375    m_pToolBox->setItemIcon(ExpertToolboxItems_ProductKey, QIcon());
    334376
    335 
    336377    if (!UIWizardPage::isComplete())
    337378    {
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageExpert.h

    r87301 r87318  
    8686
    8787private:
     88
    8889    enum ExpertToolboxItems
    8990    {
    9091        ExpertToolboxItems_NameAndOSType,
     92        ExpertToolboxItems_Unattended,
    9193        ExpertToolboxItems_Disk,
    9294        ExpertToolboxItems_Hardware,
     
    110112    void disableEnableUnattendedRelatedWidgets(bool fEnabled);
    111113    void markWidgets() const;
     114    QWidget *createUnattendedWidgets();
     115
    112116
    113117    UIToolBox  *m_pToolBox;
Note: See TracChangeset for help on using the changeset viewer.

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