Here is another problem... Instead of bullets, QTreeView shows question-marks.
Here is the code:
Qt Code:
To copy to clipboard, switch view to plain text mode
Guys, do you have any ideas, how it can be fixed?
Here is another problem... Instead of bullets, QTreeView shows question-marks.
Here is the code:
Qt Code:
To copy to clipboard, switch view to plain text mode
Guys, do you have any ideas, how it can be fixed?
The character you are trying to get is 149 in the Windows CP 1252 code page. Its equivalent Unicode code point is U+2022 BULLET (http://www.unicode.org/charts/PDF/U2000.pdf). The UTF-8 encoding of U+2022 is three bytes E2 80 A2 (in hex, see http://people.w3.org/rishida/tools/conversion/ for useful tool).
So, you could use any of these:
depending on whether you want a single char or a string
DmitryNik (24th October 2011)
Thank you! It works.
Bookmarks