Changeset 95944 in vbox
- Timestamp:
- Jul 29, 2022 2:44:32 PM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 152700
- Location:
- trunk/src/VBox/Frontends/VirtualBox
- Files:
-
- 3 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk
r95938 r95944 907 907 src/settings/editors/UIDiskEncryptionSettingsEditor.h \ 908 908 src/settings/editors/UIDisplayFeaturesEditor.h \ 909 src/settings/editors/UIDisplayScreenFeaturesEditor.h \ 909 910 src/settings/editors/UIDragAndDropEditor.h \ 910 911 src/settings/editors/UIExecutionCapEditor.h \ … … 913 914 src/settings/editors/UIHotKeyEditor.h \ 914 915 src/settings/editors/UILanguageSettingsEditor.h \ 915 src/settings/editors/UIMachineDisplayScreenFeaturesEditor.h \916 916 src/settings/editors/UIMachineDescriptionEditor.h \ 917 917 src/settings/editors/UIMaximumGuestScreenSizeEditor.h \ … … 1489 1489 src/settings/editors/UIDiskEncryptionSettingsEditor.cpp \ 1490 1490 src/settings/editors/UIDisplayFeaturesEditor.cpp \ 1491 src/settings/editors/UIDisplayScreenFeaturesEditor.cpp \ 1491 1492 src/settings/editors/UIDragAndDropEditor.cpp \ 1492 1493 src/settings/editors/UIExecutionCapEditor.cpp \ … … 1495 1496 src/settings/editors/UIHotKeyEditor.cpp \ 1496 1497 src/settings/editors/UILanguageSettingsEditor.cpp \ 1497 src/settings/editors/UIMachineDisplayScreenFeaturesEditor.cpp \1498 1498 src/settings/editors/UIMachineDescriptionEditor.cpp \ 1499 1499 src/settings/editors/UIMaximumGuestScreenSizeEditor.cpp \ -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIDisplayScreenFeaturesEditor.cpp
r95943 r95944 1 1 /* $Id$ */ 2 2 /** @file 3 * VBox Qt GUI - UI MachineDisplayScreenFeaturesEditor class implementation.3 * VBox Qt GUI - UIDisplayScreenFeaturesEditor class implementation. 4 4 */ 5 5 … … 22 22 23 23 /* GUI includes: */ 24 #include "UI MachineDisplayScreenFeaturesEditor.h"24 #include "UIDisplayScreenFeaturesEditor.h" 25 25 26 26 27 UI MachineDisplayScreenFeaturesEditor::UIMachineDisplayScreenFeaturesEditor(QWidget *pParent /* = 0 */)27 UIDisplayScreenFeaturesEditor::UIDisplayScreenFeaturesEditor(QWidget *pParent /* = 0 */) 28 28 : QIWithRetranslateUI<QWidget>(pParent) 29 29 , m_fEnable3DAcceleration(false) … … 34 34 } 35 35 36 void UI MachineDisplayScreenFeaturesEditor::setEnable3DAcceleration(bool fOn)36 void UIDisplayScreenFeaturesEditor::setEnable3DAcceleration(bool fOn) 37 37 { 38 38 if (m_pCheckBoxEnable3DAcceleration) … … 48 48 } 49 49 50 bool UI MachineDisplayScreenFeaturesEditor::isEnabled3DAcceleration() const50 bool UIDisplayScreenFeaturesEditor::isEnabled3DAcceleration() const 51 51 { 52 52 return m_pCheckBoxEnable3DAcceleration … … 55 55 } 56 56 57 int UI MachineDisplayScreenFeaturesEditor::minimumLabelHorizontalHint() const57 int UIDisplayScreenFeaturesEditor::minimumLabelHorizontalHint() const 58 58 { 59 59 return m_pLabel ? m_pLabel->minimumSizeHint().width() : 0; 60 60 } 61 61 62 void UI MachineDisplayScreenFeaturesEditor::setMinimumLayoutIndent(int iIndent)62 void UIDisplayScreenFeaturesEditor::setMinimumLayoutIndent(int iIndent) 63 63 { 64 64 if (m_pLayout) … … 66 66 } 67 67 68 void UI MachineDisplayScreenFeaturesEditor::retranslateUi()68 void UIDisplayScreenFeaturesEditor::retranslateUi() 69 69 { 70 70 if (m_pLabel) … … 78 78 } 79 79 80 void UI MachineDisplayScreenFeaturesEditor::prepare()80 void UIDisplayScreenFeaturesEditor::prepare() 81 81 { 82 82 /* Prepare main layout: */ … … 102 102 /* Prepare connections: */ 103 103 connect(m_pCheckBoxEnable3DAcceleration, &QCheckBox::stateChanged, 104 this, &UI MachineDisplayScreenFeaturesEditor::sig3DAccelerationFeatureStatusChange);104 this, &UIDisplayScreenFeaturesEditor::sig3DAccelerationFeatureStatusChange); 105 105 106 106 /* Apply language settings: */ -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIDisplayScreenFeaturesEditor.h
r95943 r95944 1 1 /* $Id$ */ 2 2 /** @file 3 * VBox Qt GUI - UI MachineDisplayScreenFeaturesEditor class declaration.3 * VBox Qt GUI - UIDisplayScreenFeaturesEditor class declaration. 4 4 */ 5 5 … … 16 16 */ 17 17 18 #ifndef FEQT_INCLUDED_SRC_settings_editors_UI MachineDisplayScreenFeaturesEditor_h19 #define FEQT_INCLUDED_SRC_settings_editors_UI MachineDisplayScreenFeaturesEditor_h18 #ifndef FEQT_INCLUDED_SRC_settings_editors_UIDisplayScreenFeaturesEditor_h 19 #define FEQT_INCLUDED_SRC_settings_editors_UIDisplayScreenFeaturesEditor_h 20 20 #ifndef RT_WITHOUT_PRAGMA_ONCE 21 21 # pragma once … … 31 31 32 32 /** QWidget subclass used as machine display screen features editor. */ 33 class SHARED_LIBRARY_STUFF UI MachineDisplayScreenFeaturesEditor : public QIWithRetranslateUI<QWidget>33 class SHARED_LIBRARY_STUFF UIDisplayScreenFeaturesEditor : public QIWithRetranslateUI<QWidget> 34 34 { 35 35 Q_OBJECT; … … 43 43 44 44 /** Constructs editor passing @a pParent to the base-class. */ 45 UI MachineDisplayScreenFeaturesEditor(QWidget *pParent = 0);45 UIDisplayScreenFeaturesEditor(QWidget *pParent = 0); 46 46 47 47 /** Defines whether 'enable 3D acceleration' feature in @a fOn. */ … … 82 82 }; 83 83 84 #endif /* !FEQT_INCLUDED_SRC_settings_editors_UI MachineDisplayScreenFeaturesEditor_h */84 #endif /* !FEQT_INCLUDED_SRC_settings_editors_UIDisplayScreenFeaturesEditor_h */ -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsDisplay.cpp
r95817 r95944 28 28 #include "UIGraphicsControllerEditor.h" 29 29 #ifdef VBOX_WITH_3D_ACCELERATION 30 # include "UI MachineDisplayScreenFeaturesEditor.h"30 # include "UIDisplayScreenFeaturesEditor.h" 31 31 #endif 32 32 #include "UIMachineSettingsDisplay.h" … … 901 901 #ifdef VBOX_WITH_3D_ACCELERATION 902 902 /* Prepare display screen features editor: */ 903 m_pEditorDisplayScreenFeatures = new UI MachineDisplayScreenFeaturesEditor(m_pTabScreen);903 m_pEditorDisplayScreenFeatures = new UIDisplayScreenFeaturesEditor(m_pTabScreen); 904 904 if (m_pEditorDisplayScreenFeatures) 905 905 pLayoutScreen->addWidget(m_pEditorDisplayScreenFeatures); … … 967 967 this, &UIMachineSettingsDisplay::sltHandleGraphicsControllerComboChange); 968 968 #ifdef VBOX_WITH_3D_ACCELERATION 969 connect(m_pEditorDisplayScreenFeatures, &UI MachineDisplayScreenFeaturesEditor::sig3DAccelerationFeatureStatusChange,969 connect(m_pEditorDisplayScreenFeatures, &UIDisplayScreenFeaturesEditor::sig3DAccelerationFeatureStatusChange, 970 970 this, &UIMachineSettingsDisplay::sltHandle3DAccelerationFeatureStateChange); 971 971 #endif -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsDisplay.h
r95390 r95944 32 32 class UIGraphicsControllerEditor; 33 33 #ifdef VBOX_WITH_3D_ACCELERATION 34 class UI MachineDisplayScreenFeaturesEditor;34 class UIDisplayScreenFeaturesEditor; 35 35 #endif 36 36 class UIMonitorCountEditor; … … 169 169 #ifdef VBOX_WITH_3D_ACCELERATION 170 170 /** Holds the display screen features editor instance. */ 171 UI MachineDisplayScreenFeaturesEditor*m_pEditorDisplayScreenFeatures;171 UIDisplayScreenFeaturesEditor *m_pEditorDisplayScreenFeatures; 172 172 #endif 173 173
Note:
See TracChangeset
for help on using the changeset viewer.