suppose I have a widget ,say, QTextEdit, it already has some corresponding attributes: text, font, color, ....
I want to draw it onto a widget of my own
how can I achieve that?
//mywidget.h
class MyWidget : public QWidget
...
//mywidget.cpp
void MyWidget :: paint()
{
//???
}
Bookmarks