Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I use the search box control seen in Windows Explorer in my own application?

Tags:

c++

controls

Can I use this search box control seen in Windows Explorer in my own Qt/C++ application? Or is it a custom control I'd have to implement manually?

enter image description here

like image 738
Jake Petroules Avatar asked Dec 02 '25 06:12

Jake Petroules


1 Answers

I haven't seen this kind of control, however in Qt it's easy to implement it manually. You may follow this tutorial: http://labs.qt.nokia.com/2007/06/06/lineedit-with-a-clear-button/ and just replace a clear icon with a search one (and change slot from clear() to something which performs desired search, of course).

like image 189
Dr McKay Avatar answered Dec 04 '25 21:12

Dr McKay



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!