Qt6 topics merged with General

How to customize a QFileDialog with checkboxes

  • I would like to create a custom QFileDialog to save a file, but offer a couple of options that can be selected with checkboxes.

    I've searched the forum and Qt examples, but haven't found anything similar and/or complete enough to enable me to do what I'm hoping for.

    Could someone please advise me how to create a QFileDialog sub-class with checkboxes, and how to obtain the state of those checkboxes when the file to be saved has been chosen?

    Thanks for any advice / example code.