[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-kimageshop
Subject: Re: Pop up palette recent colour
From: Vera Lukman <shicmap () gmail ! com>
Date: 2010-01-28 15:41:16
Message-ID: 68b2ba7e1001280741q777d6711rcb2932ee1ea0db39 () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Great. I can use that.
KisPopupPalette is a class inherited from QWidget, everything there is
painted using QPainter. I wonder if it is possible to add
KoTriangleColorSelector in KisPopupPalette. I have thought about putting the
2 widgets in a QLayout object, but I don't think it is possible to put
KoTriangleColorSelector in the center of KisPopupPalette because I don't
think we can put 2 widgets on top of each other in a QLayout.
Another thing to consider is, if I want to enable easy access to something
else using the pop up palette (eg. easy access to current brush settings),
it will be hard to do if I have the colour selector on the pop up palette.
Any thoughts?
On Wed, Jan 27, 2010 at 11:05 PM, Cyrille Berger <cberger@cberger.net>wrote:
> On Thursday 28 January 2010, Vera Lukman wrote:
> > Is QtColorTriangle in Qt standard library?
> We have KoTriangleColorSelector in KOffice.
>
> --
> Cyrille Berger
> _______________________________________________
> kimageshop mailing list
> kimageshop@kde.org
> https://mail.kde.org/mailman/listinfo/kimageshop
>
[Attachment #5 (text/html)]
Great. I can use that.<div><br></div><div>KisPopupPalette is a class inherited from \
QWidget, everything there is painted using QPainter. I wonder if it is possible to \
add KoTriangleColorSelector in KisPopupPalette. I have thought about putting the 2 \
widgets in a QLayout object, but I don't think it is possible to put \
KoTriangleColorSelector in the center of KisPopupPalette because I don't think we \
can put 2 widgets on top of each other in a QLayout. </div> \
<div><br></div><div>Another thing to consider is, if I want to enable easy access to \
something else using the pop up palette (eg. easy access to current brush settings), \
it will be hard to do if I have the colour selector on the pop up palette. Any \
thoughts?<br> <br><div class="gmail_quote">On Wed, Jan 27, 2010 at 11:05 PM, Cyrille \
Berger <span dir="ltr"><<a \
href="mailto:cberger@cberger.net">cberger@cberger.net</a>></span> \
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex;"> <div class="im">On Thursday 28 January 2010, Vera \
Lukman wrote:<br> > Is QtColorTriangle in Qt standard library?<br>
</div>We have KoTriangleColorSelector in KOffice.<br>
<br>
--<br>
<font color="#888888">Cyrille Berger<br>
</font><div><div></div><div \
class="h5">_______________________________________________<br> kimageshop mailing \
list<br> <a href="mailto:kimageshop@kde.org">kimageshop@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kimageshop" \
target="_blank">https://mail.kde.org/mailman/listinfo/kimageshop</a><br> \
</div></div></blockquote></div><br></div>
_______________________________________________
kimageshop mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic