[RFC] KTextEdit inside KDialog
Diego Iastrubni
elcuco at kde.org
Fri Jun 27 22:52:31 BST 2008
You can also press "shift+enter" to enter a line break.
On Fri, 27 Jun 2008 23:40:54 +0300, Andreas Pakulat <apaku at gmx.de> wrote:
> Hi,
>
> I've just committed the right "fix" to make all the logic the two
> widgets have for Ctrl+Return to actually work as expected. Now I'm
> wondering wether it might be worthwhile to allow QTextEdit to actually
> get the Ctrl+Enter event.
>
> QTextEdit uses Ctrl+Return to insert plain line-breaks - as opposed to
> paragraph breaks that are inserted with plain Return. I think there
> might be use-cases where a KTextEdit user actually wants to allow to
> produce line-breaks and paragraph breaks, i.e. later on fetch the
> resutling HTML instead of plain text.
>
> So would it make sense to have a property "allowPlainLineBreaks" on
> KTextEdit which would forward Ctrl+Enter to QTextEdit instead of
> ignoring the event (and thus propagating it to KDialog)?
>
> Before starting an implementation I'd like to get people's opinion about
> that.
>
> Andreas
>
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
More information about the kde-core-devel
mailing list