Results 1 to 2 of 2

Thread: QT Jambi [color]

  1. #1
    Join Date
    Feb 2009
    Posts
    25
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default QT Jambi [color]

    Hello,

    I have a problem which is:

    how the + change to color red...

    Qt Code:
    1. Button plusButton = createButton(tr("+"), operatorColor,
    2. "additiveOperatorClicked()");
    To copy to clipboard, switch view to plain text mode 

    Kjiu

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

    Default Re: QT Jambi [color]

    Use stylesheets.
    Qt Code:
    1. plusButton.setStyleSheet("color: red;");
    To copy to clipboard, switch view to plain text mode 
    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. Future of Qt Jambi
    By devent in forum General Discussion
    Replies: 1
    Last Post: 2nd August 2009, 16:21
  2. Qt Jambi, deploying app on Mac & Windows fails
    By ChrisColon in forum Installation and Deployment
    Replies: 2
    Last Post: 16th February 2009, 22:05
  3. Why Jambi?
    By invictus in forum Newbie
    Replies: 1
    Last Post: 7th February 2007, 22:21
  4. We'll need a QT Jambi section!
    By GreyGeek in forum General Discussion
    Replies: 23
    Last Post: 30th September 2006, 00:38
  5. Loading jpeg (QPixmap with Qt Jambi)
    By Mr_Blonde in forum Qt Programming
    Replies: 4
    Last Post: 14th September 2006, 18:06

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.