VirtualBox

Changeset 3933 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jul 31, 2007 8:18:52 AM (18 years ago)
Author:
vboxsync
Message:

FE/Qt: Fixed VBoxVMLogViewer: Shift+<alpha> didn't starts search automatically.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/ui/VBoxVMLogViewer.ui.h

    r3926 r3933  
    222222                QKeyEvent *e = static_cast<QKeyEvent*> (aEvent);
    223223
    224                 /* processing the return keypress for the mSearchString
    225                  * widget as the search next string action */
     224                /* handle the Enter keypress for mSearchString
     225                 * widget as a search next string action */
    226226                if (aObject == mSearchString &&
    227227                    (e->state() == 0 || e->state() & Keypad) &&
     
    231231                    return true;
    232232                }
    233                 /* processing other search next/previous shortcuts */
     233                /* handle other search next/previous shortcuts */
    234234                else if (e->key() == Key_F3)
    235235                {
     
    240240                    return true;
    241241                }
    242                 /* processing ctrl-f key combination as the shortcut to
     242                /* handle ctrl-f key combination as a shortcut to
    243243                 * move to the search field */
    244244                else if (e->state() == ControlButton && e->key() == Key_F)
     
    251251                    }
    252252                }
    253                 /* processing the alpha-numeric keys as the shortcuts to the
    254                  * search panel displaying and search activation */
    255                 else if (e->state() == 0 &&
     253                /* handle alpha-numeric keys to implement the
     254                 * "find as you type" feature */
     255                else if ((e->state() & ~ShiftButton) == 0 &&
    256256                         e->key() >= Qt::Key_Exclam &&
    257257                         e->key() <= Qt::Key_AsciiTilde)
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