View Full Version : QDialog and default button.
hicpalm
30th April 2008, 09:06
is it possible to have a QDialog without default buttons, so that when I validate a control in the dialog with return pressed it doesn't cause any button to be pressed.
thanks.
jpn
30th April 2008, 09:19
See QPushButton::autoDefault (notice what's mentioned about QDialog).
hicpalm
30th April 2008, 11:11
that's it, I have skipped it without noticing.
sorry and thanks ...
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.