[SOLVED]Opening of same independed sub_mainwindows from a mainwindow
-
Hi,
I trying to develop an application that needs to open from my mainwindow
some other mainwindows.(lets call them submainwindows)My problem is that every time i open a new submainwindow my
previews submainwindow takes the variables of the new one
(and i don't want this)I tried to make an array of this submainwindows, so that everyone
will be separate than the others...
but this way my problem is that the compiler gives me an error
that may not be initialized.Does anybody can help me with this?
PS: I would prefer not to use an array of mainwindows
(but if it is necessary i will do it)Thank you in advance
Kostis -
Thank you prady_80,
I will try to learn about this relation.. ( Since then, I just observe that they probably have not that kind of
relationship...) In their header file is:
@public:
explicit MySubMainWindow(QWidget *parent = 0);@I think that my problem is that in the cpp file before Widget start, i define some parameters that i need...
(So they are probably external for my whole program)
I doing this because i haven't find a better solution to pass argument in the SLOTS...
Probably is time to find another way...Thank you anyway,
I will check the relationship of QWidgets too...