How to get text field content in QWebView
Hi,
In my application, I use QWebView to display an application form ( two text fields) and two buttons "submit" and "Cancel" in html. Question:
1. To get the content of text fields, how to do it? Is there any signal in QWebView or QWebPage?
2. To get the signal of button, how to do?
Thank you!
Re: How to get text field content in QWebView
richardander,
what about
void triggerPageAction ( QWebPage::WebAction action, bool checked = false )
with action = QWebPage::Copy or QWebPage::SelectNextLine or anything else select*
and
QClipboard`s Public Functions
QString QClipboard::text ( Mode mode = Clipboard ) const
As variant it is no bad, but we can think more.
:)