New Widget: KFontRequester

Jason Keirstead jason at keirstead.org
Thu May 8 11:34:00 BST 2003


On May 8, 2003 12:43 am, Nadeem Hasan wrote:
> Hi all,
>
> I have created a new widget KFontRequester. It contains a QLabel and a
> QPushButton. Its similar in look and functionality to the font input widget
> in kcm_fonts. We already have 2 font related widgets, KFontChooser and
> KFontDialog. This widget provides a simpler and more compact interface. The
> .cpp and .h files are linked below. Comments are welcome.
>
> I have also modified kcm_fonts to make use of this widget. That patch is
> linked below too.
>
> http://www.nadmm.com/patches/kfontrequester.h
> http://www.nadmm.com/patches/kfontrequester.cpp
> http://www.nadmm.com/patches/kcontrol2.diff
>
> Regards,

I used pretty much the exact same widget idea in Kopete, so I think its
an excellent idea.

It fits in nice alongsize KColorButton in a config dialog.

-- 
Jason Keirstead, BCS
http://www.keirstead.org




More information about the kde-core-devel mailing list