[SOLVED] how can i generate such grid (for graphs) using Qt
-
yes i want to use the first method but the widget that i want paint on is inside another one (not defined in a class) so i can't redefine its paintEvent ,
can i paint on a widget without the paintEvent ?
ps : i installed qwt but i realized that drawing it manually is better,
-
i have a widget created inside another one , for example:
CWidget::CWidget(QWidget *parent) : QWidget(parent)
{
...
QWidget *anotherWidget= new Widget(this);
...
}
(this is just an example) ,
and i want to paint onanotherWidget
,