Changeset 94709 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Apr 25, 2022 4:16:06 PM (3 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox
- Files:
-
- 3 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk
r94708 r94709 895 895 src/settings/UISettingsSerializer.h \ 896 896 src/settings/editors/UIAudioControllerEditor.h \ 897 src/settings/editors/UIAudioFeaturesEditor.h \ 897 898 src/settings/editors/UIAudioHostDriverEditor.h \ 898 899 src/settings/editors/UIAudioSettingsEditor.h \ … … 910 911 src/settings/editors/UIHotKeyEditor.h \ 911 912 src/settings/editors/UILanguageSettingsEditor.h \ 912 src/settings/editors/UIMachineAudioFeaturesEditor.h \913 913 src/settings/editors/UIMachineDisplayScreenFeaturesEditor.h \ 914 914 src/settings/editors/UIMachineDescriptionEditor.h \ … … 1464 1464 src/settings/UISettingsSerializer.cpp \ 1465 1465 src/settings/editors/UIAudioControllerEditor.cpp \ 1466 src/settings/editors/UIAudioFeaturesEditor.cpp \ 1466 1467 src/settings/editors/UIAudioHostDriverEditor.cpp \ 1467 1468 src/settings/editors/UIAudioSettingsEditor.cpp \ … … 1479 1480 src/settings/editors/UIHotKeyEditor.cpp \ 1480 1481 src/settings/editors/UILanguageSettingsEditor.cpp \ 1481 src/settings/editors/UIMachineAudioFeaturesEditor.cpp \1482 1482 src/settings/editors/UIMachineDisplayScreenFeaturesEditor.cpp \ 1483 1483 src/settings/editors/UIMachineDescriptionEditor.cpp \ -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIAudioFeaturesEditor.cpp
r94708 r94709 1 1 /* $Id$ */ 2 2 /** @file 3 * VBox Qt GUI - UI MachineAudioFeaturesEditor class implementation.3 * VBox Qt GUI - UIAudioFeaturesEditor class implementation. 4 4 */ 5 5 … … 22 22 23 23 /* GUI includes: */ 24 #include "UI MachineAudioFeaturesEditor.h"24 #include "UIAudioFeaturesEditor.h" 25 25 26 26 27 UI MachineAudioFeaturesEditor::UIMachineAudioFeaturesEditor(QWidget *pParent /* = 0 */)27 UIAudioFeaturesEditor::UIAudioFeaturesEditor(QWidget *pParent /* = 0 */) 28 28 : QIWithRetranslateUI<QWidget>(pParent) 29 29 , m_fEnableOutput(false) … … 36 36 } 37 37 38 void UI MachineAudioFeaturesEditor::setEnableOutput(bool fOn)38 void UIAudioFeaturesEditor::setEnableOutput(bool fOn) 39 39 { 40 40 /* Update cached value and … … 48 48 } 49 49 50 bool UI MachineAudioFeaturesEditor::outputEnabled() const50 bool UIAudioFeaturesEditor::outputEnabled() const 51 51 { 52 52 return m_pCheckBoxEnableOutput … … 55 55 } 56 56 57 void UI MachineAudioFeaturesEditor::setEnableInput(bool fOn)57 void UIAudioFeaturesEditor::setEnableInput(bool fOn) 58 58 { 59 59 /* Update cached value and … … 67 67 } 68 68 69 bool UI MachineAudioFeaturesEditor::inputEnabled() const69 bool UIAudioFeaturesEditor::inputEnabled() const 70 70 { 71 71 return m_pCheckBoxEnableInput … … 74 74 } 75 75 76 int UI MachineAudioFeaturesEditor::minimumLabelHorizontalHint() const76 int UIAudioFeaturesEditor::minimumLabelHorizontalHint() const 77 77 { 78 78 return m_pLabel ? m_pLabel->minimumSizeHint().width() : 0; 79 79 } 80 80 81 void UI MachineAudioFeaturesEditor::setMinimumLayoutIndent(int iIndent)81 void UIAudioFeaturesEditor::setMinimumLayoutIndent(int iIndent) 82 82 { 83 83 if (m_pLayout) … … 85 85 } 86 86 87 void UI MachineAudioFeaturesEditor::retranslateUi()87 void UIAudioFeaturesEditor::retranslateUi() 88 88 { 89 89 if (m_pLabel) … … 103 103 } 104 104 105 void UI MachineAudioFeaturesEditor::prepare()105 void UIAudioFeaturesEditor::prepare() 106 106 { 107 107 /* Prepare main layout: */ -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIAudioFeaturesEditor.h
r94708 r94709 1 1 /* $Id$ */ 2 2 /** @file 3 * VBox Qt GUI - UI MachineAudioFeaturesEditor class declaration.3 * VBox Qt GUI - UIAudioFeaturesEditor class declaration. 4 4 */ 5 5 … … 16 16 */ 17 17 18 #ifndef FEQT_INCLUDED_SRC_settings_editors_UI MachineAudioFeaturesEditor_h19 #define FEQT_INCLUDED_SRC_settings_editors_UI MachineAudioFeaturesEditor_h18 #ifndef FEQT_INCLUDED_SRC_settings_editors_UIAudioFeaturesEditor_h 19 #define FEQT_INCLUDED_SRC_settings_editors_UIAudioFeaturesEditor_h 20 20 #ifndef RT_WITHOUT_PRAGMA_ONCE 21 21 # pragma once … … 30 30 class QLabel; 31 31 32 /** QWidget subclass used as machineaudio features editor. */33 class SHARED_LIBRARY_STUFF UI MachineAudioFeaturesEditor : public QIWithRetranslateUI<QWidget>32 /** QWidget subclass used as audio features editor. */ 33 class SHARED_LIBRARY_STUFF UIAudioFeaturesEditor : public QIWithRetranslateUI<QWidget> 34 34 { 35 35 Q_OBJECT; … … 38 38 39 39 /** Constructs editor passing @a pParent to the base-class. */ 40 UI MachineAudioFeaturesEditor(QWidget *pParent = 0);40 UIAudioFeaturesEditor(QWidget *pParent = 0); 41 41 42 42 /** Defines whether 'enable output' feature in @a fOn. */ … … 86 86 }; 87 87 88 #endif /* !FEQT_INCLUDED_SRC_settings_editors_UI MachineAudioFeaturesEditor_h */88 #endif /* !FEQT_INCLUDED_SRC_settings_editors_UIAudioFeaturesEditor_h */ -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIAudioSettingsEditor.cpp
r94708 r94709 23 23 /* GUI includes: */ 24 24 #include "UIAudioControllerEditor.h" 25 #include "UIAudioFeaturesEditor.h" 25 26 #include "UIAudioHostDriverEditor.h" 26 27 #include "UIAudioSettingsEditor.h" 27 #include "UIMachineAudioFeaturesEditor.h"28 28 29 29 … … 200 200 pLayoutAudioSettings->addWidget(m_pEditorAudioHostDriver); 201 201 202 /* Prepare hostcontroller editor: */202 /* Prepare controller editor: */ 203 203 m_pEditorAudioController = new UIAudioControllerEditor(m_pWidgetSettings); 204 204 if (m_pEditorAudioController) 205 205 pLayoutAudioSettings->addWidget(m_pEditorAudioController); 206 206 207 /* Prepare extendedfeatures editor: */208 m_pEditorAudioFeatures = new UI MachineAudioFeaturesEditor(m_pWidgetSettings);207 /* Prepare features editor: */ 208 m_pEditorAudioFeatures = new UIAudioFeaturesEditor(m_pWidgetSettings); 209 209 if (m_pEditorAudioFeatures) 210 210 pLayoutAudioSettings->addWidget(m_pEditorAudioFeatures); -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIAudioSettingsEditor.h
r94708 r94709 36 36 class QCheckBox; 37 37 class UIAudioControllerEditor; 38 class UIAudioFeaturesEditor; 38 39 class UIAudioHostDriverEditor; 39 class UIMachineAudioFeaturesEditor;40 40 41 41 /** QWidget subclass used as a audio settings editor. */ … … 129 129 * @{ */ 130 130 /** Holds the feature check-box instance. */ 131 QCheckBox 131 QCheckBox *m_pCheckboxFeature; 132 132 /** Holds the settings widget instance. */ 133 QWidget 134 /** Holds the audiohost driver editor instance. */135 UIAudioHostDriverEditor 136 /** Holds the audio hostcontroller editor instance. */137 UIAudioControllerEditor 138 /** Holds the audiofeatures editor instance. */139 UI MachineAudioFeaturesEditor*m_pEditorAudioFeatures;133 QWidget *m_pWidgetSettings; 134 /** Holds the host driver editor instance. */ 135 UIAudioHostDriverEditor *m_pEditorAudioHostDriver; 136 /** Holds the controller editor instance. */ 137 UIAudioControllerEditor *m_pEditorAudioController; 138 /** Holds the features editor instance. */ 139 UIAudioFeaturesEditor *m_pEditorAudioFeatures; 140 140 /** @} */ 141 141 };
Note:
See TracChangeset
for help on using the changeset viewer.