diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-03-14 15:25:09 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-03-14 15:25:34 +0100 |
commit | 56cc022112aff32c6a0e1ce03469b86910363e4b (patch) | |
tree | e353ce37daaaddaad831f9d9686acfe842757fa2 /src/qt/forms | |
parent | 05042d38ba56930d16596d580869f2f38f255232 (diff) | |
parent | c316fdffeca8c49ea20be27e6e007b13f6a9a4c2 (diff) |
Merge #12080: Add support to search the address book
c316fdf [qt] Add support to search the address book (João Barbosa)
Pull request description:
This PR adds support to search the address book for both receiving and sending addresses.
A specialisation of the `QSortFilterProxyModel` is added to implement the custom filtering.
<img width="757" alt="screen shot 2018-01-03 at 16 05 57" src="https://user-images.githubusercontent.com/3534524/34528196-0347d61e-f0a0-11e7-9bd3-535e9e34ceb8.png">
<img width="759" alt="screen shot 2018-01-03 at 16 00 58" src="https://user-images.githubusercontent.com/3534524/34528202-07c99f24-f0a0-11e7-8e34-cff6a1ba2364.png">
Closes #623.
Tree-SHA512: 316e646015c858fc70db6be72dc7922d5bb10a3399e7fa327c992e184cc37a124f11cffefab2dbe0d16bda790c7c0437db364686e66c40b4054b8250b4be15d0
Diffstat (limited to 'src/qt/forms')
-rw-r--r-- | src/qt/forms/addressbookpage.ui | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/qt/forms/addressbookpage.ui b/src/qt/forms/addressbookpage.ui index 264edeb720..7ac216286c 100644 --- a/src/qt/forms/addressbookpage.ui +++ b/src/qt/forms/addressbookpage.ui @@ -22,6 +22,13 @@ </widget> </item> <item> + <widget class="QLineEdit" name="searchLineEdit"> + <property name="placeholderText"> + <string>Enter address or label to search</string> + </property> + </widget> + </item> + <item> <widget class="QTableView" name="tableView"> <property name="contextMenuPolicy"> <enum>Qt::CustomContextMenu</enum> |