May 4, 2012

nitin777 nitin777
Lab Rat
6 posts

QDialog Embedded in QWidget

 

Hi,

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

Thanks in advance.

 Signature 

nitin

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 [qt-project.org] 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!