Results 1 to 4 of 4

Thread: designer 4.5 widget preview (plastique)

  1. #1
    Join Date
    Mar 2008
    Posts
    141
    Thanks
    10
    Thanked 9 Times in 9 Posts

    Default designer 4.5 widget preview (plastique)

    Hi,

    i use designer with designer.exe -style plastique (Win XP). When I what to preview a widget i can use ctrl+R (default style. which is plastique in my case) or chose a style. If I use both options with plastique I get two (slightly) different looks. In fact my apps look like the first one. Does anyone no why there is a difference? Acually i like the second one as well (but my apps wont look like this)
    Attached Images Attached Images

  2. #2
    Join Date
    Jan 2006
    Location
    Napoli, Italy
    Posts
    621
    Thanks
    5
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: designer 4.5 widget preview (plastique)

    Quote Originally Posted by janus View Post
    Hi,

    i use designer with designer.exe -style plastique (Win XP). When I what to preview a widget i can use ctrl+R (default style. which is plastique in my case) or chose a style. If I use both options with plastique I get two (slightly) different looks. In fact my apps look like the first one. Does anyone no why there is a difference? Acually i like the second one as well (but my apps wont look like this)
    Probably the difference is that in the first case Designer uses current palette and in the second one uses QStyle::standardPalette()
    A camel can go 14 days without drink,
    I can't!!!

  3. #3
    Join Date
    Mar 2008
    Posts
    141
    Thanks
    10
    Thanked 9 Times in 9 Posts

    Default Re: designer 4.5 widget preview (plastique)

    yes, there must be a difference in the palette used. But the point is the "preview" is not really a preview in the second case.

  4. #4
    Join Date
    Jan 2006
    Location
    Napoli, Italy
    Posts
    621
    Thanks
    5
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: designer 4.5 widget preview (plastique)

    The simple "Preview" command shows the widget with your current settings. The "Preview with Style" shows the widget with the "default" settings for the choosen style.
    A camel can go 14 days without drink,
    I can't!!!

Similar Threads

  1. add an apps to the designer widget box
    By adamatic in forum Qt Tools
    Replies: 1
    Last Post: 5th March 2009, 07:31
  2. Custom widget - Only works in Designer
    By Darhuuk in forum Qt Tools
    Replies: 6
    Last Post: 8th January 2008, 01:46
  3. Replies: 4
    Last Post: 9th August 2007, 09:20
  4. QT4: Custom widget for QT Designer
    By Michiel in forum Qt Tools
    Replies: 4
    Last Post: 4th May 2006, 14:35
  5. Replies: 4
    Last Post: 24th March 2006, 23:50

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.