VirtualBox

Changeset 85079 in vbox for trunk


Ignore:
Timestamp:
Jul 7, 2020 7:54:24 AM (4 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9515. Some refactoring

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageBasic1.h

    r85078 r85079  
    3535class QButtonGroup;
    3636
    37 /* 1st page of the New Virtual Machine wizard (base part): */
     37/** 1st page of the New Virtual Machine wizard (base part): */
    3838class UIWizardNewVMPage1 : public UIWizardPageBase
    3939{
    4040protected:
    4141
    42     /* Constructor: */
     42    /** Constructor. */
    4343    UIWizardNewVMPage1(const QString &strGroup);
    4444
    45     /* Handlers: */
     45    /** Handlers. */
    4646    void onNameChanged(QString strNewName);
    4747    void onOsTypeChanged();
     
    7979    void createWidgets(QGridLayout *pGridLayout);
    8080
    81     /** Holds the simple variant button instance. */
    82     QRadioButton *m_pButtonSimple;
    83     /** Holds the unattended variant button instance. */
    84     QRadioButton *m_pButtonUnattended;
     81    /** @name Widgets
     82     * @{ */
     83       /** Holds the simple variant button instance. */
     84       QRadioButton *m_pButtonSimple;
     85       /** Holds the unattended variant button instance. */
     86       QRadioButton *m_pButtonUnattended;
     87       /** Holds the ISO selector label instance. */
     88       QLabel *m_pISOSelectorLabel;
     89       /** Holds the ISO selector editor instance. */
     90       UIFilePathSelector *m_pISOFilePathSelector;
     91       /** Holds the headless start label instance. */
     92       QLabel *m_pStartHeadlessLabel;
     93       /** Holds the headless start checkbox instance. */
     94       QCheckBox *m_pStartHeadlessCheckBox;
     95       /** Provides a path selector and a line edit field for path and name entry. */
     96       UINameAndSystemEditor *m_pNameAndSystemEditor;
     97       QIRichTextLabel *m_pLabel1;
     98       QIRichTextLabel *m_pLabel2;
     99       QButtonGroup *m_pButtonGroup;
     100    /** @} */
    85101
    86     /** Holds the ISO selector label instance. */
    87     QLabel *m_pISOSelectorLabel;
    88     /** Holds the ISO selector editor instance. */
    89     UIFilePathSelector *m_pISOFilePathSelector;
    90 
    91     /** Holds the headless start label instance. */
    92     QLabel *m_pStartHeadlessLabel;
    93     /** Holds the headless start checkbox instance. */
    94     QCheckBox *m_pStartHeadlessCheckBox;
    95 
    96     /** Provides a path selector and a line edit field for path and name entry. */
    97     UINameAndSystemEditor *m_pNameAndSystemEditor;
    98     /* Widgets: */
    99     QIRichTextLabel *m_pLabel1;
    100     QIRichTextLabel *m_pLabel2;
    101     QButtonGroup *m_pButtonGroup;
    102102    QString m_strDetectedOSTypeId;
    103103
     
    124124};
    125125
    126 /* 1st page of the New Virtual Machine wizard (basic extension): */
     126/** 1st page of the New Virtual Machine wizard (basic extension). */
    127127class UIWizardNewVMPageBasic1 : public UIWizardPage, public UIWizardNewVMPage1
    128128{
     
    140140public:
    141141
    142     /* Constructor: */
     142    /** Constructor. */
    143143    UIWizardNewVMPageBasic1(const QString &strGroup);
    144144    virtual int nextId() const /* override */;
     
    148148protected:
    149149
    150     /* Wrapper to access 'this' from base part: */
     150    /** Wrapper to access 'this' from base part. */
    151151    UIWizardPage* thisImp() { return this; }
    152152
    153153private slots:
    154154
    155     /* Handlers: */
     155    /** Handlers. */
    156156    void sltNameChanged(const QString &strNewText);
    157157    void sltPathChanged(const QString &strNewPath);
     
    162162private:
    163163
    164     /* Translation stuff: */
     164    /** Translation stuff. */
    165165    void retranslateUi();
    166166
    167     /* Prepare stuff: */
     167    /** Prepare stuff. */
    168168    void prepare();
    169169    void createConnections();
     
    171171    void cleanupPage();
    172172
    173     /* Validation stuff: */
     173    /** Validation stuff. */
    174174    virtual bool validatePage() /* override */;
    175175
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