Results 1 to 2 of 2

Thread: QWebPage::createPlugin()..how to use this function??

  1. #1
    Join Date
    Jul 2008
    Posts
    5
    Qt products
    Qt4
    Platforms
    Windows

    Question QWebPage::createPlugin()..how to use this function??

    Hi all,
    I am new to Qt and need your help.
    I am trying to use
    QObject * QWebPage::createPlugin ( const QString & classid, const QUrl & url, const QStringList & paramNames, const QStringList & paramValues )
    i.e. I am using a object tag in my html file like

    <object type="application/x-qt-plugin" classid="QPushButton" name="pushbutton" width=120>
    If I want to embed,say a QPushButton in my webpage as given above,then how should I do this?
    is this the correct way?
    and what else do I need to include in my code apart from this object tag in the html file?
    Isnt this function called directly whenever webkit detects object tag in the html file like the javascriptAlert()?

    Thanks!

  2. #2
    Join Date
    Jul 2008
    Posts
    5
    Qt products
    Qt4
    Platforms
    Windows

    Question Re: QWebPage::createPlugin()..how to use this function??

    Hi,
    Has anyone used this function??or do you know anyother way of embedding a custom widgets into qwebpage??
    Plz help!!!

Similar Threads

  1. QPSQL problem
    By LoneWolf in forum Installation and Deployment
    Replies: 60
    Last Post: 4th November 2009, 14:22
  2. QPSQL driver in windows
    By brevleq in forum Installation and Deployment
    Replies: 31
    Last Post: 14th December 2007, 12:57
  3. how to add static library into qmake
    By Namrata in forum Qt Tools
    Replies: 1
    Last Post: 20th November 2007, 17:33
  4. KDE/QWT doubt on debian sarge
    By hildebrand in forum KDE Forum
    Replies: 13
    Last Post: 25th April 2007, 06:13
  5. use qpsql
    By raphaelf in forum Installation and Deployment
    Replies: 34
    Last Post: 22nd August 2006, 12:52

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.