What do you mean by "construct the widgets with the stacked widget as parent"?
I am using qt 4.1.4. I believe is the latest, but i am waiting for 4.2 to be stable for using it.
Thanks for your answer.
What do you mean by "construct the widgets with the stacked widget as parent"?
I am using qt 4.1.4. I believe is the latest, but i am waiting for 4.2 to be stable for using it.
Thanks for your answer.
Last edited by manucorrales; 14th July 2006 at 20:00. Reason: mmm...
Ok, good. It's the latest.
I meant something like this:
Qt Code:
clientes = new DialogListaClientes(stackedWidget);To copy to clipboard, switch view to plain text mode
But now after a tiny moment of thinking, I doubt that's the problem. What kind of widgets are these DialogLista*? Do they derive from QDialog? If so, I'm pretty sure that causes the problem.
J-P Nurmi
Yep, there are QDialog subclasses. The strange thing is that use to work on previous versions of Qt.
Anyway, I can change and subclass of QWidget, right? What do you recommend?
Thanks.
Yeah, anything else than QDialog should do the trick. QDialog is a special widget whose behaviour differs from other widgets:
Note that QDialog uses the parent widget slightly differently from other classes in Qt. A dialog is always a top-level widget, but if it has a parent, its default location is centered on top of the parent's top-level widget (if it is not top-level itself). It will also share the parent's taskbar entry.
J-P Nurmi
csvivek (7th May 2008), manucorrales (14th July 2006)
Bookmarks