[Qt-interest] QWebView and right click
Felipe Coutinho
felipelcoutinho at gmail.com
Tue Nov 24 19:26:43 CET 2009
Thanks. It works.
Felipe.
--
Felipe Leal Coutinho
http://felipelcoutinho.googlepages.com/
On Tue, Nov 24, 2009 at 11:45 AM, Abhishek <abhishekworld at gmail.com> wrote:
> Hi Felipe,
>
> Right Click means Context Menu and in QWidget setContextMenuPolicy (
> Qt::ContextMenuPolicy ) where you can set the policy to Qt::NoContextMenu
> as the QWebView is inherits QWidget this should work for you.
>
> check out this link for your reference
> http://doc.trolltech.com/4.5/qwidget.html#contextMenuPolicy-prop .
>
> --
> Abhishek
>
> On Tue, Nov 24, 2009 at 7:50 PM, Felipe Coutinho <
> felipelcoutinho at gmail.com> wrote:
>
>> Hello,
>>
>> When we create a link at a qwebview and we click at it with the mouse
>> right button appears a box with these options:
>> * open link
>> * open in a new window
>> * save link...
>> * copy link
>> Does anyone knows how can I disable this box?
>>
>> Thanks,
>>
>> Felipe.
>>
>> --
>> Felipe Leal Coutinho
>> http://felipelcoutinho.googlepages.com/
>>
>> _______________________________________________
>> Qt-interest mailing list
>> Qt-interest at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>>
>>
>
>
> --
> Abhishek Patil
>
> "Imagination is more important than knowledge..." -Albert Einstein
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091124/9a0d8e4f/attachment.html
More information about the Qt-interest-old
mailing list