View Full Version : Difference between Dialog and widget and MainWindow
rezas1000
16th August 2014, 11:46
I've search and I found.
But nobody gave me an answer!!
what is the Difference between Dialog and widget and MainWindow?
thanks.
anda_skoa
16th August 2014, 11:56
I've search and I found.
But nobody gave me an answer!!
Which part of the explanation in the other thread was lacking in your opinion.
Cheers,
_
rezas1000
16th August 2014, 12:20
The following quote:
A dialog is a top-level widget, that is always displayed in separate window (i.e. you can't put it on another widget).
And I asked:
Do you like when we click a button (New) and a new window opens?
anda_skoa
16th August 2014, 13:12
Do you like when we click a button (New) and a new window opens?
I don't understand the question.
You can do whatever you want as a reaction to a button click, including opening a window.
Cheers,
_
rezas1000
16th August 2014, 13:43
thank you very much.
You can do whatever you want as a reaction to a button click, including opening a window.
The explanation,is it about Dialog?
anda_skoa
16th August 2014, 14:18
I really don't get what you are asking.
A dialog is a type of top level window, as explained in the other thread
Cheers,
_
wysota
16th August 2014, 14:35
And I asked:
Do you like when we click a button (New) and a new window opens?
I don't think this is the question you really wanted to ask. If I had to answer this question, I'd say "sometimes I do, sometimes I don't, it depends what I am aiming for" but I doubt this brings you closer to obtaining your goal.
hassinoss
16th August 2014, 16:56
Hi all,
There is any problem if i use 2 MainWindows in the same project ?
anda_skoa
16th August 2014, 17:23
No
Cheers,
_
rezas1000
16th August 2014, 17:32
There is any problem if i use 2 MainWindows in the same project ?
No
Is it not possible for Dialog?
wysota
16th August 2014, 21:24
Is it not possible for Dialog?
You can use as many widgets of any type as you wish.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.