Results 1 to 2 of 2

Thread: StyleSheet components using Qt designer

  1. #1
    Join Date
    Sep 2007
    Posts
    21
    Thanks
    4
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Question StyleSheet components using Qt designer

    Hi all,
    I have the following problem: when I customize one frame (QFrame) from the designer using the option "Change styleSheet..." all other components above changing their stylesheet too.
    How can I customize the frame only?

    Thanks for 1**** time

  2. #2
    Join Date
    Apr 2008
    Posts
    7
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: StyleSheet components using Qt designer

    Hi..
    i think u r applying stylesheet for the application, instead of that u can set stylesheet for QFrame, try like this

    QFrame frame;
    frame.setStylesheet(.....);

    Thanku,

    Vani.Y

Similar Threads

  1. Replies: 13
    Last Post: 15th December 2006, 11:52

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.