Results 1 to 20 of 24

Thread: QtWebKit-Tabs

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #13
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Wiki edits
    17

    Default Re: QtWebKit-Tabs

    When you add a new tab connect the QWebView::titleChanged() signal to a common slot that either changes the relevant tab text, main window title bar text, or both. You can set the text on the tab with QTabWidget::setTabText() or in the main window title bar with QWidget::setWindowTitle(). You can determine which tab corresponds to the QWebView sender by using QTabWidget::indexOf().

  2. The following user says thank you to ChrisW67 for this useful post:

    Viper666 (21st July 2012)

Similar Threads

  1. QML tabs
    By user2704 in forum Newbie
    Replies: 0
    Last Post: 25th May 2012, 19:03
  2. Replies: 0
    Last Post: 29th February 2012, 10:48
  3. Dockable Tabs
    By lucastonon in forum Newbie
    Replies: 2
    Last Post: 23rd September 2011, 08:54
  4. how to interact with tabs in qt
    By rahulgogoi in forum Qt Programming
    Replies: 1
    Last Post: 8th August 2011, 13:24
  5. Tabs communication
    By therealjag in forum Qt Programming
    Replies: 6
    Last Post: 18th April 2006, 19:19

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.