Hello All,<br><br>I have to add Output Window ( Tools->Output Window) as a dock window, instead of a separate window. <br>The approach is to subclass pqOutputWindow from QDockWidet instead of QDialog.<br><br>Sample Code:<br>
this->OutputWindow = new pqOutputWindow(0);<br>and now I need to addDockWidget(Qt::RightDockWidgetArea, OutputWindow); // But where do I add this line.. This addDockWidget is the member of QMainWindow class and I must add that line in a class which is derived from QMainWindow<br>
<br>Please let me know where do I write the line addDockWidget(Qt::RightDockWidgetArea, OutputWindow);<br><br>Also kindly let me know if there is any other approach.<br><br>Appreciate ur help.<br><br>Regards,<br>Pandu.<br>