- Timestamp:
- Feb 20, 2019 1:00:16 PM (6 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataDefs.cpp
r77376 r77377 77 77 const char *UIExtraDataDefs::GUI_RecentListFD = "GUI/RecentListFD"; 78 78 79 /* V isoCreator: */80 const char *UIExtraDataDefs::GUI_V isoCreator_RecentFolder = "GUI/VisoCreator/RecentFolder";81 const char *UIExtraDataDefs::GUI_V isoCreator_DialogGeometry = "GUI/VisoCreator/DialogGeometry";79 /* VISO Creator: */ 80 const char *UIExtraDataDefs::GUI_VISOCreator_RecentFolder = "GUI/VISOCreator/RecentFolder"; 81 const char *UIExtraDataDefs::GUI_VISOCreator_DialogGeometry = "GUI/VISOCreator/DialogGeometry"; 82 82 83 83 /* VirtualBox Manager: */ -
trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataDefs.h
r77376 r77377 144 144 /** @} */ 145 145 146 /** @name Settings: V isoCreator147 * @{ */ 148 /** Holds recent folder for V isocreation content. */149 SHARED_LIBRARY_STUFF extern const char *GUI_V isoCreator_RecentFolder;150 /** Holds dialog geometry for V isocreation dialog. */151 SHARED_LIBRARY_STUFF extern const char *GUI_V isoCreator_DialogGeometry;146 /** @name Settings: VISO Creator 147 * @{ */ 148 /** Holds recent folder for VISO creation content. */ 149 SHARED_LIBRARY_STUFF extern const char *GUI_VISOCreator_RecentFolder; 150 /** Holds dialog geometry for VISO creation dialog. */ 151 SHARED_LIBRARY_STUFF extern const char *GUI_VISOCreator_DialogGeometry; 152 152 /** @} */ 153 153 -
trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.cpp
r77376 r77377 1958 1958 << GUI_Input_SelectorShortcuts << GUI_Input_MachineShortcuts 1959 1959 << GUI_RecentFolderHD << GUI_RecentFolderCD << GUI_RecentFolderFD 1960 << GUI_V isoCreator_RecentFolder << GUI_VisoCreator_DialogGeometry1960 << GUI_VISOCreator_RecentFolder << GUI_VISOCreator_DialogGeometry 1961 1961 << GUI_RecentListHD << GUI_RecentListCD << GUI_RecentListFD 1962 1962 << GUI_LastSelectorWindowPosition << GUI_SplitterSizes … … 2666 2666 QString UIExtraDataManager::visoCreatorRecentFolder() 2667 2667 { 2668 return extraDataString(GUI_V isoCreator_RecentFolder);2669 } 2670 2671 void UIExtraDataManager::setV isoCreatorRecentFolder(const QString &strValue)2672 { 2673 setExtraDataString(GUI_V isoCreator_RecentFolder, strValue);2668 return extraDataString(GUI_VISOCreator_RecentFolder); 2669 } 2670 2671 void UIExtraDataManager::setVISOCreatorRecentFolder(const QString &strValue) 2672 { 2673 setExtraDataString(GUI_VISOCreator_RecentFolder, strValue); 2674 2674 } 2675 2675 2676 2676 QRect UIExtraDataManager::visoCreatorDialogGeometry(QWidget *pWidget, const QRect &defaultGeometry) 2677 2677 { 2678 return dialogGeometry(GUI_V isoCreator_DialogGeometry, pWidget, defaultGeometry);2679 } 2680 2681 void UIExtraDataManager::setV isoCreatorDialogGeometry(const QRect &geometry, bool fMaximized)2682 { 2683 setDialogGeometry(GUI_V isoCreator_DialogGeometry, geometry, fMaximized);2678 return dialogGeometry(GUI_VISOCreator_DialogGeometry, pWidget, defaultGeometry); 2679 } 2680 2681 void UIExtraDataManager::setVISOCreatorDialogGeometry(const QRect &geometry, bool fMaximized) 2682 { 2683 setDialogGeometry(GUI_VISOCreator_DialogGeometry, geometry, fMaximized); 2684 2684 } 2685 2685 … … 2687 2687 { 2688 2688 /* Get corresponding extra-data: */ 2689 const QStringList data = extraDataStringList(GUI_V isoCreator_DialogGeometry);2689 const QStringList data = extraDataStringList(GUI_VISOCreator_DialogGeometry); 2690 2690 2691 2691 /* Make sure 5th item has required value: */ -
trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.h
r77376 r77377 290 290 /** @} */ 291 291 292 /** @name V isoCreator293 * @{ */ 294 /** Returns recent folder for V isocreation content. */292 /** @name VISO Creator 293 * @{ */ 294 /** Returns recent folder for VISO creation content. */ 295 295 QString visoCreatorRecentFolder(); 296 /** Defines recent folder for V isocreation content as @a strValue. */297 void setV isoCreatorRecentFolder(const QString &strValue);298 /** Returns the V isocreation dialog geometry. */296 /** Defines recent folder for VISO creation content as @a strValue. */ 297 void setVISOCreatorRecentFolder(const QString &strValue); 298 /** Returns the VISO creation dialog geometry. */ 299 299 QRect visoCreatorDialogGeometry(QWidget *pWidget, const QRect &defaultGeometry); 300 /** Defines the V isocreation dialog geometry. */301 void setV isoCreatorDialogGeometry(const QRect &geometry, bool fMaximized);302 /** Returns whether the V isocreation dialog should be maximized. */300 /** Defines the VISO creation dialog geometry. */ 301 void setVISOCreatorDialogGeometry(const QRect &geometry, bool fMaximized); 302 /** Returns whether the VISO creation dialog should be maximized. */ 303 303 bool visoCreatorDialogShouldBeMaximized(); 304 304 /** @} */ -
trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp
r77376 r77377 2741 2741 } 2742 2742 2743 gEDataManager->setV isoCreatorRecentFolder(pVisoCreator->currentPath());2743 gEDataManager->setVISOCreatorRecentFolder(pVisoCreator->currentPath()); 2744 2744 2745 2745 /* Produce the VISO. */ -
trunk/src/VBox/Frontends/VirtualBox/src/medium/viso/UIVisoCreator.cpp
r77376 r77377 141 141 if (m_pResetAction) 142 142 { 143 m_pResetAction->setToolTip(QApplication::translate("UIVisoCreator", "Reset ISO content."));143 m_pResetAction->setToolTip(QApplication::translate("UIVisoCreator", "Reset VISO content.")); 144 144 m_pResetAction->setText(QApplication::translate("UIVisoCreator", "Reset")); 145 145 } … … 570 570 gEDataManager->setVisoCreatorDialogGeometry(saveGeometry, ::darwinIsWindowMaximized(pw)); 571 571 #else /* !VBOX_WS_MAC */ 572 gEDataManager->setV isoCreatorDialogGeometry(saveGeometry, isMaximized());572 gEDataManager->setVISOCreatorDialogGeometry(saveGeometry, isMaximized()); 573 573 #endif /* !VBOX_WS_MAC */ 574 574 }
Note:
See TracChangeset
for help on using the changeset viewer.