QDialog Embedded in QWidget

  • Hi,

    Is it possible to have a QFileDialog embedded into a QWidget or into another custom QDialog.

    Thanks in advance.

  • From my experience this is not possible because a QFileDialog is based on "QDialog":http://qt-project.org/doc/qt-4.8/QDialog.html and QDialog is not intended to be displayed as widget inside another widget, but as a top-level window on its own.

    I don't know about the internals of QFileDialog but maybe it is possible to subclass QFileDialog and expose the internally built widget so you could use it as "stand alone" widget.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.