Unsolved how to create a following Dialogue in the image
-
![alt text]( image url)
-
@Qt-Enthusiast
What bit are you asking about for this? The icon, the layout, the behaviour, the buttons, what?Guessing you are referring to the Don't show this dialog again checkbox behaviour? Qt won't have a in-built "show dialog only once". You would design the dialog to have the checkbox on it. Then it's your code's responsibility to implement the save to somewhere in program's settings not to show this particular dialog again, and read and act on that next time the situation for the dialog arises.
-
Everyting
I have not well versed with the DIalog so if some one can help me to create a complted dialogue box
-
Hi
You simply make a new form class based on QDialogAdd a box layout and add some QLabels for image and text
and add some pushbuttons too and the checkboxTest project
https://www.dropbox.com/s/voasnqb4kml3sc6/customDialog.zip?dl=0 -
-
@JonB
:)
well explaining it in details takes far longer than just to design it. ( used 5 mins)
Also talking about layouts is always meh-ish.
So i reckoned a test project would be easier :) -
@mrjj And I thought OP was just asking about Don't show this dialog again checkbox behaviour:)
-
@JonB
Me too for a moment, until it was sort of covered by "everything" ;)
Maybe QSettings would be good for storing if to be shown again or not. -
Thanks
need help in one more dialog
-
@Qt-Enthusiast
100% same way.
Check out test project.
Its easy to modify to look like that instead.
Or simple Create new form class and and add the elements. -
how can I use QInputDialog to make this Dialog box
-
@Qt-Enthusiast
You cant.
QInputDialog is predefined and cannot be altered.
You will have to design it like the other.