syntax highlighting items of QListWidget and numbering of lines of QListWidget
hello,
i am coming with actually two question, hope this is ok:
- i would like to use QSyntaxHighlighter and highlight QString entries within a QListWidget --> what would be the best way to achieve this (if possible), since QSyntaxHighlighter needs a QTextDocument to do this
- i have a QListWidget and i would like to know the best way to put numbers to each row (without actually changing the item itself), any ideas?
thnx alot.
Re: syntax highlighting items of QListWidget and numbering of lines of QListWidget
any ideas or hints in regard to this :confused:?
Re: syntax highlighting items of QListWidget and numbering of lines of QListWidget
for those who are interested, the solution for the first question can be found within post:
http://www.qtcentre.org/threads/2253...x-highlighting
i guess the second thing can be done in quite the same way.
sorry for not having looked in depth within the forum, the answer was there actually.
thnx anyway.