How to change the font size in the QTextEdit from the QComboBox
Ive been stumped on a problem for quite some time now, and so I gotta ask, how can I get the font in the QTextEdit to be sized based on the value in the QComboBox. Please help, I have been stuck on this problem for some time. thanks
maybe you can use QWidget::setStyleSheet(const QString&) function.
see "here":http://qt-project.org/doc/qt-4.8/stylesheet-reference.html for reference
Connect the currentIndexChanged signal from the box to a slot where you set the font of the editor using QWidget::setFont().