VirtualBox

Changeset 101033 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Sep 6, 2023 3:09:28 PM (16 months ago)
Author:
vboxsync
Message:

FE/Qt: bugref:10513: Update Preferences dialog editor hierarchy so that pages know about their editors.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/settings/global
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsDisplay.cpp

    r100064 r101033  
    226226        m_pEditorMaximumGuestScreenSize = new UIMaximumGuestScreenSizeEditor(this);
    227227        if (m_pEditorMaximumGuestScreenSize)
     228        {
     229            m_editors << m_pEditorMaximumGuestScreenSize;
    228230            pLayout->addWidget(m_pEditorMaximumGuestScreenSize);
     231        }
    229232
    230233        /* Prepare 'scale-factor' editor: */
    231234        m_pEditorScaleFactor = new UIScaleFactorEditor(this);
    232235        if (m_pEditorScaleFactor)
     236        {
     237            m_editors << m_pEditorScaleFactor;
    233238            pLayout->addWidget(m_pEditorScaleFactor);
     239        }
    234240
    235241        /* Prepare 'global display features' editor: */
    236242        m_pEditorGlobalDisplayFeatures = new UIDisplayFeaturesEditor(this);
    237243        if (m_pEditorGlobalDisplayFeatures)
     244        {
     245            m_editors << m_pEditorGlobalDisplayFeatures;
    238246            pLayout->addWidget(m_pEditorGlobalDisplayFeatures);
     247        }
    239248
    240249        /* Prepare 'font scale' editor: */
    241250        m_pFontScaleEditor = new UIFontScaleEditor(this);
    242251        if (m_pFontScaleEditor)
     252        {
     253            m_editors << m_pFontScaleEditor;
    243254            pLayout->addWidget(m_pFontScaleEditor);
     255        }
    244256
    245257        /* Add stretch to the end: */
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsGeneral.cpp

    r98103 r101033  
    186186        m_pEditorDefaultMachineFolder = new UIDefaultMachineFolderEditor(this);
    187187        if (m_pEditorDefaultMachineFolder)
     188        {
     189            m_editors << m_pEditorDefaultMachineFolder;
    188190            pLayout->addWidget(m_pEditorDefaultMachineFolder);
     191        }
    189192
    190193        /* Prepare 'VRDE auth library' editor: */
    191194        m_pEditorVRDEAuthLibrary = new UIVRDEAuthLibraryEditor(this);
    192195        if (m_pEditorVRDEAuthLibrary)
     196        {
     197            m_editors << m_pEditorVRDEAuthLibrary;
    193198            pLayout->addWidget(m_pEditorVRDEAuthLibrary);
     199        }
    194200
    195201        /* Add stretch to the end: */
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsInput.cpp

    r98103 r101033  
    231231        m_pEditorShortcutConfiguration = new UIShortcutConfigurationEditor(this);
    232232        if (m_pEditorShortcutConfiguration)
     233        {
     234            m_editors << m_pEditorShortcutConfiguration;
    233235            pLayout->addWidget(m_pEditorShortcutConfiguration);
     236        }
    234237
    235238        /* Prepare 'auto capture keyboard' editor: */
    236239        m_pEditorAutoCaptureKeyboard = new UIAutoCaptureKeyboardEditor(this);
    237240        if (m_pEditorAutoCaptureKeyboard)
     241        {
     242            m_editors << m_pEditorAutoCaptureKeyboard;
    238243            pLayout->addWidget(m_pEditorAutoCaptureKeyboard);
     244        }
    239245    }
    240246}
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsInterface.cpp

    r98103 r101033  
    171171        m_pEditorColorTheme = new UIColorThemeEditor(this);
    172172        if (m_pEditorColorTheme)
     173        {
     174            m_editors << m_pEditorColorTheme;
    173175            pLayout->addWidget(m_pEditorColorTheme);
     176        }
    174177
    175178        /* Add stretch to the end: */
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsLanguage.cpp

    r98103 r101033  
    168168        m_pEditorLanguageSettings = new UILanguageSettingsEditor(this);
    169169        if (m_pEditorLanguageSettings)
     170        {
     171            m_editors << m_pEditorLanguageSettings;
    170172            pLayout->addWidget(m_pEditorLanguageSettings);
     173        }
    171174    }
    172175}
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsProxy.cpp

    r98103 r101033  
    234234        m_pEditorProxyFeatures = new UIProxyFeaturesEditor(this);
    235235        if (m_pEditorProxyFeatures)
     236        {
     237            m_editors << m_pEditorProxyFeatures;
    236238            pLayout->addWidget(m_pEditorProxyFeatures);
     239        }
    237240
    238241        /* Add stretch to the end: */
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsUpdate.cpp

    r98103 r101033  
    171171        m_pEditorUpdateSettings = new UIUpdateSettingsEditor(this);
    172172        if (m_pEditorUpdateSettings)
     173        {
     174            m_editors << m_pEditorUpdateSettings;
    173175            pLayout->addWidget(m_pEditorUpdateSettings);
     176        }
    174177
    175178        /* Add stretch to the end: */
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