Changeset 87418 in vbox
- Timestamp:
- Jan 25, 2021 2:18:00 PM (4 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox
- Files:
-
- 2 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk
r87414 r87418 861 861 src/settings/editors/UIVisualStateEditor.h \ 862 862 src/settings/editors/UIVRDEAuthLibraryEditor.h \ 863 src/settings/global/UIGlobalSettingsExtension.h \864 863 src/settings/global/UIGlobalSettingsGeneral.h \ 865 864 src/settings/global/UIGlobalSettingsInput.h \ … … 1008 1007 src/settings/editors/UILanguageSettingsEditor.cpp \ 1009 1008 src/settings/editors/UIShortcutConfigurationEditor.cpp \ 1010 src/settings/global/UIGlobalSettingsExtension.cpp \1011 1009 src/settings/machine/UIMachineSettingsNetwork.cpp \ 1012 1010 src/settings/machine/UIMachineSettingsSerial.cpp \ … … 1392 1390 src/settings/editors/UIVisualStateEditor.cpp \ 1393 1391 src/settings/editors/UIVRDEAuthLibraryEditor.cpp \ 1394 src/settings/global/UIGlobalSettingsExtension.cpp \1395 1392 src/settings/global/UIGlobalSettingsGeneral.cpp \ 1396 1393 src/settings/global/UIGlobalSettingsInput.cpp \ -
trunk/src/VBox/Frontends/VirtualBox/src/converter/UIConverterBackendGlobal.cpp
r87354 r87418 1869 1869 case GlobalSettingsPageType_Language: strResult = "Language"; break; 1870 1870 case GlobalSettingsPageType_Display: strResult = "Display"; break; 1871 case GlobalSettingsPageType_Extensions: strResult = "Extensions"; break;1872 1871 #ifdef VBOX_GUI_WITH_NETWORK_MANAGER 1873 1872 case GlobalSettingsPageType_Proxy: strResult = "Proxy"; break; … … 1895 1894 keys << "Language"; values << GlobalSettingsPageType_Language; 1896 1895 keys << "Display"; values << GlobalSettingsPageType_Display; 1897 keys << "Extensions"; values << GlobalSettingsPageType_Extensions;1898 1896 #ifdef VBOX_GUI_WITH_NETWORK_MANAGER 1899 1897 keys << "Proxy"; values << GlobalSettingsPageType_Proxy; … … 1918 1916 case GlobalSettingsPageType_Language: return UIIconPool::pixmap(":/site_warning_16px.png"); 1919 1917 case GlobalSettingsPageType_Display: return UIIconPool::pixmap(":/vrdp_warning_16px.png"); 1920 case GlobalSettingsPageType_Extensions: return UIIconPool::pixmap(":/extension_pack_warning_16px.png");1921 1918 #ifdef VBOX_GUI_WITH_NETWORK_MANAGER 1922 1919 case GlobalSettingsPageType_Proxy: return UIIconPool::pixmap(":/proxy_warning_16px.png"); -
trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataDefs.h
r87354 r87418 824 824 GlobalSettingsPageType_Language, 825 825 GlobalSettingsPageType_Display, 826 GlobalSettingsPageType_Extensions,827 826 #ifdef VBOX_GUI_WITH_NETWORK_MANAGER 828 827 GlobalSettingsPageType_Proxy, -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UICommon.cpp
r87251 r87418 3726 3726 /* Show installation progress: */ 3727 3727 /** @todo move this tr into UIUpdateManager context */ 3728 msgCenter().showModalProgressDialog(comProgress, QApplication::translate("UI GlobalSettingsExtension",3729 "Extensions"),3728 msgCenter().showModalProgressDialog(comProgress, QApplication::translate("UIExtensionPackManagerWidget", 3729 "Extensions"), 3730 3730 ":/progress_install_guest_additions_90px.png", pParent); 3731 3731 if (!comProgress.GetCanceled()) -
trunk/src/VBox/Frontends/VirtualBox/src/settings/UISettingsDialogSpecific.cpp
r87316 r87418 32 32 /* GUI includes: Global Preferences: */ 33 33 #include "UIGlobalSettingsDisplay.h" 34 #include "UIGlobalSettingsExtension.h"35 34 #include "UIGlobalSettingsGeneral.h" 36 35 #include "UIGlobalSettingsInput.h" … … 100 99 m_pSelector->setItemText(GlobalSettingsPageType_Display, tr("Display")); 101 100 102 /* Extension page: */103 m_pSelector->setItemText(GlobalSettingsPageType_Extensions, tr("Extensions"));104 105 101 #ifdef VBOX_GUI_WITH_NETWORK_MANAGER 106 102 /* Proxy page: */ … … 232 228 addItem(":/vrdp_32px.png", ":/vrdp_24px.png", ":/vrdp_16px.png", 233 229 iPageIndex, "#display", pSettingsPage); 234 addPageHelpKeyword(iPageIndex, "globalsettings");235 break;236 }237 /* Extensions page: */238 case GlobalSettingsPageType_Extensions:239 {240 pSettingsPage = new UIGlobalSettingsExtension;241 addItem(":/extension_pack_32px.png", ":/extension_pack_24px.png", ":/extension_pack_16px.png",242 iPageIndex, "#extensions", pSettingsPage);243 230 addPageHelpKeyword(iPageIndex, "globalsettings"); 244 231 break; … … 302 289 } 303 290 304 bool UISettingsDialogGlobal::isPageAvailable(int iPageId) const 305 { 306 switch (iPageId) 307 { 308 case GlobalSettingsPageType_Extensions: 309 return !uiCommon().virtualBox().GetExtensionPackManager().isNull(); 310 default: 311 break; 312 } 291 bool UISettingsDialogGlobal::isPageAvailable(int) const 292 { 293 /* Add restrictions here.. */ 313 294 return true; 314 295 }
Note:
See TracChangeset
for help on using the changeset viewer.