Answer the question
In order to leave comments, you need to log in
How to set the number of decimal places in QT?
I suspect that the question is stupid, but I did not find the answer to a specific question on the forums. QListWidget is used as the response field.
...
x = x + zkx;
y = y + zky;
Z = sqrt(pow(xx - x, 2) + pow(yy - y, 2));
}
ui->answer->addItem(QString::fromStdString("x: " + std::to_string(x) + " y: " + std::to_string(y)));
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question