Results 1 to 2 of 2

Thread: Some colors changes in QT forms without pattern

  1. #1
    Join Date
    May 2012
    Posts
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows

    Question Some colors changes in QT forms without pattern

    Sometime the border color of QGroupBox is changed when i open the form (like modal). This not happens all times. The color is correct in most times.
    I dont understand why this happens...

    I'm using QT 4.8

    See picture attached for more infos

    qcolor.png

    this behavior is like:
    QPalette p = ui.gbOpcoes->palette();
    p.setColor(QPalette::Light, Qt::red);
    ui.gbOpcoes->setPalette(p);

    Somebody knows what is happens???
    Last edited by eneias; 9th May 2012 at 17:57.

  2. #2
    Join Date
    Sep 2011
    Location
    Manchester
    Posts
    538
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows
    Thanks
    3
    Thanked 106 Times in 103 Posts

    Default Re: Some colors changes in QT forms without pattern

    Would help if you could create a complable example of your problem.
    I'm guessing you've messed up something, somewhere and creating the demo may show you where you've gone wrong.

Similar Threads

  1. The way to insert pattern
    By Pablo128 in forum Qt Programming
    Replies: 3
    Last Post: 10th April 2010, 12:37
  2. Multiple Forms and vertical layout in forms
    By eva2002 in forum Qt Programming
    Replies: 0
    Last Post: 13th January 2010, 05:05
  3. pattern
    By mickey in forum General Discussion
    Replies: 3
    Last Post: 14th February 2009, 17:12
  4. Layouting "Windows.Forms" like Qt forms
    By Boron in forum Qt Tools
    Replies: 1
    Last Post: 29th April 2008, 22:01
  5. Qt, Databases & the DAO Pattern
    By Paul Drummond in forum Qt Programming
    Replies: 1
    Last Post: 22nd February 2006, 16:13

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.