Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Subclassing QWebView?

Subclassing QWebView?

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 514 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    dolevo
    wrote on last edited by
    #1

    Hi all,

    I have a gui application where I have a QWebView on the form. I have a separate class which is initiated in MainWindow constructor. However, my project is becoming bigger now and currently I need to connect signals coming from my class to the MainWindow. For example, I have a signal slot to to setUrl of the QWebView from my class. This works ok but now I am thinking of setting it directly because it is now more often that I need to reach some variables in the MainWindow class.

    I didn't expect that my project will grow that much but I would like to change it to a proper way, like subclassing QWebView if it is the most convenient way. Could anyone tell me what the best option is?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved