Results 1 to 8 of 8

Thread: Another Question with StyleSheets

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    Mar 2010
    Posts
    10
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Another Question with StyleSheets

    Thanks.In fact just a few minutes ago I solved this problem just like Lykurg did.I read the file into a QString and replaced all "url(./" to absolute Path.

    Another question:
    In Windows vista&7, the maximize,minimize and close button are put in a line and there 's no space between them.But when one button is hovered, the button has shadow.The most important is :the shadow is partly on the other buttons.

    In Qt,a QPushButton could also look different by using a PNG file(e.g: a shadow Button) as backgound-image when hovered.But,two widgets could not overlap each other.
    I wonder how to do it in Qt to create a group of vista-like buttons.

    Or anyone know how to create a Google Chrome-style UI?(No titleBar But has the windows control Buttons)?
    Still, waiting online for any reply.
    Last edited by daiheitan; 12th March 2010 at 08:31.

Similar Threads

  1. Where to put my stylesheets?
    By martinn in forum Qt Programming
    Replies: 3
    Last Post: 2nd February 2010, 15:28
  2. stylesheets and subcontrols
    By ctarsoaga in forum Qt Programming
    Replies: 2
    Last Post: 2nd February 2010, 08:19
  3. Stylesheets
    By FuryCradle in forum Newbie
    Replies: 2
    Last Post: 26th September 2009, 21:34
  4. stylesheets with RGB
    By tommy in forum Qt Programming
    Replies: 4
    Last Post: 13th December 2007, 01:02
  5. Problem mit Stylesheets
    By momesana in forum Qt Programming
    Replies: 1
    Last Post: 10th November 2006, 20:41

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.