VirtualBox

Changeset 60832 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
May 4, 2016 2:29:37 PM (9 years ago)
Author:
vboxsync
Message:

FE/Qt: ​​​​​​​​​bugref:6769: Rework/cleanup for VM properties editor (part 06): Yet another refactoring thing.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/widgets
Files:
2 edited

Legend:

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

    r60708 r60832  
    4141UINameAndSystemEditor::UINameAndSystemEditor(QWidget *pParent)
    4242    : QIWithRetranslateUI<QWidget>(pParent)
     43    , m_fSupportsHWVirtEx(false)
     44    , m_fSupportsLongMode(false)
     45    , m_pLabelName(0)
     46    , m_pLabelFamily(0)
     47    , m_pLabelType(0)
     48    , m_pIconType(0)
     49    , m_pEditorName(0)
     50    , m_pComboFamily(0)
     51    , m_pComboType(0)
    4352{
    4453    /* Prepare: */
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/UINameAndSystemEditor.h

    r60708 r60832  
    9393private:
    9494
     95    /** Holds the VM OS type. */
     96    CGuestOSType            m_type;
     97    /** Holds the currently chosen OS type IDs on per-family basis. */
     98    QMap<QString, QString>  m_currentIds;
     99    /** Holds whether host supports hardware virtualization. */
     100    bool                    m_fSupportsHWVirtEx;
     101    /** Holds whether host supports long mode. */
     102    bool                    m_fSupportsLongMode;
     103
    95104    /** Holds the VM name label instance. */
    96     QLabel *m_pLabelName;
     105    QLabel                 *m_pLabelName;
    97106    /** Holds the VM OS family label instance. */
    98     QLabel *m_pLabelFamily;
     107    QLabel                 *m_pLabelFamily;
    99108    /** Holds the VM OS type label instance. */
    100     QLabel *m_pLabelType;
     109    QLabel                 *m_pLabelType;
    101110    /** Holds the VM OS type icon instance. */
    102     QLabel *m_pIconType;
     111    QLabel                 *m_pIconType;
    103112    /** Holds the VM name editor instance. */
    104     QLineEdit *m_pEditorName;
     113    QLineEdit              *m_pEditorName;
    105114    /** Holds the VM OS family combo instance. */
    106     QComboBox *m_pComboFamily;
     115    QComboBox              *m_pComboFamily;
    107116    /** Holds the VM OS type combo instance. */
    108     QComboBox *m_pComboType;
    109 
    110     /** Holds the VM OS type. */
    111     CGuestOSType m_type;
    112     /** Holds the currently chosen OS type IDs on per-family basis. */
    113     QMap<QString, QString> m_currentIds;
    114     /** Holds whether host supports hardware virtualization. */
    115     bool m_fSupportsHWVirtEx;
    116     /** Holds whether host supports long mode. */
    117     bool m_fSupportsLongMode;
     117    QComboBox              *m_pComboType;
    118118};
    119119
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