I have implemented a  QGridLayout where one by one textedits are
appended in multiple rows and 2 columns as below

 

QList <QTextEdit *> plotWidgets;

 

plotWidgets.append(new QTextEdit(this));

layout->addWidget(plotWidgets.last(), row, column);

 

I want a scrollbar should come if the row is more than or equal to
2(index is 2, means 3rd row). Means my MinimumRowHeight should be
maintained as for when there are two  rows, I don't want the rowheight
be reduced than that but a scrollbar should come.

 

Please give me some suggestions how can I make a scrollbar active when
the rows are more than 2.

 

Thanks for any help...Sujan

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to