Changeset 74610 in vbox for trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIApplianceImportEditorWidget.h
- Timestamp:
- Oct 4, 2018 12:07:36 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIApplianceImportEditorWidget.h
r73137 r74610 25 25 class UIFilePathSelector; 26 26 class QIRichTextLabel; 27 class QComboBox; 28 class QGridLayout; 29 30 /** MAC address policies. */ 31 enum MACAddressImportPolicy 32 { 33 MACAddressImportPolicy_KeepAllMACs, 34 MACAddressImportPolicy_KeepNATMACs, 35 MACAddressImportPolicy_StripAllMACs, 36 MACAddressImportPolicy_MAX 37 }; 27 38 28 39 class UIApplianceImportEditorWidget: public UIApplianceEditorWidget … … 45 56 private slots: 46 57 47 void sltHandlePathChanged(const QString &newPath);58 void sltHandlePathChanged(const QString &newPath); 48 59 49 60 private: 50 61 51 void prepareWidgets(); 62 void prepareWidgets(); 63 /** Populates MAC address policies. */ 64 void populateMACAddressImportPolicies(); 65 void setMACAddressImportPolicy(MACAddressImportPolicy enmMACAddressImportPolicy); 66 void sltHandleMACAddressImportPolicyComboChange(); 67 void updateMACAddressImportPolicyComboToolTip(); 68 52 69 QIRichTextLabel *m_pPathSelectorLabel; 53 70 UIFilePathSelector *m_pPathSelector; 54 55 /** Holds the 'reinit MACs' check-box instance. */ 56 QCheckBox *m_pCheckBoxReinitMACs; 57 /** Holds the checkbox that controls 'imprt HDs as VDI' behaviour. */ 58 QCheckBox *m_pImportHDsAsVDI; 59 71 /** Holds the checkbox that controls 'import HDs as VDI' behaviour. */ 72 QCheckBox *m_pImportHDsAsVDI; 73 QLabel *m_pMACComboBoxLabel; 74 QComboBox *m_pMACComboBox; 75 QGridLayout *m_pOptionsLayout; 60 76 }; 61 77
Note:
See TracChangeset
for help on using the changeset viewer.