Results 1 to 2 of 2

Thread: "Customizing Using Dynamic Properties" and dynamic change of this property

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

    Default "Customizing Using Dynamic Properties" and dynamic change of this property

    Hi all,

    When i change the property of my dynamic field, the background-color doesn't change.
    I have to reload this CSS so that works.

    There are a method to not reload complety CSS ?

    Thanks for your help.
    Attached Files Attached Files

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,363
    Thanks
    3
    Thanked 5,012 Times in 4,791 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: "Customizing Using Dynamic Properties" and dynamic change of this property

    The stylesheet needs to be reloaded. You can split your big stylesheet into smaller ones and set them on specific widgets and then reload only those sheets that are relevant to the property change.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Change Stylesheet Using Dynamic Property
    By stefanadelbert in forum Qt Programming
    Replies: 4
    Last Post: 26th August 2010, 07:48
  2. Dynamic qt libraries on a "clean" pc
    By giotto in forum Installation and Deployment
    Replies: 4
    Last Post: 11th March 2008, 12:20
  3. Translation QFileDialog standart buttons ("Open"/"Save"/"Cancel")
    By victor.yacovlev in forum Qt Programming
    Replies: 4
    Last Post: 24th January 2008, 19:05
  4. ("Dynamic") Class in DLL
    By durbrak in forum Qt Programming
    Replies: 5
    Last Post: 29th January 2007, 14:43
  5. "dynamic" layout
    By hulk in forum Qt Programming
    Replies: 2
    Last Post: 9th May 2006, 07:16

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.