Results 1 to 3 of 3

Thread: how can I Define whole control styles ?

  1. #1
    Join Date
    Mar 2010
    Posts
    10
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows

    Question how can I Define whole control styles ?

    I wantto add my own custom theme (QT ppl calling it style? )for all controls and subcontrols something like this

    but png files should not be referred from an external directory.All should be in exe or an extra dll resource.

    how can I define it?
    where should I start from ?

    thanks much.

  2. #2
    Join Date
    Oct 2009
    Location
    Mexico
    Posts
    81
    Thanks
    6
    Thanked 10 Times in 10 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: how can I Define whole control styles ?

    try to use stylesheets to the custom widget

    http://doc.trolltech.com/4.3/stylesh...ing-qscrollbar

  3. #3
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,042
    Thanks
    8
    Thanked 133 Times in 128 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: how can I Define whole control styles ?

    and take a look at qt resource system.

Similar Threads

  1. Replies: 0
    Last Post: 16th December 2009, 09:45
  2. GUI Styles
    By dsmcc in forum Qt Programming
    Replies: 1
    Last Post: 19th November 2008, 15:58
  3. Styles of scrollbar
    By zlosynus in forum Qt Programming
    Replies: 2
    Last Post: 7th August 2008, 14:33
  4. Problem with Qt4 Styles
    By drake1983 in forum Newbie
    Replies: 2
    Last Post: 10th February 2008, 03:11
  5. Styles - building
    By Salazaar in forum Newbie
    Replies: 10
    Last Post: 20th May 2007, 18:19

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.