VirtualBox

Changeset 94248 in vbox


Ignore:
Timestamp:
Mar 15, 2022 3:21:28 PM (3 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:6899: Global preferences: Reworking Display page to increase page accessibility; Moving extended features stuff to separate editor.

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

Legend:

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

    r94067 r94248  
    900900        src/settings/editors/UIColorThemeEditor.h \
    901901        src/settings/editors/UIDefaultMachineFolderEditor.h \
     902        src/settings/editors/UIGlobalDisplayFeaturesEditor.h \
    902903        src/settings/editors/UIGraphicsControllerEditor.h \
    903904        src/settings/editors/UIHostComboEditor.h \
     
    14531454        src/settings/editors/UIColorThemeEditor.cpp \
    14541455        src/settings/editors/UIDefaultMachineFolderEditor.cpp \
     1456        src/settings/editors/UIGlobalDisplayFeaturesEditor.cpp \
    14551457        src/settings/editors/UIGraphicsControllerEditor.cpp \
    14561458        src/settings/editors/UIHostComboEditor.cpp \
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIGlobalDisplayFeaturesEditor.cpp

    r94243 r94248  
    11/* $Id$ */
    22/** @file
    3  * VBox Qt GUI - UIAutoCaptureKeyboardEditor class implementation.
     3 * VBox Qt GUI - UIGlobalDisplayFeaturesEditor class implementation.
    44 */
    55
     
    2222
    2323/* GUI includes: */
    24 #include "UIAutoCaptureKeyboardEditor.h"
     24#include "UIGlobalDisplayFeaturesEditor.h"
     25#ifdef VBOX_WS_X11
     26# include "VBoxUtils-x11.h"
     27#endif
    2528
    2629
    27 UIAutoCaptureKeyboardEditor::UIAutoCaptureKeyboardEditor(QWidget *pParent /* = 0 */)
     30UIGlobalDisplayFeaturesEditor::UIGlobalDisplayFeaturesEditor(QWidget *pParent /* = 0 */)
    2831    : QIWithRetranslateUI<QWidget>(pParent)
    29     , m_fValue(false)
     32    , m_fActivateOnMouseHover(false)
     33    , m_fDisableHostScreenSaver(false)
    3034    , m_pLabel(0)
    31     , m_pCheckBox(0)
     35    , m_pCheckBoxActivateOnMouseHover(0)
     36    , m_pCheckBoxDisableHostScreenSaver(0)
    3237{
    3338    prepare();
    3439}
    3540
    36 void UIAutoCaptureKeyboardEditor::setValue(bool fValue)
     41void UIGlobalDisplayFeaturesEditor::setActivateOnMouseHover(bool fOn)
    3742{
    38     if (m_pCheckBox)
     43    if (m_pCheckBoxActivateOnMouseHover)
    3944    {
    4045        /* Update cached value and
    4146         * check-box if value has changed: */
    42         if (m_fValue != fValue)
     47        if (m_fActivateOnMouseHover != fOn)
    4348        {
    44             m_fValue = fValue;
    45             m_pCheckBox->setCheckState(fValue ? Qt::Checked : Qt::Unchecked);
     49            m_fActivateOnMouseHover = fOn;
     50            m_pCheckBoxActivateOnMouseHover->setCheckState(fOn ? Qt::Checked : Qt::Unchecked);
    4651        }
    4752    }
    4853}
    4954
    50 bool UIAutoCaptureKeyboardEditor::value() const
     55bool UIGlobalDisplayFeaturesEditor::activateOnMouseHover() const
    5156{
    52     return m_pCheckBox ? m_pCheckBox->checkState() == Qt::Checked : m_fValue;
     57    return   m_pCheckBoxActivateOnMouseHover
     58           ? m_pCheckBoxActivateOnMouseHover->checkState() == Qt::Checked
     59           : m_fActivateOnMouseHover;
    5360}
    5461
    55 void UIAutoCaptureKeyboardEditor::retranslateUi()
     62void UIGlobalDisplayFeaturesEditor::setDisableHostScreenSaver(bool fOn)
     63{
     64    if (m_pCheckBoxDisableHostScreenSaver)
     65    {
     66        /* Update cached value and
     67         * check-box if value has changed: */
     68        if (m_fDisableHostScreenSaver != fOn)
     69        {
     70            m_fDisableHostScreenSaver = fOn;
     71            m_pCheckBoxDisableHostScreenSaver->setCheckState(fOn ? Qt::Checked : Qt::Unchecked);
     72        }
     73    }
     74}
     75
     76bool UIGlobalDisplayFeaturesEditor::disableHostScreenSaver() const
     77{
     78    return   m_pCheckBoxDisableHostScreenSaver
     79           ? m_pCheckBoxDisableHostScreenSaver->checkState() == Qt::Checked
     80           : m_fDisableHostScreenSaver;
     81}
     82
     83int UIGlobalDisplayFeaturesEditor::minimumLabelHorizontalHint() const
     84{
     85    return m_pLabel->minimumSizeHint().width();
     86}
     87
     88void UIGlobalDisplayFeaturesEditor::setMinimumLayoutIndent(int iIndent)
     89{
     90    if (m_pLayout)
     91        m_pLayout->setColumnMinimumWidth(0, iIndent);
     92}
     93
     94void UIGlobalDisplayFeaturesEditor::retranslateUi()
    5695{
    5796    if (m_pLabel)
    5897        m_pLabel->setText(tr("Extended Features:"));
    59     if (m_pCheckBox)
     98    if (m_pCheckBoxActivateOnMouseHover)
    6099    {
    61         m_pCheckBox->setToolTip(tr("When checked, the keyboard is automatically captured every time the VM window is "
    62                                    "activated. When the keyboard is captured, all keystrokes (including system ones like "
    63                                    "Alt-Tab) are directed to the VM."));
    64         m_pCheckBox->setText(tr("&Auto Capture Keyboard"));
     100        m_pCheckBoxActivateOnMouseHover->setToolTip(tr("When checked, machine windows will be raised "
     101                                                       "when the mouse pointer moves over them."));
     102        m_pCheckBoxActivateOnMouseHover->setText(tr("&Raise Window Under Mouse Pointer"));
     103    }
     104    if (m_pCheckBoxDisableHostScreenSaver)
     105    {
     106        m_pCheckBoxDisableHostScreenSaver->setToolTip(tr("When checked, screen saver of "
     107                                                         "the host OS is disabled."));
     108        m_pCheckBoxDisableHostScreenSaver->setText(tr("&Disable Host Screen Saver"));
    65109    }
    66110}
    67111
    68 void UIAutoCaptureKeyboardEditor::prepare()
     112void UIGlobalDisplayFeaturesEditor::prepare()
    69113{
    70114    /* Prepare main layout: */
    71     QGridLayout *pLayoutMain = new QGridLayout(this);
    72     if (pLayoutMain)
     115    m_pLayout = new QGridLayout(this);
     116    if (m_pLayout)
    73117    {
    74         pLayoutMain->setContentsMargins(0, 0, 0, 0);
    75         pLayoutMain->setColumnStretch(1, 1);
     118        m_pLayout->setContentsMargins(0, 0, 0, 0);
     119        m_pLayout->setColumnStretch(1, 1);
    76120
    77121        /* Prepare label: */
    78122        m_pLabel = new QLabel(this);
    79123        if (m_pLabel)
    80             pLayoutMain->addWidget(m_pLabel, 0, 0);
    81         /* Prepare check-box: */
    82         m_pCheckBox = new QCheckBox(this);
    83         if (m_pCheckBox)
    84             pLayoutMain->addWidget(m_pCheckBox, 0, 1);
     124        {
     125            m_pLabel->setAlignment(Qt::AlignRight | Qt::AlignVCenter);
     126            m_pLayout->addWidget(m_pLabel, 0, 0);
     127        }
     128        /* Prepare 'activate on mouse hover' check-box: */
     129        m_pCheckBoxActivateOnMouseHover = new QCheckBox(this);
     130        if (m_pCheckBoxActivateOnMouseHover)
     131            m_pLayout->addWidget(m_pCheckBoxActivateOnMouseHover, 0, 1);
     132        /* Prepare 'disable host screen saver' check-box: */
     133#if defined(VBOX_WS_WIN)
     134        m_pCheckBoxDisableHostScreenSaver = new QCheckBox(this);
     135#elif defined(VBOX_WS_X11)
     136        if (NativeWindowSubsystem::X11CheckDBusScreenSaverServices())
     137            m_pCheckBoxDisableHostScreenSaver = new QCheckBox(this);
     138#endif /* VBOX_WS_X11 */
     139        if (m_pCheckBoxDisableHostScreenSaver)
     140            m_pLayout->addWidget(m_pCheckBoxDisableHostScreenSaver, 1, 1);
    85141    }
    86142
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIGlobalDisplayFeaturesEditor.h

    r94243 r94248  
    11/* $Id$ */
    22/** @file
    3  * VBox Qt GUI - UIAutoCaptureKeyboardEditor class declaration.
     3 * VBox Qt GUI - UIGlobalDisplayFeaturesEditor class declaration.
    44 */
    55
     
    1616 */
    1717
    18 #ifndef FEQT_INCLUDED_SRC_settings_editors_UIAutoCaptureKeyboardEditor_h
    19 #define FEQT_INCLUDED_SRC_settings_editors_UIAutoCaptureKeyboardEditor_h
     18#ifndef FEQT_INCLUDED_SRC_settings_editors_UIGlobalDisplayFeaturesEditor_h
     19#define FEQT_INCLUDED_SRC_settings_editors_UIGlobalDisplayFeaturesEditor_h
    2020#ifndef RT_WITHOUT_PRAGMA_ONCE
    2121# pragma once
     
    2727/* Forward declarations: */
    2828class QCheckBox;
     29class QGridLayout;
    2930class QLabel;
    3031
    31 /** QWidget subclass used as an auto capture keyboard editor. */
    32 class SHARED_LIBRARY_STUFF UIAutoCaptureKeyboardEditor : public QIWithRetranslateUI<QWidget>
     32/** QWidget subclass used as global display features editor. */
     33class SHARED_LIBRARY_STUFF UIGlobalDisplayFeaturesEditor : public QIWithRetranslateUI<QWidget>
    3334{
    3435    Q_OBJECT;
     
    3637public:
    3738
    38     /** Constructs auto capture keyboard editor passing @a pParent to the base-class. */
    39     UIAutoCaptureKeyboardEditor(QWidget *pParent = 0);
     39    /** Constructs global display features editor passing @a pParent to the base-class. */
     40    UIGlobalDisplayFeaturesEditor(QWidget *pParent = 0);
    4041
    41     /** Defines editor @a fValue. */
    42     void setValue(bool fValue);
    43     /** Returns editor value. */
    44     bool value() const;
     42    /** Defines whether 'activate on mouse hover' feature in @a fOn. */
     43    void setActivateOnMouseHover(bool fOn);
     44    /** Returns 'activate on mouse hover' feature value. */
     45    bool activateOnMouseHover() const;
     46
     47    /** Defines whether 'disable host screen-saver' feature in @a fOn. */
     48    void setDisableHostScreenSaver(bool fOn);
     49    /** Returns 'disable host screen-saver' feature value. */
     50    bool disableHostScreenSaver() const;
     51
     52    /** Returns minimum layout hint. */
     53    int minimumLabelHorizontalHint() const;
     54    /** Defines minimum layout @a iIndent. */
     55    void setMinimumLayoutIndent(int iIndent);
    4556
    4657protected:
     
    5465    void prepare();
    5566
    56     /** Holds the value to be set. */
    57     bool  m_fValue;
     67    /** Holds the 'activate on mouse hover' feature value. */
     68    bool  m_fActivateOnMouseHover;
     69    /** Holds the 'disable host screen-saver' feature value. */
     70    bool  m_fDisableHostScreenSaver;
    5871
     72    /** Holds the main layout instance. */
     73    QGridLayout *m_pLayout;
    5974    /** Holds the label instance. */
    60     QLabel    *m_pLabel;
     75    QLabel      *m_pLabel;
    6176    /** Holds the check-box instance. */
    62     QCheckBox *m_pCheckBox;
     77    QCheckBox   *m_pCheckBoxActivateOnMouseHover;
     78    /** Holds the check-box instance. */
     79    QCheckBox   *m_pCheckBoxDisableHostScreenSaver;
    6380};
    6481
    65 #endif /* !FEQT_INCLUDED_SRC_settings_editors_UIAutoCaptureKeyboardEditor_h */
     82#endif /* !FEQT_INCLUDED_SRC_settings_editors_UIGlobalDisplayFeaturesEditor_h */
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsDisplay.cpp

    r93992 r94248  
    1818/* Qt includes: */
    1919#include <QCheckBox>
    20 #include <QGridLayout>
    2120#include <QLabel>
     21#include <QVBoxLayout>
    2222
    2323/* GUI includes: */
    2424#include "UIDesktopWidgetWatchdog.h"
    2525#include "UIExtraDataManager.h"
     26#include "UIGlobalDisplayFeaturesEditor.h"
    2627#include "UIGlobalSettingsDisplay.h"
    2728#include "UIMaximumGuestScreenSizeEditor.h"
    2829#include "UIMessageCenter.h"
    2930#include "UIScaleFactorEditor.h"
    30 #ifdef VBOX_WS_X11
    31 # include "VBoxUtils-x11.h"
    32 #endif
    3331
    3432
     
    4745        return    true
    4846               && (m_guiMaximumGuestScreenSizeValue == other.m_guiMaximumGuestScreenSizeValue)
     47               && (m_scaleFactors == other.m_scaleFactors)
    4948               && (m_fActivateHoveredMachineWindow == other.m_fActivateHoveredMachineWindow)
    5049               && (m_fDisableHostScreenSaver == other.m_fDisableHostScreenSaver)
    51                && (m_scaleFactors == other.m_scaleFactors)
    5250                  ;
    5351    }
     
    6058    /** Holds the maximum guest-screen size value. */
    6159    UIMaximumGuestScreenSizeValue  m_guiMaximumGuestScreenSizeValue;
     60    /** Holds the guest screen scale-factor. */
     61    QList<double>                  m_scaleFactors;
    6262    /** Holds whether we should automatically activate machine window under the mouse cursor. */
    6363    bool                           m_fActivateHoveredMachineWindow;
    6464    /** Holds whether we should disable host sceen saver on a vm is running. */
    6565    bool                           m_fDisableHostScreenSaver;
    66 
    67     /** Holds the guest screen scale-factor. */
    68     QList<double>                  m_scaleFactors;
    6966};
    7067
     
    7875    , m_pEditorMaximumGuestScreenSize(0)
    7976    , m_pEditorScaleFactor(0)
    80     , m_pLabelExtendedFeatures(0)
    81     , m_pCheckBoxActivateOnMouseHover(0)
    82     , m_pCheckBoxDisableHostScreenSaver(0)
     77    , m_pEditorGlobalDisplayFeatures(0)
    8378{
    8479    prepare();
     
    10297    oldData.m_guiMaximumGuestScreenSizeValue = UIMaximumGuestScreenSizeValue(gEDataManager->maxGuestResolutionPolicy(),
    10398                                                                             gEDataManager->maxGuestResolutionForPolicyFixed());
     99    oldData.m_scaleFactors = gEDataManager->scaleFactors(UIExtraDataManager::GlobalID);
    104100    oldData.m_fActivateHoveredMachineWindow = gEDataManager->activateHoveredMachineWindow();
    105101#if defined(VBOX_WS_WIN) || defined(VBOX_WS_X11)
    106102    oldData.m_fDisableHostScreenSaver = gEDataManager->disableHostScreenSaver();
    107 #endif
    108     oldData.m_scaleFactors = gEDataManager->scaleFactors(UIExtraDataManager::GlobalID);
     103#endif /* VBOX_WS_WIN || VBOX_WS_X11 */
    109104    m_pCache->cacheInitialData(oldData);
    110105
     
    118113    const UIDataSettingsGlobalDisplay &oldData = m_pCache->base();
    119114    m_pEditorMaximumGuestScreenSize->setValue(oldData.m_guiMaximumGuestScreenSizeValue);
    120     m_pCheckBoxActivateOnMouseHover->setChecked(oldData.m_fActivateHoveredMachineWindow);
    121     if (m_pCheckBoxDisableHostScreenSaver)
    122         m_pCheckBoxDisableHostScreenSaver->setChecked(oldData.m_fDisableHostScreenSaver);
    123115    m_pEditorScaleFactor->setScaleFactors(oldData.m_scaleFactors);
    124116    m_pEditorScaleFactor->setMonitorCount(gpDesktop->screenCount());
     117    m_pEditorGlobalDisplayFeatures->setActivateOnMouseHover(oldData.m_fActivateHoveredMachineWindow);
     118    m_pEditorGlobalDisplayFeatures->setDisableHostScreenSaver(oldData.m_fDisableHostScreenSaver);
    125119}
    126120
     
    132126    /* Cache new data: */
    133127    newData.m_guiMaximumGuestScreenSizeValue = m_pEditorMaximumGuestScreenSize->value();
    134     newData.m_fActivateHoveredMachineWindow = m_pCheckBoxActivateOnMouseHover->isChecked();
    135     if (m_pCheckBoxDisableHostScreenSaver)
    136         newData.m_fDisableHostScreenSaver = m_pCheckBoxDisableHostScreenSaver->isChecked();
    137128    newData.m_scaleFactors = m_pEditorScaleFactor->scaleFactors();
     129    newData.m_fActivateHoveredMachineWindow = m_pEditorGlobalDisplayFeatures->activateOnMouseHover();
     130    newData.m_fDisableHostScreenSaver = m_pEditorGlobalDisplayFeatures->disableHostScreenSaver();
    138131    m_pCache->cacheCurrentData(newData);
    139132}
     
    153146void UIGlobalSettingsDisplay::retranslateUi()
    154147{
    155     m_pLabelExtendedFeatures->setText(tr("Extended Features:"));
    156     m_pCheckBoxActivateOnMouseHover->setToolTip(tr("When checked, machine windows will be raised "
    157                                                    "when the mouse pointer moves over them."));
    158     m_pCheckBoxActivateOnMouseHover->setText(tr("&Raise Window Under Mouse Pointer"));
    159     if (m_pCheckBoxDisableHostScreenSaver)
    160     {
    161         m_pCheckBoxDisableHostScreenSaver->setToolTip(tr("When checked, screen saver of the host OS is disabled."));
    162         m_pCheckBoxDisableHostScreenSaver->setText(tr("&Disable Host Screen Saver"));
    163     }
    164 
    165148    /* These editors have own labels, but we want them to be properly layouted according to each other: */
    166149    int iMinimumLayoutHint = 0;
    167150    iMinimumLayoutHint = qMax(iMinimumLayoutHint, m_pEditorMaximumGuestScreenSize->minimumLabelHorizontalHint());
    168151    iMinimumLayoutHint = qMax(iMinimumLayoutHint, m_pEditorScaleFactor->minimumLabelHorizontalHint());
    169     iMinimumLayoutHint = qMax(iMinimumLayoutHint, m_pLabelExtendedFeatures->minimumSizeHint().width());
     152    iMinimumLayoutHint = qMax(iMinimumLayoutHint, m_pEditorGlobalDisplayFeatures->minimumLabelHorizontalHint());
    170153    m_pEditorMaximumGuestScreenSize->setMinimumLayoutIndent(iMinimumLayoutHint);
    171154    m_pEditorScaleFactor->setMinimumLayoutIndent(iMinimumLayoutHint);
    172     m_pLayout->setColumnMinimumWidth(0, iMinimumLayoutHint);
     155    m_pEditorGlobalDisplayFeatures->setMinimumLayoutIndent(iMinimumLayoutHint);
    173156}
    174157
     
    189172{
    190173    /* Prepare main layout: */
    191     m_pLayout = new QGridLayout(this);
    192     if (m_pLayout)
     174    QVBoxLayout *pLayout = new QVBoxLayout(this);
     175    if (pLayout)
    193176    {
    194         m_pLayout->setColumnStretch(1, 1);
    195         m_pLayout->setRowStretch(4, 1);
    196 
    197177        /* Prepare maximum guest screen size editor: */
    198178        m_pEditorMaximumGuestScreenSize = new UIMaximumGuestScreenSizeEditor(this);
    199179        if (m_pEditorMaximumGuestScreenSize)
    200             m_pLayout->addWidget(m_pEditorMaximumGuestScreenSize, 0, 0, 1, 3);
     180            pLayout->addWidget(m_pEditorMaximumGuestScreenSize);
    201181
    202182        /* Prepare scale-factor editor: */
    203183        m_pEditorScaleFactor = new UIScaleFactorEditor(this, true /* with label */);
    204184        if (m_pEditorScaleFactor)
    205             m_pLayout->addWidget(m_pEditorScaleFactor, 1, 0, 1, 3);
    206 
    207         /* Prepare 'machine-windows' label: */
    208         m_pLabelExtendedFeatures = new QLabel(this);
    209         if (m_pLabelExtendedFeatures)
    210         {
    211             m_pLabelExtendedFeatures->setAlignment(Qt::AlignRight | Qt::AlignVCenter);
    212             m_pLayout->addWidget(m_pLabelExtendedFeatures, 2, 0);
    213         }
    214         /* Prepare 'activate on mouse hover' check-box: */
    215         m_pCheckBoxActivateOnMouseHover = new QCheckBox(this);
    216         if (m_pCheckBoxActivateOnMouseHover)
    217             m_pLayout->addWidget(m_pCheckBoxActivateOnMouseHover, 2, 1);
    218 
    219         /* Prepare 'disable host screen saver' check-box: */
    220 #if defined(VBOX_WS_WIN)
    221         m_pCheckBoxDisableHostScreenSaver = new QCheckBox(this);
    222 #elif defined(VBOX_WS_X11)
    223         if (NativeWindowSubsystem::X11CheckDBusScreenSaverServices())
    224             m_pCheckBoxDisableHostScreenSaver = new QCheckBox(this);
    225 #endif /* VBOX_WS_X11 */
    226         if (m_pCheckBoxDisableHostScreenSaver)
    227             m_pLayout->addWidget(m_pCheckBoxDisableHostScreenSaver, 3, 1);
     185            pLayout->addWidget(m_pEditorScaleFactor);
     186
     187        /* Prepare global display features editor: */
     188        m_pEditorGlobalDisplayFeatures = new UIGlobalDisplayFeaturesEditor(this);
     189        if (m_pEditorGlobalDisplayFeatures)
     190            pLayout->addWidget(m_pEditorGlobalDisplayFeatures);
     191
     192        /* Add stretch to the end: */
     193        pLayout->addStretch();
    228194    }
    229195}
     
    254220            /* fSuccess = */ gEDataManager->setMaxGuestScreenResolution(newData.m_guiMaximumGuestScreenSizeValue.m_enmPolicy,
    255221                                                                        newData.m_guiMaximumGuestScreenSizeValue.m_size);
     222        /* Save guest-screen scale-factor: */
     223        if (   fSuccess
     224            && newData.m_scaleFactors != oldData.m_scaleFactors)
     225            /* fSuccess = */ gEDataManager->setScaleFactors(newData.m_scaleFactors, UIExtraDataManager::GlobalID);
    256226        /* Save whether hovered machine-window should be activated automatically: */
    257227        if (   fSuccess
     
    263233            && newData.m_fDisableHostScreenSaver != oldData.m_fDisableHostScreenSaver)
    264234            /* fSuccess = */ gEDataManager->setDisableHostScreenSaver(newData.m_fDisableHostScreenSaver);
    265 #endif
    266         /* Save guest-screen scale-factor: */
    267         if (   fSuccess
    268             && newData.m_scaleFactors != oldData.m_scaleFactors)
    269             /* fSuccess = */ gEDataManager->setScaleFactors(newData.m_scaleFactors, UIExtraDataManager::GlobalID);
     235#endif /* VBOX_WS_WIN || VBOX_WS_X11 */
    270236    }
    271237    /* Return result: */
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsDisplay.h

    r93992 r94248  
    2727/* Forward declarations: */
    2828class QCheckBox;
    29 class QGridLayout;
    3029class QLabel;
     30class UIGlobalDisplayFeaturesEditor;
    3131class UIMaximumGuestScreenSizeEditor;
    3232class UIScaleFactorEditor;
     
    8282    /** @name Widgets
    8383     * @{ */
    84         /** Holds the main layout instance. */
    85         QGridLayout *m_pLayout;
    86 
    8784        /** Holds the maximum guest screen size editor instance. */
    8885        UIMaximumGuestScreenSizeEditor *m_pEditorMaximumGuestScreenSize;
    89 
    9086        /** Holds the scale-factor editor instance. */
    91         UIScaleFactorEditor *m_pEditorScaleFactor;
    92 
    93         /** Holds the 'extended features' label instance. */
    94         QLabel    *m_pLabelExtendedFeatures;
    95         /** Holds the 'activate on mouse hover' check-box instance. */
    96         QCheckBox *m_pCheckBoxActivateOnMouseHover;
    97         /** Holds the 'disable host screen saver' check-box instance. */
    98         QCheckBox *m_pCheckBoxDisableHostScreenSaver;
     87        UIScaleFactorEditor            *m_pEditorScaleFactor;
     88        /** Holds the global display features editor instance. */
     89        UIGlobalDisplayFeaturesEditor  *m_pEditorGlobalDisplayFeatures;
    9990    /** @} */
    10091};
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