Push only the X component from a QPolygonF
My question is if it's possible to push_front or push_back only one component of a QPolygonF. I have two arrays that conform multiple points. When I update the values from the array, only one component is needed to updated and the other keeps same, so instead to make a long loop adding the points like "points << ...", i just want to push the new data in only one of the two arrays.
In my knowledge, the problem is that this operations (push and pop) is for both elements (x and y) of the point...
Thanks so much,