Commit 67962d60 authored by jhammen's avatar jhammen

text search results refresh button

parent 00bd2143
......@@ -78,3 +78,8 @@ void SearchWidget::doSearch() {
}
void SearchWidget::on_searchLineEdit_textEdited(const QString &) { newSearch = true; }
void SearchWidget::on_refreshButton_clicked() {
newSearch = true;
doSearch();
}
......@@ -43,10 +43,10 @@ class SearchWidget : public QWidget {
void on_searchButton_clicked();
void on_searchLineEdit_returnPressed();
void on_searchLineEdit_textEdited(const QString &arg1);
void on_refreshButton_clicked();
private:
Ui::SearchWidget *ui;
// QList<Editor
bool newSearch;
void doSearch();
};
......
......@@ -42,11 +42,28 @@
</widget>
</item>
<item>
<widget class="QLabel" name="countLabel">
<property name="text">
<string/>
</property>
</widget>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLabel" name="countLabel">
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="refreshButton">
<property name="toolTip">
<string>Refresh Search Results</string>
</property>
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset theme="reload"/>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QTreeWidget" name="treeWidget">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment