VirtualBox

Ignore:
Timestamp:
Oct 8, 2012 11:20:40 AM (12 years ago)
Author:
vboxsync
Message:

FE/Qt: VM group feature UI: Group/machine item handling cleanup (part 1).

Location:
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserHandlerKeyboard.cpp

    r43553 r43564  
    321321            {
    322322                /* Start embedded editing focus item: */
    323                 model()->startEditing();
     323                model()->startEditingGroupItemName();
    324324                /* Filter that event out: */
    325325                return true;
     
    332332        {
    333333            /* Activate item: */
    334             model()->activate();
     334            model()->activateMachineItem();
    335335            /* And filter out that event: */
    336336            return true;
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserHandlerMouse.cpp

    r43554 r43564  
    206206                {
    207207                    /* Activate machine item: */
    208                     model()->activate();
     208                    model()->activateMachineItem();
    209209                }
    210210                break;
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserModel.cpp

    r43563 r43564  
    503503}
    504504
    505 void UIGChooserModel::startEditing()
     505void UIGChooserModel::startEditingGroupItemName()
    506506{
    507507    sltStartEditingSelectedGroup();
     
    513513}
    514514
    515 void UIGChooserModel::activate()
     515void UIGChooserModel::activateMachineItem()
    516516{
    517517    gActionPool->action(UIActionIndexSelector_State_Common_StartOrShow)->activate(QAction::Trigger);
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserModel.h

    r43563 r43564  
    137137    /* API: Group-item stuff: */
    138138    QString uniqueGroupName(UIGChooserItem *pRoot);
    139     void startEditing();
     139    void startEditingGroupItemName();
    140140    void updateGroupTree();
    141141
    142142    /* API: Machine-item stuff: */
    143     void activate();
     143    void activateMachineItem();
    144144
    145145    /* API: Drag&drop stuff: */
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