May 4, 2012

nitin777 nitin777
Lab Rat
6 posts

QDialog Embedded in QWidget



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

Thanks in advance.



1 reply

May 4, 2012

Daniel Eder Daniel Eder
Lab Rat
58 posts

From my experience this is not possible because a QFileDialog is based on QDialog [] 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.

  ‹‹ [SOLVED] multiple using qRegisterMetaType      Qt Applications using the serial port? ››

You must log in to post a reply. Not a member yet? Register here!