Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This answers point 1 from the issue Point 2 I have discussed with Martyn for a second opinion. The way it is currently implemented fits best with how Qt dialogs work with return values, as they just return done(int retVal). Qt has set return values for Ok and Cancel, Yes and No, but no option for a custom response. The static constant is well away from the existing values and allows this extension cleanly. re #12324
- Loading branch information
1 parent
2c085bc
commit ef4def8
Showing
3 changed files
with
48 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters