Results 1 to 1 of 1

Thread: how to set property to qtabbar??

  1. #1
    Join Date
    Jul 2012
    Posts
    23
    Thanks
    3

    Default Re: how to set property to qtabbar??

    hello, guys!
    I have some different shaped tabwidget to make.
    and I have to set stylesheet to tabwidget.
    so I was set property to tabwidget.
    but I don't know how to set property or objectname to tabbar.

    In case tabwidget,
    Qt Code:
    1. tabwidget->setProperty("aa", "1");
    2.  
    3. QTabWidget[aa = "1"]
    4. {
    5. ...
    6. }
    To copy to clipboard, switch view to plain text mode 

    then how to tabbar??

    please help!


    Added after 17 minutes:


    I find the answer...

    Qt Code:
    1. QTabWidget[aa = "1"] > QTabBar
    2. {
    3. ...
    4. }
    To copy to clipboard, switch view to plain text mode 

    thanks!
    Last edited by melody:p; 11th September 2012 at 09:11.

Similar Threads

  1. Replies: 1
    Last Post: 15th January 2012, 11:34
  2. Replies: 0
    Last Post: 17th November 2011, 11:51
  3. QTabBar??
    By anupamgee in forum Qt Programming
    Replies: 12
    Last Post: 30th April 2009, 18:13
  4. StyleSheets/QTabBar -- max-width property not respected.
    By momesana in forum Qt Programming
    Replies: 1
    Last Post: 22nd November 2007, 10:25
  5. QTAbBar not displaying
    By Dune in forum Qt Programming
    Replies: 17
    Last Post: 9th February 2006, 18:25

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.