Results 1 to 3 of 3

Thread: Border radius unix/windows

  1. #1
    Join Date
    Jan 2011
    Posts
    8
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Border radius unix/windows

    Hey there,
    sry for my 3rd thread today, but I've been working on my GUI all day and I've been able to accomplish quite a bit.

    Now here is my problem:

    The border radius works just fine on the windows machine, while it does not on the unix.
    Also the windows client is v 4.7.0 and the unix one 4.2.1.

    The stylesheet:
    #widget_2{
    background: white;
    border: 2px solid black;
    border-radius: 20px;
    }

    Thanks
    (It is really hard to finde people with the same problems on QT with google )

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: Border radius unix/windows

    Are stylesheets available in Qt 4.2.1? I think they are introduced a lot later.

  3. #3
    Join Date
    Jan 2011
    Posts
    8
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Border radius unix/windows

    stylesheets are available. For example changing the background works just fine and the designer has the option to add stylesheets.

Similar Threads

  1. Locking and Unlocking Windows/Unix desktop
    By chrisjenx2001 in forum Qt Programming
    Replies: 1
    Last Post: 15th October 2010, 23:47
  2. QFrame with border-radius inside QGraphicsScene
    By DeRatizator in forum Qt Programming
    Replies: 2
    Last Post: 23rd August 2010, 08:39
  3. Emulating Unix on Windows
    By eichner in forum Qt Programming
    Replies: 5
    Last Post: 14th February 2008, 18:13
  4. distinguish windows and unix in Makefile
    By magland in forum General Programming
    Replies: 1
    Last Post: 4th April 2007, 19:43
  5. converting unix exe to windows binary
    By deekayt in forum General Programming
    Replies: 2
    Last Post: 17th September 2006, 01:00

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.