×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Regular Contributor
    Join Date
    Nov 2007
    Posts
    130

    load ebook using QWebview in Qt4.6.1

    Hi,

    I want to develop an ebook application in device. The pages are in html format and I loaded those using setHtml() function of QWebview. Problem is contents in each page is big and it goes out of the screen.

    I dont want to use scrollbar to view the remaining contents.

    Each page should fit the screen or how to cut the contents that fits the screen and place the remaining contents in next page.

    Kindly give solution.

    Regards,
    Bala

  2. #2
    Regular Contributor
    Join Date
    Nov 2007
    Posts
    130

    QGraphicsWebView

    Can anyone give sample code using QGraphicsWebView to load some html page or url, So that I would know how to use that and start using that for my application.

    Also is it possible to split the contents of html and display it page by page in QGraphicsWebView? If so how to do that?

    Kindly help me.

    Regards,
    Bala

  3. #3
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: QGraphicsWebView

    You can use sample code for QWebView, it's trivial to change it to QGraphicsWebView.

  4. #4
    Regular Contributor
    Join Date
    Nov 2007
    Posts
    130

    Re: QGraphicsWebView

    Quote Originally Posted by divanov View Post
    You can use sample code for QWebView, it's trivial to change it to QGraphicsWebView.
    Could you please tell me how to split the contents of html and display it page by page in QWebView? I am developing symbian application and i want an application which should show the contents of html in view and if it exceeds the page, then it should go to next page. Is it possible in webview.

    Kindly help me by giving hint.

    Regards,
    Balaji

  5. #5
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: load ebook using QWebview in Qt4.6.1

    You need to execute some JavaScript, which will cut html content into multiple pages and allow you to thumb pages. There is nothing specific to Qt or WebKit.

Similar Threads

  1. Grid app is crashing... need urgent help...
    By shankha in forum Symbian
    Replies: 5
    Last Post: 2010-10-19, 12:07
  2. dynamic load dll problem
    By shaun.shen in forum Symbian
    Replies: 3
    Last Post: 2007-06-22, 06:37
  3. S60 2nd to 3rd/ PlatformSecurity / Capabilities
    By jarkoos in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 4
    Last Post: 2007-04-14, 14:08

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •