[Paraview-developers] need help on pqOutputWindow signals and slots connection

Pandu tech pandu4tech at gmail.com
Thu Nov 24 12:51:59 EST 2011


Hi all,

I added a new dockwidget in ParaViewMaindow.ui which has a pqOutputWindow
in it.

// this is code from ui_ParaViewMainWindow.h file

        outputWindowDock = new QDockWidget(pqClientMainWindow);

outputWindowDock->setObjectName(QString::fromUtf8("outputWindowDock"));
        OutputWindow = new pqOutputWindow();
        OutputWindow->setObjectName(QString::fromUtf8("OutputWindow"));
        outputWindowDock->setWidget(OutputWindow);

pqClientMainWindow->addDockWidget(static_cast<Qt::DockWidgetArea>(8),
outputWindowDock);

Now I am able to display pqOutputWindow as a dockwidget in
ParaViewMainWindow but I am unable to get the output messages printed in
the consoleWidget of pqOutputWindow.

I do not get idea how to connect this dockwidget to the signals and slots
of pqOutputWindow like void onDisplayText(const QString& text)


Please help me with ur ideas regarding this.

Thanks,
Pandu..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20111124/5a9ca81a/attachment.htm>


More information about the Paraview-developers mailing list