Changeset 75973 in vbox
- Timestamp:
- Dec 5, 2018 2:27:36 PM (6 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/guestctrl
- Files:
-
- 3 edited
-
UIGuestControlFileManager.h (modified) (1 diff)
-
UIGuestControlFileTable.cpp (modified) (2 diffs)
-
UIGuestControlFileTable.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIGuestControlFileManager.h
r75903 r75973 163 163 - when there are no more panels visible assign it to the parent dialog 164 164 - grab it from the dialog as soon as a panel becomes visible again 165 - assign edit to the most recently "unhidden" panel */165 - assign it to the most recently "unhidden" panel */ 166 166 void manageEscapeShortCut(); 167 167 void copyToGuest(); -
trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIGuestControlFileTable.cpp
r75928 r75973 1318 1318 return true; 1319 1319 } 1320 else if (pKeyEvent->text().length() == 1 && pKeyEvent->text().at(0).unicode() <= 127) 1320 else if (pKeyEvent->text().length() == 1 && 1321 (pKeyEvent->text().at(0).isDigit() || 1322 pKeyEvent->text().at(0).isLetter())) 1321 1323 { 1322 1324 if (m_pSearchLineEdit) … … 1328 1330 } 1329 1331 } 1330 } 1331 } 1332 1332 else if (pKeyEvent->key() == Qt::Key_Tab) 1333 { 1334 return true; 1335 } 1336 }/* if (pKeyEvent) */ 1337 }/* if (pEvent->type() == QEvent::KeyPress) */ 1338 else if (pEvent->type() == QEvent::FocusOut) 1339 { 1340 disableSelectionSearch(); 1341 } 1342 /* Dont hold up the @pEvent but rather send it to the target @pObject: */ 1333 1343 return false; 1334 1344 } -
trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIGuestControlFileTable.h
r75932 r75973 285 285 286 286 protected: 287 287 288 /** This enum is used when performing a gueest-to-guest or host-to-host 288 289 * file operations. Paths of source file objects are kept in a single buffer … … 317 318 virtual void createFileViewContextMenu(const QWidget *pWidget, const QPoint &point) = 0; 318 319 virtual bool event(QEvent *pEvent) /* override */; 320 319 321 /** @name Copy/Cut guest-to-guest (host-to-host) stuff. 320 322 * @{ */ … … 397 399 QILineEdit *m_pSearchLineEdit; 398 400 QILabel *m_pWarningLabel; 401 399 402 friend class UIGuestControlFileModel; 400 403 };
Note:
See TracChangeset
for help on using the changeset viewer.

