<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Nov 29, 2013 at 12:45 PM, Hugo Pereira Da Costa <span dir="ltr"><<a href="mailto:hugo.pereira@free.fr" target="_blank">hugo.pereira@free.fr</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000"><div class="im">
    <div>On 11/29/2013 12:22 PM, Kevin Ottens
      wrote:<br>
    </div>
    <blockquote type="cite">
      <pre>On Friday 29 November 2013 12:00:38 Christoph Feck wrote:
</pre>
      <blockquote type="cite">
        <pre>On Friday 29 November 2013 08:53:06 Kevin Ottens wrote:
</pre>
        <blockquote type="cite">
          <pre>KColorDialog and KFontDialog are out of the picture. We contributed
to the upstream QColorDialog and QFontDialog so that they have the
features we needed out of the box. We only need to do something
for the file dialog.
</pre>
        </blockquote>
        <pre>Not sure if we can silently drop the K classes.

KFontDialog:
- allows the application to specify a list of fonts to show
</pre>
      </blockquote>
      <pre>To upstream if that's used (IIRC we didn't find users of that).

</pre>
      <blockquote type="cite">
        <pre>- allows the application to request fixed-width fonts only
</pre>
      </blockquote>
      <pre>That's upstream.

</pre>
      <blockquote type="cite">
        <pre>- allows limiting to only change family, style, or size
</pre>
      </blockquote>
      <pre>To upstream if that's used (IIRC almost no user again).</pre>
    </blockquote></div>
    If I understand right, this is really usefull in KCM font selection
    when you want to change all fonts at once, but for instance only the
    size.<br>
    Would be quite an issue if this was to go ...<br>
    <br>
    <br>
    <blockquote type="cite"><div class="im">
      <pre></pre>
      <blockquote type="cite">
        <pre>- supports fractional point sizes, e.g. 9.4 pt.
</pre>
      </blockquote>
      <pre>To upstream if needed.

</pre>
      <blockquote type="cite">
        <pre>- word wraps and scrolls big sample texts
</pre>
      </blockquote>
      <pre>To upstream.

</pre>
      <blockquote type="cite">
        <pre>KColorDialog:
- allows the application to specify a default color, where the user
can revert to
</pre>
      </blockquote>
      <pre>To upstream.

</pre>
      <blockquote type="cite">
        <pre>- supports both RGB and HSV color models
</pre>
      </blockquote>
      <pre>Looks like QColorDialog does too, or I'm missing something?

</pre>
      <blockquote type="cite">
        <pre>- has support for loadable palettes (editable via kcoloredit)
</pre>
      </blockquote>
      <pre>OK, that one is indeed missing. And if we want to upstream that it'll require 
more work than the rest.

</pre>
      <blockquote type="cite">
        <pre>- appearantly the color picker and hex line edit have been upstreamed,
but I just tried Qt 5.3 Designer, and those features did not appear.
</pre>
      </blockquote>
      <pre>Odd, I see them here.


Overall my point is that it's mostly features which really belongs upstream. 
And they're either stuff we can contribute at any point or stuff which is 
unused. The only exception seems to be the loadable palettes, but that's not 
enough to warrant having a full fledged color dialog on our side IMO. So if 
that's really important, it's something to design properly to be able to plug 
those loadable palettes into QColorDialog.

Regards.
</pre>
      <br>
      <fieldset></fieldset>
      <br>
      </div><div class="im"><pre>_______________________________________________
Kde-frameworks-devel mailing list
<a href="mailto:Kde-frameworks-devel@kde.org" target="_blank">Kde-frameworks-devel@kde.org</a>
<a href="https://mail.kde.org/mailman/listinfo/kde-frameworks-devel" target="_blank">https://mail.kde.org/mailman/listinfo/kde-frameworks-devel</a>
</pre>
    </div></blockquote>
    <br>
  </div>

<br>_______________________________________________<br>
Kde-frameworks-devel mailing list<br>
<a href="mailto:Kde-frameworks-devel@kde.org">Kde-frameworks-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kde-frameworks-devel" target="_blank">https://mail.kde.org/mailman/listinfo/kde-frameworks-devel</a><br>
<br></blockquote></div><br></div><div class="gmail_extra">Should we maybe use KFontChooser in this case?</div><div class="gmail_extra">I have the intuition that it will do that, but I'm unsure. The documentation is not very clear and I don't see a test.</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">Aleix</div></div>