Hi,
if I want to set a font-family:
Double quotations which inserted to define font-family, cause problem.Qt Code:
setStyleSheet("QLineEdit { font-family: "Times New Roman"; font-size: 14px; height: 120px; width: 30px; }");To copy to clipboard, switch view to plain text mode
I know that if I exchange them to single quotation code will be executed well.
But is there anyway to define all stylesheet codes in a block and call them as needed, or any alternative solution?
I'm beginner.
Bookmarks