[moved] how to display window(Window A), when clicked on a button of another window(Window B)
-
I hav created two windows, window_A and window_B
I hav button "SHOW" on window_B, when i click on that i want to display window_A.
How can i do that?
I hav files
window_A.h
window_B.h
window_A.cpp
window_B.cpp
main.cppwhere should i write that code?
-
For example you can do like this:
@
window_B::window_B()
{
////
connect(youPushButton, SIGNAL(clicked()), window_A, SLOT(show()));
////
}
@
And why do you post this in Qt Quick, I think it's Genereal and Desktop? -
You should use Page in qml at:
http://harmattan-dev.nokia.com/docs/library/html/qt-components/qt-components-meego-page.html -
Moved to General & Desktop (from Quick), as I think it belongs here.
-
[quote author="Andre" date="1320734170"]Moved to General & Desktop (from Quick), as I think it belongs here.[/quote]
Thank's Andre.