Results 1 to 5 of 5

Thread: Create tab?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts

    Default Re: Create tab?

    Quote Originally Posted by songthanjp View Post
    When I click here it will open a new tab like that Firefox press ctr+ T it will open a new tab
    You can't create such functionality in Qt Designer which is just a layout designer. You write functionality in code; first you react to the shortcut and then you call QTabWidget::addTab().
    J-P Nurmi

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

    songthanjp (4th March 2008)

  3. #2
    Join Date
    Mar 2008
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    1

    Default Re: Create tab?

    i have another question. I want a sign "x" in my tab ,click here will close tab

Similar Threads

  1. Create Thought Balloons
    By Angelo Moriconi in forum Qt Programming
    Replies: 4
    Last Post: 11th January 2008, 09:15
  2. Create QTextStream
    By Morea in forum Qt Programming
    Replies: 1
    Last Post: 17th June 2007, 20:25
  3. how to create resource fork & data fork
    By jyoti in forum General Discussion
    Replies: 4
    Last Post: 28th November 2006, 17:20
  4. Replies: 1
    Last Post: 24th October 2006, 16:40
  5. How to create an Insert/Submit button for a form.
    By fnmblot in forum Qt Programming
    Replies: 5
    Last Post: 4th August 2006, 16:18

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.