Changeset 77752 in vbox
- Timestamp:
- Mar 18, 2019 12:20:49 PM (6 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserHandlerKeyboard.cpp
r77638 r77752 302 302 return false; 303 303 } 304 case Qt::Key_Escape: 305 { 306 /* Make sure that vm search widget is hidden: */ 307 model()->setSearchWidgetVisible(false); 308 break; 309 } 304 310 default: 305 311 { … … 379 385 #endif 380 386 } 381 -
trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserModel.cpp
r77750 r77752 536 536 } 537 537 538 539 538 /* Update the search widget's match count(s): */ 540 539 if (view()) 541 540 view()->setSearchResultsCount(m_searchResults.size(), m_iCurrentScrolledIndex); 542 541 } 542 543 void UIChooserModel::setSearchWidgetVisible(bool fVisible) 544 { 545 if (view()) 546 view()->setSearchWidgetVisible(fVisible); 543 547 } 544 548 -
trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserModel.h
r77723 r77752 195 195 * all nodes which may be utilized by the calling code. */ 196 196 QList<UIChooserNode*> resetSearch(); 197 /** Scrolls to next/prev (wrt. @a fIsNext) search result. */ 197 198 void scrollToSearchResult(bool fIsNext); 199 /** Shows/hides machine search widget. */ 200 void setSearchWidgetVisible(bool fVisible); 198 201 /** @} */ 199 202
Note:
See TracChangeset
for help on using the changeset viewer.