How to convert HFONT to QFont?
-
i just use the windows api function "CreateFont()" to create a hfont, but i don't know how to use it in qt, anyone can help?
-
i want to rotate the font 90 degree but don't use paintevent
-
Why would you avoid using paint event ?
As per "this how-to":http://qt-project.org/faq/answer/how_can_i_draw_vertical_text It is very easy with paint event. -
[quote author="Rahul Das" date="1385014829"]Why would you avoid using paint event ?
As per "this how-to":http://qt-project.org/faq/answer/how_can_i_draw_vertical_text It is very easy with paint event.[/quote]just get a project of someone, and that guy avoid using paintevent. Do you have another method?
-
Nope, i don't know any better method!