QLineEdit, adjust Widget position in MainWindow (not cursor)
Solved
General and Desktop
-
Hello folks, I have some QlineEdit in mainWindow....
QLineEdit *ql[10];
for (int i=0; i < 10; i++) {
ql[i]= new QLineEdit(this);
}Someone so kind to explain me how can I adjust the position and size of each inside the for?
I miss some like ql[i]->setPosition(x,y)thanks in advance.
-
Hi,
Out of curiosity, why not use one of Qt's layout for that (e.g. QGridLayout) ?