Hi,

I am planning to make a new general purpose widget which can act like both as a single line editor and a multiline editor. Following are features that i came up with :

1.By default it is a single line editor but user can make it a multiline edit box like the image below.



In the image above the user would have specified the start point of the text and the end point of the text. Apart from this, user would have also specified the point the text should start from the next line onwards (This is just a rough idea).

2. User would be able to cut copy and paste text (Like any other editor).

Here are a few other images.





Basically, the widget takes the shape as user edits the text.
If any of you are using mac, you can find something like this in its addressbook.

I am not an expert in Qt and therfore have no idea how to go about doing this. Any ideas on how to do this ?

Thanks a lot