Unsolved How to design the widget like this(1PassWord for PC);
-
I try to use QListWidget or QListView,but there's a problem. I don't know how to insert letter into the QListWidget(or QListView).At last ,i had to use twenty and seven(A-Z and digit) QListView...it looks a litte foolish...
Any good idea to this
-
Hi
Do you mean the A,B,C letters for sort of group caption?In any case you should use a delegate to draw it as you want.
https://doc.qt.io/qt-5/qstyleditemdelegate.htmlThis is similar
https://qt-articles.blogspot.com/2010/07/how-to-customize-listview-in-qt-using.html -