[Kde-pim] KNotes issues

Allen Winter winter at kde.org
Wed Aug 1 01:04:07 BST 2007


On Monday 30 July 2007 5:18:06 am Reinhold Kainhofer wrote:
> Am Samstag, 28. Juli 2007 schrieb Andreas Hartmetz:
> > Now I don't think that rich text in notes is very important, and having two
> > modes is bad. The rich text controls are also tiny and therefore hard to
> > use. If I were in charge I'd always offer very minimal rich text support
> > and nothing more. Three font sizes, font color, bold/italic,
> > centered/left/right aligned.
> 
> I'm using lists very frequently in knotes.
> 
> The other possibility would be to extend libkcal's journal support to include
> a flag whether the description contains rich text. This flag can then be
> stored as a X-KDE-RichText param in iCalendar...
> 
We could also store a RichText summary too??
And Location?

Wuestion.. why can't we simply use
if (  Qt::mightBeRichText( journal()->description() ) ) ...

Then we don't have to store the custom property.

Qt::mightBeRichtText() simply looks for any supported tag
before it sees a newline.

-Allen

_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list