Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

Help with QButtonBox

$
0
0
Hi, I’m new to Qt. I have a QDialog with a QButtonBox that has a Save, Cancel and Open buttons. I’ve read the documentation for the QButtonBox, but I just can’t figure out how to manage the buttons events. I know I can manage the accepted() and cancelled() events, but since Open and Save buttons are both ‘accepting’ I don’t know where to put the code for each one of them. Any pointers? I’ve been searching but I just can’t find any answers to this problem. I’m stuck and I would very much appreciate your help. Thanks.

Viewing all articles
Browse latest Browse all 18427

Trending Articles