Is it possible to....provide....X-coordinate value to qlabel from lineedit and show the position in Qlabel(just to indicate)
Is it possible to....provide....X-coordinate value to qlabel from lineedit and show the position in Qlabel(just to indicate)
I'm not sure what you want as this seems to be a trivial question. Is the following not what you expect?
Qt Code:
label->setText(lineEdit->text());To copy to clipboard, switch view to plain text mode
Optionally you can connect the textChanged() signal from the line edit to label's setText() slot.
hi,
I'm not sure what you are asking, but if you simply want to show the line edit x position try ,
Qt Code:
To copy to clipboard, switch view to plain text mode
hope it helps,
bala
Bookmarks