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. Open link in new tab/window
Forum Update on Monday, May 27th 2025

Open link in new tab/window

Scheduled Pinned Locked Moved General and Desktop
6 Posts 3 Posters 1.6k Views
  • 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.
  • N Offline
    N Offline
    nicky j
    wrote on last edited by
    #1

    hello,

    Many browsers allow you to open links in new tabs/windows. How can I make that work on my homemade browser?

    1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Qt Champions 2022
      wrote on last edited by
      #2

      Look at this thread. It may help you.

      http://qt-project.org/forums/viewthread/17635

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

      1 Reply Last reply
      0
      • N Offline
        N Offline
        nicky j
        wrote on last edited by
        #3

        That example (I could be wrong) creates a new web view, how can I create a new tab and populate it with buttons, web view, etc?

        1 Reply Last reply
        0
        • H Offline
          H Offline
          huajin
          wrote on last edited by
          #4

          QT demo tab broswer have same function.

          1 Reply Last reply
          0
          • N Offline
            N Offline
            nicky j
            wrote on last edited by
            #5

            could you possibly point me towards the file/class/line in the demo tabbed browser that enables this feature? Its a lot of code to sift through!

            1 Reply Last reply
            0
            • H Offline
              H Offline
              huajin
              wrote on last edited by
              #6

              webview.cpp

              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