Results 1 to 4 of 4

Thread: Color palette

  1. #1
    Join Date
    Jul 2012
    Posts
    27
    Thanks
    4
    Qt products
    Qt4
    Platforms
    Windows

    Question Color palette

    Hi..!

    I need to build a color palette associated with an image so that the user clicks on a particular hue in the palette and the image changes according to the selected color.

    Any suggestions on how to do that?


    PS: image I have it in an object of type QImage.

    thanks

  2. #2
    Join Date
    May 2011
    Posts
    239
    Thanks
    4
    Thanked 35 Times in 35 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Symbian S60

    Default Re: Color palette

    The first thing to do is always figuring out what you are really doing and what the problem is. Clearly you are thinking of writing a small application or a main function, which is very much a different thing than a "Color palette" -- which your title suggest being the issue.

    The usual approach to this kind of a situation is to do some "software design" and then figure out how the design could be "implemented" in Qt, and after that, if there are some specific issues in the implementation, asking here is a good choice. You don't seem to have any clue about the whole thing. You need to find the clue first, and that has nothing to do with Qt.

  3. #3
    Join Date
    Jan 2012
    Location
    Dortmund, Germany
    Posts
    159
    Thanks
    69
    Thanked 10 Times in 8 Posts
    Qt products
    Qt4
    Platforms
    Windows Android

    Default Re: Color palette

    For me it looks like if jackajack01 might just be looking for this here:
    http://doc.qt.io/qt-4.8/http://doc.qt.nokia.com/4.7-snapshot/qcolordialog.html

  4. The following 2 users say thank you to sedi for this useful post:

    chbrandt (5th September 2012), jackajack01 (23rd July 2012)

  5. #4
    Join Date
    Jul 2012
    Posts
    27
    Thanks
    4
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Color palette

    thanks sedi

    that was what I needed

Similar Threads

  1. Replies: 1
    Last Post: 28th August 2011, 22:52
  2. Circle color palette
    By binaural in forum Qt Quick
    Replies: 0
    Last Post: 1st February 2011, 21:30
  3. qt 4 color palette / style sheet question
    By killerwookie99 in forum Qt Programming
    Replies: 1
    Last Post: 6th November 2008, 23:05
  4. Palette toolbar need help plz...
    By Radagast in forum Qt Programming
    Replies: 4
    Last Post: 28th July 2008, 14:08
  5. Palette toolbar
    By Radagast in forum Qt Programming
    Replies: 8
    Last Post: 7th July 2008, 17:56

Tags for this Thread

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.