Hi,
I am trying to find a way to connect a button in HTML to an action in my C++/Qt application. I loaded an html file in QT app using QTextBrowser object. If i click a button in this html file, the Qt application should respond. I also might want to implement it vice versa: so that an action in the Qt application would cause a response in the HTML page. Please suggest a suitable solution.
My sample code is :
browser->setFixedSize(500,500);
browser
->setSource
(*new QUrl("test.html"));
browser->setWindowTitle("QTextBrowser Sample");
browser->show();
QTextBrowser* browser = new QTextBrowser();
browser->setFixedSize(500,500);
browser->setSource(*new QUrl("test.html"));
browser->setWindowTitle("QTextBrowser Sample");
browser->show();
To copy to clipboard, switch view to plain text mode
is there any mechanism like signal/slot ??
thanks in advance...
Bookmarks