Changeset 78435 in vbox
- Timestamp:
- May 7, 2019 2:19:26 PM (5 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/medium
- Files:
-
- 2 edited
-
UIMediumSearchWidget.cpp (modified) (1 diff)
-
UIMediumSearchWidget.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/medium/UIMediumSearchWidget.cpp
r78432 r78435 249 249 void UIMediumSearchWidget::sltShowNextMatchingItem() 250 250 { 251 if (m_matchedItemList.isEmpty())252 return;253 251 goToNextPrevious(true); 254 252 } -
trunk/src/VBox/Frontends/VirtualBox/src/medium/UIMediumSearchWidget.h
r78432 r78435 56 56 SearchType searchType() const; 57 57 QString searchTerm() const; 58 /** Performs the search on the items of the @p pTreeWidget. If @p is true 59 * then the next marched item is selected. */ 58 60 void search(QITreeWidget* pTreeWidget, bool fGotoNext = true); 59 61 … … 71 73 72 74 void prepareWidgets(); 75 /** Marks/unmarks the items of @p itemList depending on @p fMark. */ 73 76 void markUnmarkItems(QList<QTreeWidgetItem*> &itemList, bool fMark); 74 77 void setUnderlineItemText(QTreeWidgetItem* pItem, bool fUnderline); … … 78 81 /** Updates the feedback text of th line edit that shows # of matches. */ 79 82 void updateSearchLineEdit(int iMatchCount, int iScrollToIndex); 83 80 84 QIComboBox *m_pSearchComboxBox; 81 85 UISearchLineEdit *m_pSearchTermLineEdit; … … 85 89 QList<QTreeWidgetItem*> m_matchedItemList; 86 90 QITreeWidget *m_pTreeWidget; 91 /** The index to the matched item (in m_matchedItemList) which is currently selected/scrolled to. */ 87 92 int m_iScrollToIndex; 88 93 };
Note:
See TracChangeset
for help on using the changeset viewer.

