VirtualBox

Ignore:
Timestamp:
Feb 19, 2013 10:57:12 AM (12 years ago)
Author:
vboxsync
Message:

FE/Qt: 6065: Global settings / Input page / Shortcut table: Make all the cells related to one row selectable at once.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsInput.cpp

    r44738 r44745  
    292292    switch (index.column())
    293293    {
    294         case UIHotKeyTableSection_Name: return Qt::ItemIsEnabled;
     294        case UIHotKeyTableSection_Name: return Qt::ItemIsEnabled | Qt::ItemIsSelectable;
    295295        case UIHotKeyTableSection_Value: return Qt::ItemIsEnabled | Qt::ItemIsSelectable | Qt::ItemIsEditable;
    296296        default: break;
     
    502502    setTabKeyNavigation(false);
    503503    setContextMenuPolicy(Qt::CustomContextMenu);
     504    setSelectionBehavior(QAbstractItemView::SelectRows);
    504505    setSelectionMode(QAbstractItemView::SingleSelection);
    505506    setEditTriggers(QAbstractItemView::CurrentChanged | QAbstractItemView::SelectedClicked);
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