views:

18

answers:

0

I've been building a small application in pyQT and I've run into a problem. I'd like to create a modal dialog box that appears on launching the application and collects some input from the user (probably a set of checkboxes that will be populated at runtime). I'm unsure of the best way to accomplish this. Should I subclass QDialog (and if so, how)? Should I just create a QDialog and mess with what it shows using a layout? And how do I ensure I get the right values back from my dialog when the user presses "OK"?