Zoom in WebKit wrapper


HOME ยป VB & VBnet

Hi everybody,
I'd like to know if there is a way to zoom a page in the webkitbrowser control in vb net.
Thanks in advance.


Related to : Zoom in WebKit wrapper
[split] Building WEBKIT with Carbide.c++ (was: Debugging S60 webkit in carbide)
VB & VBnet
I have the same compiling problem using MR sdk and carbide 2.0 even in command line.
Creating EPOC32BUILDS60BROWSERRECWINSCWUDEB
make -s -r -f "EPOC32BUILDS60BROWSERCACHEWINSCWBROWSERCACHE.WINSCW" RESOURCEUDEB
Creating EPOC32BUILDS60BROWSERCACHEWINSCWUDEB
make -s -r -f "EPOC32BUILDS60WEBKITWINSCWWEBKIT.WINSCW" RESOURCEUDEB
Creating EPOC32BUILDS60WEBKITWINSCWUDEB
make -s -r -f "EPOC32BUILDS60HOMEPAGEWINSCWHOMEPAGE.WINSCW" RESOURCEUDEB
Creating EPOC32BUILDS60HOMEPAGEWINSCWUDEB
make -s -C S60S60WebUiWebUigroup -f "WEBUIAIFSVGICONSDC.MK" TO_ROOT=........ EPOCBLD=........EPOC32BUILDS60WEBUIAIFSVGIC
Qt WebKit zoom - why works on maemo and not on symbian^3 ?
VB & VBnet
I am testing the same application, same user agent, same web site (mail.google.com using iphone user agent) on a C7 (using Qt4.6 and Qt4.7) and on an n900.
On maemo everything works fine when changing the zoom (QWebView::setZoomFactor):
[IMG]http://maemo.crochik.com/_/rsrc/1299781923936/qt-development/shared-images/maemo%20zoom.jpg[/IMG]
on symbian not so much:
[IMG]http://maemo.crochik.com/_/rsrc/1299781926033/qt-development/shared-images/symbian%20zoom.jpg[/IMG]
Any ideas of why? I assume it is some bug with Qt WebKit on symbian but don't even know how to explain it in a bug report.
Zoom in WebKit wrapper
VB & VBnet

Hi everybody,
I'd like to know if there is a way to zoom a page in the webkitbrowser control in vb net.
Thanks in advance.


r WebKit Threading Violation - initial use of WebKit from a secondary thread in UI Automation
VB & VBnet

when i am try to run the automation scripts through terminal with Xcode 6 i got error message like r WebKit Threading Violation - initial use of WebKit from a secondary thread. some can help me to run the automation scripts through terminal or instrument in Xcode 6.


Capybara Webkit Capybara::Webkit::ConnectionError failed to start
VB & VBnet

I'm using capybara webkit on Ubuntu (14.04 LTS) and I'm getting the following error when trying to use it:

Capybara::Webkit::ConnectionError:
/srv/www/app/shared/bundle/ruby/2.1.0/gems/capybara-webkit-1.3.1/bin/webkit_server
failed to start.
from
/srv/www/app/shared/bundle/ruby/2.1.0/gems/capybara-webkit-1.3.1/lib/capybara/webkit/connection.rb:75:in
`parse_port'
from
/srv/www/app/shared/bundle/ruby/2.1.0/gems/capybara-webkit-1.3.1/lib/capybara/webkit/connection.rb:81:in
`discover_port'
from
/srv/www/app/shared/bundle/ruby/2.1.0/gems/capybara-webkit-1.3.1/lib/capybara/webkit/connection.rb:62:in
`start_server'
from
/srv/www/app/shared/bundle/ruby/2.1.0/gems/capybara-webkit-1.3.1/lib/capybara/webkit/connection.rb:25:in
`initialize'
from
/srv/www/app/shared/bundle/ruby/2.1.0/gems/capybara-webkit-1.3.1/lib/capybara/webkit/driver.rb:17:in
`new'

I installed QT using:

sudo apt-get install libqt4-dev libqtwebkit-dev
libqt5webkit5-dev

Using gem versions: capybara (2.4.4) and capybara-webkit (1.3.1)

Thanks


When creating a wrapper class in python, how do I get the superclass's methods to return an instance of my wrapper class
VB & VBnet

For example if I create a simple wrapper around a pandas dataframe:

    from pandas import DataFrame

    class MyDataFrame(DataFrame):

        def __init__(self,data):

            DataFrame.__init__(self,data)

        @staticmethod
        def add(a, b):
            return a + b

and then I instantiate it..

    x = MyDataFrame([1,2,3])

            x.add(1,2)
            #    => 3

            type(x)
            #    => __main__.MyDataFrame

it works. But, if I call a a dataframe method on it that returns a dataframe, It is no loger an instance of my wrapper class.

    y = x.reindex([3,4,5])
    type(y)
    #    => pandas.core.frame.DataFrame

How do I get it to return an instance of MyDataFrame for all DataFrame methods? Is this a common issue? Am I approaching this in the wrong way?



Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .