VirtualBox

Changeset 95944 in vbox


Ignore:
Timestamp:
Jul 29, 2022 2:44:32 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
152700
Message:

FE/Qt/Ds: Rename UIMachineDisplayScreenFeaturesEditor => UIDisplayScreenFeaturesEditor for NLS context consistency.

Location:
trunk/src/VBox/Frontends/VirtualBox
Files:
3 edited
2 moved

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk

    r95938 r95944  
    907907        src/settings/editors/UIDiskEncryptionSettingsEditor.h \
    908908        src/settings/editors/UIDisplayFeaturesEditor.h \
     909        src/settings/editors/UIDisplayScreenFeaturesEditor.h \
    909910        src/settings/editors/UIDragAndDropEditor.h \
    910911        src/settings/editors/UIExecutionCapEditor.h \
     
    913914        src/settings/editors/UIHotKeyEditor.h \
    914915        src/settings/editors/UILanguageSettingsEditor.h \
    915         src/settings/editors/UIMachineDisplayScreenFeaturesEditor.h \
    916916        src/settings/editors/UIMachineDescriptionEditor.h \
    917917        src/settings/editors/UIMaximumGuestScreenSizeEditor.h \
     
    14891489        src/settings/editors/UIDiskEncryptionSettingsEditor.cpp \
    14901490        src/settings/editors/UIDisplayFeaturesEditor.cpp \
     1491        src/settings/editors/UIDisplayScreenFeaturesEditor.cpp \
    14911492        src/settings/editors/UIDragAndDropEditor.cpp \
    14921493        src/settings/editors/UIExecutionCapEditor.cpp \
     
    14951496        src/settings/editors/UIHotKeyEditor.cpp \
    14961497        src/settings/editors/UILanguageSettingsEditor.cpp \
    1497         src/settings/editors/UIMachineDisplayScreenFeaturesEditor.cpp \
    14981498        src/settings/editors/UIMachineDescriptionEditor.cpp \
    14991499        src/settings/editors/UIMaximumGuestScreenSizeEditor.cpp \
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIDisplayScreenFeaturesEditor.cpp

    r95943 r95944  
    11/* $Id$ */
    22/** @file
    3  * VBox Qt GUI - UIMachineDisplayScreenFeaturesEditor class implementation.
     3 * VBox Qt GUI - UIDisplayScreenFeaturesEditor class implementation.
    44 */
    55
     
    2222
    2323/* GUI includes: */
    24 #include "UIMachineDisplayScreenFeaturesEditor.h"
     24#include "UIDisplayScreenFeaturesEditor.h"
    2525
    2626
    27 UIMachineDisplayScreenFeaturesEditor::UIMachineDisplayScreenFeaturesEditor(QWidget *pParent /* = 0 */)
     27UIDisplayScreenFeaturesEditor::UIDisplayScreenFeaturesEditor(QWidget *pParent /* = 0 */)
    2828    : QIWithRetranslateUI<QWidget>(pParent)
    2929    , m_fEnable3DAcceleration(false)
     
    3434}
    3535
    36 void UIMachineDisplayScreenFeaturesEditor::setEnable3DAcceleration(bool fOn)
     36void UIDisplayScreenFeaturesEditor::setEnable3DAcceleration(bool fOn)
    3737{
    3838    if (m_pCheckBoxEnable3DAcceleration)
     
    4848}
    4949
    50 bool UIMachineDisplayScreenFeaturesEditor::isEnabled3DAcceleration() const
     50bool UIDisplayScreenFeaturesEditor::isEnabled3DAcceleration() const
    5151{
    5252    return   m_pCheckBoxEnable3DAcceleration
     
    5555}
    5656
    57 int UIMachineDisplayScreenFeaturesEditor::minimumLabelHorizontalHint() const
     57int UIDisplayScreenFeaturesEditor::minimumLabelHorizontalHint() const
    5858{
    5959    return m_pLabel ? m_pLabel->minimumSizeHint().width() : 0;
    6060}
    6161
    62 void UIMachineDisplayScreenFeaturesEditor::setMinimumLayoutIndent(int iIndent)
     62void UIDisplayScreenFeaturesEditor::setMinimumLayoutIndent(int iIndent)
    6363{
    6464    if (m_pLayout)
     
    6666}
    6767
    68 void UIMachineDisplayScreenFeaturesEditor::retranslateUi()
     68void UIDisplayScreenFeaturesEditor::retranslateUi()
    6969{
    7070    if (m_pLabel)
     
    7878}
    7979
    80 void UIMachineDisplayScreenFeaturesEditor::prepare()
     80void UIDisplayScreenFeaturesEditor::prepare()
    8181{
    8282    /* Prepare main layout: */
     
    102102    /* Prepare connections: */
    103103    connect(m_pCheckBoxEnable3DAcceleration, &QCheckBox::stateChanged,
    104             this, &UIMachineDisplayScreenFeaturesEditor::sig3DAccelerationFeatureStatusChange);
     104            this, &UIDisplayScreenFeaturesEditor::sig3DAccelerationFeatureStatusChange);
    105105
    106106    /* Apply language settings: */
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIDisplayScreenFeaturesEditor.h

    r95943 r95944  
    11/* $Id$ */
    22/** @file
    3  * VBox Qt GUI - UIMachineDisplayScreenFeaturesEditor class declaration.
     3 * VBox Qt GUI - UIDisplayScreenFeaturesEditor class declaration.
    44 */
    55
     
    1616 */
    1717
    18 #ifndef FEQT_INCLUDED_SRC_settings_editors_UIMachineDisplayScreenFeaturesEditor_h
    19 #define FEQT_INCLUDED_SRC_settings_editors_UIMachineDisplayScreenFeaturesEditor_h
     18#ifndef FEQT_INCLUDED_SRC_settings_editors_UIDisplayScreenFeaturesEditor_h
     19#define FEQT_INCLUDED_SRC_settings_editors_UIDisplayScreenFeaturesEditor_h
    2020#ifndef RT_WITHOUT_PRAGMA_ONCE
    2121# pragma once
     
    3131
    3232/** QWidget subclass used as machine display screen features editor. */
    33 class SHARED_LIBRARY_STUFF UIMachineDisplayScreenFeaturesEditor : public QIWithRetranslateUI<QWidget>
     33class SHARED_LIBRARY_STUFF UIDisplayScreenFeaturesEditor : public QIWithRetranslateUI<QWidget>
    3434{
    3535    Q_OBJECT;
     
    4343
    4444    /** Constructs editor passing @a pParent to the base-class. */
    45     UIMachineDisplayScreenFeaturesEditor(QWidget *pParent = 0);
     45    UIDisplayScreenFeaturesEditor(QWidget *pParent = 0);
    4646
    4747    /** Defines whether 'enable 3D acceleration' feature in @a fOn. */
     
    8282};
    8383
    84 #endif /* !FEQT_INCLUDED_SRC_settings_editors_UIMachineDisplayScreenFeaturesEditor_h */
     84#endif /* !FEQT_INCLUDED_SRC_settings_editors_UIDisplayScreenFeaturesEditor_h */
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsDisplay.cpp

    r95817 r95944  
    2828#include "UIGraphicsControllerEditor.h"
    2929#ifdef VBOX_WITH_3D_ACCELERATION
    30 # include "UIMachineDisplayScreenFeaturesEditor.h"
     30# include "UIDisplayScreenFeaturesEditor.h"
    3131#endif
    3232#include "UIMachineSettingsDisplay.h"
     
    901901#ifdef VBOX_WITH_3D_ACCELERATION
    902902            /* Prepare display screen features editor: */
    903             m_pEditorDisplayScreenFeatures = new UIMachineDisplayScreenFeaturesEditor(m_pTabScreen);
     903            m_pEditorDisplayScreenFeatures = new UIDisplayScreenFeaturesEditor(m_pTabScreen);
    904904            if (m_pEditorDisplayScreenFeatures)
    905905                pLayoutScreen->addWidget(m_pEditorDisplayScreenFeatures);
     
    967967            this, &UIMachineSettingsDisplay::sltHandleGraphicsControllerComboChange);
    968968#ifdef VBOX_WITH_3D_ACCELERATION
    969     connect(m_pEditorDisplayScreenFeatures, &UIMachineDisplayScreenFeaturesEditor::sig3DAccelerationFeatureStatusChange,
     969    connect(m_pEditorDisplayScreenFeatures, &UIDisplayScreenFeaturesEditor::sig3DAccelerationFeatureStatusChange,
    970970            this, &UIMachineSettingsDisplay::sltHandle3DAccelerationFeatureStateChange);
    971971#endif
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsDisplay.h

    r95390 r95944  
    3232class UIGraphicsControllerEditor;
    3333#ifdef VBOX_WITH_3D_ACCELERATION
    34 class UIMachineDisplayScreenFeaturesEditor;
     34class UIDisplayScreenFeaturesEditor;
    3535#endif
    3636class UIMonitorCountEditor;
     
    169169#ifdef VBOX_WITH_3D_ACCELERATION
    170170        /** Holds the display screen features editor instance. */
    171         UIMachineDisplayScreenFeaturesEditor *m_pEditorDisplayScreenFeatures;
     171        UIDisplayScreenFeaturesEditor        *m_pEditorDisplayScreenFeatures;
    172172#endif
    173173
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette