I am trying to place a call to keyPressEvent which basically hits the
enter key. Could someone please tell me how to structure that call?
Something like:
keyPressEvent(blah blah blah);
What do I put in blah blah blah?
Beren
This is what will happen, I need to open up 5 new tabs, and then
automate the actions in each tab most of which will never be seen. So,
to do this, I want to put some code into the webview.cpp, so that when a
certain condition is met, on load, it will basically hit the enter key.
keyPressEvent exists within the webview.cpp, but I don't really know how
to call it. If I have to overload it, how exactly do I do that?
keyPressEvent << Qt::Key_Enter;
or something like that?
Beren
Unfortunately, I wish to do it in the method I have specified. I wish to
send the enter key to multiple tabs using the keyPressEvent in
webview.cpp. Could you please just specify how I can go about doing
that? I'm fairly new at all of this. I have done a lot of work on this,
but just need to do that above mentioned action.
Beren
Unfortunately, I wish to do it in the method I have specified. I wish to> If you want something "else", I found this via a short google search.
> Please read
> it: http://stackoverflow.com/questions/2035310/how-can-i-simulate-user-interaction-key-press-event-in-qt
send the enter key to multiple tabs using the keyPressEvent in
webview.cpp. Could you please just specify how I can go about doing
that? I'm fairly new at all of this. I have done a lot of work on this,
but just need to do that above mentioned action.