[Qt-interest] slots are not invoking

Mandaya Prakash mandaya.prakash at gmail.com
Tue Dec 7 08:45:36 CET 2010


Hello All,

I have  a small QWidget based plugin which works great with QWebView But
when I am converting Webview to QGraphicsWebView  using QGraphicsProxyWidget
and my Slots  written in myWidget does not get called from my Index.htm , I
have no clue what I am missing why it is not working. Exact same thing works
great when I am using QWebView.
.
my Index.htm is like this

<object type="application/x-qt-plugin"
    classid="myWidget"
    contents="Hello Word"
    name="dialoginput"
    height="40"
    width="125">

I am calling follwoing JS function on mouse click event on button

<script type="text/javascript">

    myButton.clicked.connect(this, foobar);

<script type="text/javascript">
    function foobar()
    {
        dialoginput.myFooSlot()
    }



Any hint will be highly appreciated, I dont think there is any thing wrong
in my htm file, I suspect there is some issue with QGraphicsWebView or
QGraphicsProxyWidgetl, but for my life I am unable to figure out what I am
missing there because exact same thing works great with Qwebview
-- 
Best Regards,

*Prakash Mandaya.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101206/19601ebb/attachment.html 


More information about the Qt-interest-old mailing list