View Full Version : How to set the validation for checkboxes?
sangee
10th August 2012, 06:58
I am using 10 checkboxes in my program,and i want to check only 3 checkboxes at a time.so how to set the validation for this?
BalaQT
10th August 2012, 07:59
hi,
This is just a logical thing to do.
nothing to do with Qt.
on clicked(bool) signal u hav to count the number of checkbox which are checked.
ex:
do a foreach loop
and hav a counter to find the number of chkboxes which are checked.
hope it helps,
Bala
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.