[Interest] Appending QTextEdit in the QWidget

Nikos Chantziaras realnc at gmail.com
Tue Apr 17 16:33:23 CEST 2012


On 17/04/12 15:04, Sujan Dasmahapatra wrote:
> I want to append QTextEdit in the QWidget. QWidget has a specified width
> and height. I want to append QTextEdit on the widget in such a way that
> max 2 textedit should be there horizontally, after that 3^rd textedit
> should be added vertically, means the widget should be split into 2
> halves and 3^rd textedit should append to the next row. 4^th textedit
> should append to the 2^nd row 2^nd column. And so on.

Sounds like you need a QGridLayout.


> I dunno whether I am able to explain my problem or not. Please check the
> code snippet below.

There was no code snippet in your post.




More information about the Interest mailing list