VirtualBox

Changeset 77377 in vbox for trunk/src


Ignore:
Timestamp:
Feb 20, 2019 1:00:16 PM (6 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9080. Some renaming.

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  
    7777const char *UIExtraDataDefs::GUI_RecentListFD = "GUI/RecentListFD";
    7878
    79 /* Viso Creator: */
    80 const char *UIExtraDataDefs::GUI_VisoCreator_RecentFolder   = "GUI/VisoCreator/RecentFolder";
    81 const char *UIExtraDataDefs::GUI_VisoCreator_DialogGeometry = "GUI/VisoCreator/DialogGeometry";
     79/* VISO Creator: */
     80const char *UIExtraDataDefs::GUI_VISOCreator_RecentFolder   = "GUI/VISOCreator/RecentFolder";
     81const char *UIExtraDataDefs::GUI_VISOCreator_DialogGeometry = "GUI/VISOCreator/DialogGeometry";
    8282
    8383/* VirtualBox Manager: */
  • trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataDefs.h

    r77376 r77377  
    144144    /** @} */
    145145
    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;
     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;
    152152    /** @} */
    153153
  • trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.cpp

    r77376 r77377  
    19581958           << GUI_Input_SelectorShortcuts << GUI_Input_MachineShortcuts
    19591959           << GUI_RecentFolderHD << GUI_RecentFolderCD << GUI_RecentFolderFD
    1960            << GUI_VisoCreator_RecentFolder << GUI_VisoCreator_DialogGeometry
     1960           << GUI_VISOCreator_RecentFolder << GUI_VISOCreator_DialogGeometry
    19611961           << GUI_RecentListHD << GUI_RecentListCD << GUI_RecentListFD
    19621962           << GUI_LastSelectorWindowPosition << GUI_SplitterSizes
     
    26662666QString UIExtraDataManager::visoCreatorRecentFolder()
    26672667{
    2668     return extraDataString(GUI_VisoCreator_RecentFolder);
    2669 }
    2670 
    2671 void UIExtraDataManager::setVisoCreatorRecentFolder(const QString &strValue)
    2672 {
    2673     setExtraDataString(GUI_VisoCreator_RecentFolder, strValue);
     2668    return extraDataString(GUI_VISOCreator_RecentFolder);
     2669}
     2670
     2671void UIExtraDataManager::setVISOCreatorRecentFolder(const QString &strValue)
     2672{
     2673    setExtraDataString(GUI_VISOCreator_RecentFolder, strValue);
    26742674}
    26752675
    26762676QRect UIExtraDataManager::visoCreatorDialogGeometry(QWidget *pWidget, const QRect &defaultGeometry)
    26772677{
    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);
     2678    return dialogGeometry(GUI_VISOCreator_DialogGeometry, pWidget, defaultGeometry);
     2679}
     2680
     2681void UIExtraDataManager::setVISOCreatorDialogGeometry(const QRect &geometry, bool fMaximized)
     2682{
     2683    setDialogGeometry(GUI_VISOCreator_DialogGeometry, geometry, fMaximized);
    26842684}
    26852685
     
    26872687{
    26882688    /* Get corresponding extra-data: */
    2689     const QStringList data = extraDataStringList(GUI_VisoCreator_DialogGeometry);
     2689    const QStringList data = extraDataStringList(GUI_VISOCreator_DialogGeometry);
    26902690
    26912691    /* Make sure 5th item has required value: */
  • trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.h

    r77376 r77377  
    290290    /** @} */
    291291
    292     /** @name Viso Creator
    293       * @{ */
    294         /** Returns recent folder for Viso creation content. */
     292    /** @name VISO Creator
     293      * @{ */
     294        /** Returns recent folder for VISO creation content. */
    295295        QString visoCreatorRecentFolder();
    296         /** Defines recent folder for Viso creation content as @a strValue. */
    297         void setVisoCreatorRecentFolder(const QString &strValue);
    298         /** Returns the Viso creation 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. */
    299299        QRect visoCreatorDialogGeometry(QWidget *pWidget, const QRect &defaultGeometry);
    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. */
     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. */
    303303        bool visoCreatorDialogShouldBeMaximized();
    304304    /** @} */
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp

    r77376 r77377  
    27412741        }
    27422742
    2743         gEDataManager->setVisoCreatorRecentFolder(pVisoCreator->currentPath());
     2743        gEDataManager->setVISOCreatorRecentFolder(pVisoCreator->currentPath());
    27442744
    27452745        /* Produce the VISO. */
  • trunk/src/VBox/Frontends/VirtualBox/src/medium/viso/UIVisoCreator.cpp

    r77376 r77377  
    141141    if (m_pResetAction)
    142142    {
    143         m_pResetAction->setToolTip(QApplication::translate("UIVisoCreator", "Reset ISO content."));
     143        m_pResetAction->setToolTip(QApplication::translate("UIVisoCreator", "Reset VISO content."));
    144144        m_pResetAction->setText(QApplication::translate("UIVisoCreator", "Reset"));
    145145    }
     
    570570    gEDataManager->setVisoCreatorDialogGeometry(saveGeometry, ::darwinIsWindowMaximized(pw));
    571571#else /* !VBOX_WS_MAC */
    572     gEDataManager->setVisoCreatorDialogGeometry(saveGeometry, isMaximized());
     572    gEDataManager->setVISOCreatorDialogGeometry(saveGeometry, isMaximized());
    573573#endif /* !VBOX_WS_MAC */
    574574}
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