VirtualBox

Changeset 68278 in vbox


Ignore:
Timestamp:
Aug 3, 2017 10:50:51 AM (7 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:8900: UISelectorWindow: Moving a bit of code onto appropriate place.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/selector
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/UISelectorWindow.cpp

    r68277 r68278  
    168168#endif /* VBOX_WS_X11 && QT_VERSION >= 0x050000 */
    169169
    170 void UISelectorWindow::sltHandleShowTabBarMachine()
    171 {
    172     m_pActionTabBarGlobal->setVisible(false);
    173     m_pActionTabBarMachine->setVisible(true);
    174 }
    175 
    176 void UISelectorWindow::sltHandleShowTabBarGlobal()
    177 {
    178     m_pActionTabBarMachine->setVisible(false);
    179     m_pActionTabBarGlobal->setVisible(true);
    180 }
    181 
    182170void UISelectorWindow::sltShowSelectorWindowContextMenu(const QPoint &position)
    183171{
     
    11081096    /* Update action visibility: */
    11091097    updateActionsVisibility();
     1098}
     1099
     1100void UISelectorWindow::sltHandleShowTabBarMachine()
     1101{
     1102    m_pActionTabBarGlobal->setVisible(false);
     1103    m_pActionTabBarMachine->setVisible(true);
     1104}
     1105
     1106void UISelectorWindow::sltHandleShowTabBarGlobal()
     1107{
     1108    m_pActionTabBarMachine->setVisible(false);
     1109    m_pActionTabBarGlobal->setVisible(true);
    11101110}
    11111111
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/UISelectorWindow.h

    r68277 r68278  
    8686    void QT_VERSION_NOT_DEFINED
    8787#endif /* VBOX_WS_X11 && QT_VERSION >= 0x050000 */
    88 
    89     /** Handles request to show Machine tab-bar. */
    90     void sltHandleShowTabBarMachine();
    91     /** Handles request to show Global tab-bar. */
    92     void sltHandleShowTabBarGlobal();
    9388
    9489    /** Handles selector-window context-menu call for passed @a position. */
     
    194189    /** @} */
    195190
    196     /** @name Tools-toolbar stuff.
     191    /** @name Tools stuff.
    197192      * @{ */
    198193        /** Handles tools type switch. */
    199194        void sltHandleToolsTypeSwitch();
    200     /** @} */
    201 
    202     /** @name Tools-pane stuff.
    203       * @{ */
     195
     196        /** Handles request to show Machine tab-bar. */
     197        void sltHandleShowTabBarMachine();
     198        /** Handles request to show Global tab-bar. */
     199        void sltHandleShowTabBarGlobal();
     200
    204201        /** Handles rquest to open Machine tool of passed @a enmType. */
    205202        void sltHandleToolOpenedMachine(ToolTypeMachine enmType);
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