I don't think the code you posted is going to work... You probably meant:
fluxoRect.
replace(i,
QRect(7,
7,
7,
7));
fluxoRect.replace(i, QRect(7,7,7,7));
To copy to clipboard, switch view to plain text mode
Alternatively you could have done:
fluxoRect
[i
] = QRect(7,
7,
7,
7);
fluxoRect[i] = QRect(7,7,7,7);
To copy to clipboard, switch view to plain text mode
or
fluxoRect
[i
].
setRect(QRect(7,
7,
7,
7));
fluxoRect[i].setRect(QRect(7,7,7,7));
To copy to clipboard, switch view to plain text mode
which use the non-const variant of [] operator.
Bookmarks