+ 4

How can i use different types of fonts in an editor i made using qt.

I have made an editor using qt , now i can do basic operations using it.But how can i use different font inside the application.So that user can write text in different fonts?

5th Jul 2018, 10:53 AM
shobhit
shobhit - avatar
3 Respostas
0
I don't know C++ yet, but I will try to help. This webpage might help. If not, please let me know: https://stackoverflow.com/questions/33108150/font-editor-widget-in-qt
5th Jul 2018, 11:24 PM
coolboy7
coolboy7 - avatar
0
you can either use QFont in your code and in Qt designer you can use stylesheet... or if u mean to use different fonts on a line edit you can change rich text..
22nd Aug 2019, 3:53 PM
S/\/\:)LE
S/\/\:)LE - avatar