Results 1 to 10 of 10

Thread: QColorDialog Apperance?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2006
    Location
    Portugal
    Posts
    24
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    3

    Default Re: QColorDialog Apperance?

    Quote Originally Posted by Lemming
    But anyway, I would rather use the Qt sources and implement my own color dialog basing on them.
    Yes I've done it.
    I copied to my work directory the files
    qcolordialog.cpp
    qcolordialog.h
    qdialog_p.h
    created a subdirectory named private and copy there the files
    qobject_p.h qwidget_p.h

    after that I only need to change the qcolordialog.cpp source and everthing seems to be working fine.

    I would have thought that it should be possible to change those thinks. The Qt developers didn't seem to agree with me, and complaining about a free thing is nonsense.

    Many thanks,

  2. #2
    Join Date
    Jan 2006
    Location
    Mountain View, CA
    Posts
    279
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanked 42 Times in 37 Posts

    Default Re: QColorDialog Apperance?

    Quote Originally Posted by antonio.r.tome
    I would have thought that it should be possible to change those thinks. The Qt developers didn't seem to agree with me, and complaining about a free thing is nonsense.

    Many thanks,
    Why did you need to change it anyway?
    Save yourself some pain. Learn C++ before learning Qt.

  3. #3
    Join Date
    Feb 2006
    Location
    Portugal
    Posts
    24
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    3

    Default Re: QColorDialog Apperance?

    Quote Originally Posted by Chicken Blood Machine
    Why did you need to change it anyway?
    I don't need it! I want it. I intend to use the custom color mecanism, and the facilities associated with it. Then I use the color dialog as a tool to choose a discret color patern table (user made) through the custom color mechanism.
    So instead of "add to custom color" I want "accept as labels colors" and instead of "custom colors" I want "labels colors" and for the windows title I obviously want "labels colors". As you see nothing important. No extra functionality, only more user friendness.

    best regards,

    António Tomé

  4. #4
    Join Date
    Jan 2006
    Posts
    109
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11
    Thanks
    2
    Thanked 5 Times in 5 Posts

    Default Re: QColorDialog Apperance?

    You could still have used the i18n mechanism to avoid re-coding QColorDialog.

    Oh, and about the "complaining about a free thing is nonsense" part, you can report bugs here:
    http://www.trolltech.com/forms/feedbackform.html
    It's just that this is not a bug, and Trolltech will probably not implement a new feature if you're the only one asking for it.
    Last edited by dimitri; 16th April 2006 at 07:46.

Similar Threads

  1. QColorDialog style sheet modification
    By Angelo Moriconi in forum Qt Programming
    Replies: 0
    Last Post: 2nd April 2008, 14:20

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.