Search Box in QToolbar
-
19-09-2019 - |
Question
Does anybody knows how to make a good search box in Qt (actualy PyQt). It should sit in the toolbar (QToolbar) and look a little different than your normal QLineEdit (rounded corners and an icon as prefix). It should be aligned right with a blank space between the rest of the controls. All tips welcome!
Solution
To style a QLineEdit, see here. The rest of your requirements should be answered in the QToolBar docs.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow