Hello people! Don't you see that the fact that constructors of some object like QObject,QLayout are private make that can't use QVector for using loops on sub class of QObject which will shorcut the code? I mean for example :
Qt Code:
  1. QVector <QWidget> widow (100);
  2. for (i=o;i <100;i++)layout->addWidget (&widow [i]);
To copy to clipboard, switch view to plain text mode