Changeset 74871 in vbox
- Timestamp:
- Oct 16, 2018 5:12:19 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 125849
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/cloud/UICloudProfileManager.cpp
r74868 r74871 167 167 { 168 168 /* Save the setting: */ 169 /// @todo implement extra-data setter!169 gEDataManager->setCloudProfileManagerDetailsExpanded(fVisible); 170 170 /* Show/hide details area and Apply button: */ 171 171 m_pDetailsWidget->setVisible(fVisible); … … 381 381 { 382 382 /* Details action/widget: */ 383 /// @todo implement extra-data getter!383 m_pActionPool->action(UIActionIndexST_M_Cloud_T_Details)->setChecked(gEDataManager->cloudProfileManagerDetailsExpanded()); 384 384 } 385 385 … … 536 536 // Since we connected signals later than extra-data loaded 537 537 // for signals above, we should handle that stuff here again: 538 /// @todo implement extra-data getter! 538 button(ButtonType_Apply)->setVisible(gEDataManager->cloudProfileManagerDetailsExpanded()); 539 button(ButtonType_Reset)->setVisible(gEDataManager->cloudProfileManagerDetailsExpanded()); 539 540 } 540 541 -
trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataDefs.cpp
r74265 r74871 107 107 /* Host Network Manager: */ 108 108 const char *UIExtraDataDefs::GUI_HostNetworkManager_Details_Expanded = "GUI/HostNetworkManager/Details/Expanded"; 109 110 /* Cloud Profile Manager: */ 111 const char *UIExtraDataDefs::GUI_CloudProfileManager_Details_Expanded = "GUI/CloudProfileManager/Details/Expanded"; 109 112 110 113 #ifdef VBOX_GUI_WITH_EXTRADATA_MANAGER_UI -
trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataDefs.h
r74870 r74871 182 182 /** Holds whether Host Network Manager details expanded. */ 183 183 SHARED_LIBRARY_STUFF extern const char *GUI_HostNetworkManager_Details_Expanded; 184 /** @} */ 185 186 /** @name Cloud Profile Manager 187 * @{ */ 188 /** Holds whether Cloud Profile Manager details expanded. */ 189 SHARED_LIBRARY_STUFF extern const char *GUI_CloudProfileManager_Details_Expanded; 184 190 /** @} */ 185 191 -
trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.cpp
r74865 r74871 1980 1980 << GUI_VirtualMediaManager_Details_Expanded 1981 1981 << GUI_HostNetworkManager_Details_Expanded 1982 << GUI_CloudProfileManager_Details_Expanded 1982 1983 << GUI_HideDescriptionForWizards 1983 1984 << GUI_HideFromManager << GUI_HideDetails … … 2938 2939 } 2939 2940 2941 bool UIExtraDataManager::cloudProfileManagerDetailsExpanded() 2942 { 2943 /* 'False' unless feature allowed: */ 2944 return isFeatureAllowed(GUI_CloudProfileManager_Details_Expanded); 2945 } 2946 2947 void UIExtraDataManager::setCloudProfileManagerDetailsExpanded(bool fExpanded) 2948 { 2949 /* 'True' if feature allowed, null-string otherwise: */ 2950 return setExtraDataString(GUI_CloudProfileManager_Details_Expanded, toFeatureAllowed(fExpanded)); 2951 } 2952 2940 2953 WizardMode UIExtraDataManager::modeForWizardType(WizardType type) 2941 2954 { -
trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.h
r74757 r74871 374 374 /** Defines whether Host Network Manager details @a fExpanded. */ 375 375 void setHostNetworkManagerDetailsExpanded(bool fExpanded); 376 /** @} */ 377 378 /** @name Cloud Profile Manager 379 * @{ */ 380 /** Returns whether Cloud Profile Manager details expanded. */ 381 bool cloudProfileManagerDetailsExpanded(); 382 /** Defines whether Cloud Profile Manager details @a fExpanded. */ 383 void setCloudProfileManagerDetailsExpanded(bool fExpanded); 376 384 /** @} */ 377 385
Note:
See TracChangeset
for help on using the changeset viewer.