[Qt-interest] QWebView Disable selection of text and other Items

Efan... efanharris at gmail.com
Thu Oct 14 00:27:13 CEST 2010


I tried your suggestion but no Effect :( By default setContentEditable is
disabled .
I tried setting disable Qactions that also has no effect.

On Wed, Oct 13, 2010 at 1:56 PM, Andrew Wong <andrew.w at sohovfx.com> wrote:

> I remember doing this at one point... try to disable
> QWebPage::contentEditable ?
>
> Or, you could also get specific QAction from QWebPage::action, and then try
> disabling the corresponding QAction manually too.
>
>
> On Wednesday 13 October 2010 04:46:10 pm Efan... wrote:
> > I have a QWebView which loads some webpage, but the problem when mouse is
> > pressed and dragged it selectes everything which comes in its way.
> >
> > Is there any way I can get rid of this?? I dont want text and other items
> to
> > be selected.,
> >  I used mousePress and museMove Event and tried some workaround but this
> > workaround completely stops mouse move event, for example if there is is
> > some item which needs to be dragged on my QWebview that can not be done
> > using this workaround.
> >
> > Does any one have any idea how I can do this, could there be any way
> using
> > palette??
> >
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>



-- 
Efan Harris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101013/1d5b970a/attachment.html 


More information about the Qt-interest-old mailing list