D28854: [KRichTextWidget] Add support for headings

Laurent Montel noreply at phabricator.kde.org
Wed Apr 15 14:41:42 BST 2020


mlaurent requested changes to this revision.
mlaurent added a comment.
This revision now requires changes to proceed.


  Can you improve autotest KRichTextEditTest ?

INLINE COMMENTS

> krichtextedit.cpp:346
> +    // level=2 look the same
> +    int sizeAdjustment = boundedLevel > 0 ? 5 - boundedLevel: 0;
> +

const int

> krichtextedit.h:351
> +     *
> +     * @since FIXME
> +     */

since @5.70

> krichtextwidget.cpp:499
> +        d->action_heading_level = new KSelectAction(i18nc("@title:menu", "Heading Level"), this);
> +        QStringList listStyles = {i18nc("@item:inmenu no heading",                 "Basic text"),
> +                                  i18nc("@item:inmenu heading level 1 (largest)",  "Title"),

const QStringList

> krichtextwidget.h:233
> +         *
> +         * @since FIXME
> +         */

@since 5.70

REPOSITORY
  R310 KTextWidgets

REVISION DETAIL
  https://phabricator.kde.org/D28854

To: poboiko, #frameworks, mlaurent, ahmadsamir, dfaure
Cc: kde-frameworks-devel, LeGast00n, cblack, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200415/6af97ed7/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list