I did it... And finally WORKS...
Now I got a "QVector<QPoints> puntos" that I create fill with the "generar()" function in the "main" .h and .cpp called "aread.h" and "aread.cpp".
Now I want to pass this QVector to the QPainter to draw. But QPainter is implemented in the promoted file, And It doesn't recognize any label or widget in the "main files (.h) and (.cpp).
Should I define in the promoted file a class called Mlog? and try to use the "QVector of this one" in the promoted file?
I defined the QVector as globalI guess that was it.
But I'm still confused between the 2 files.
and How I could call a slots or widget in the main files in the promoted file...
Bookmarks