i have a very easy question. how can i settext an int value??
Qt Code:
int length; length=10; ui->lineEdit->setText("The length is:", length);To copy to clipboard, switch view to plain text mode
i have a very easy question. how can i settext an int value??
Qt Code:
int length; length=10; ui->lineEdit->setText("The length is:", length);To copy to clipboard, switch view to plain text mode
Qt Code:
To copy to clipboard, switch view to plain text mode
seltra (3rd October 2010)
thank you very much tbscope.
how can i setText with only the integer value?
Qt Code:
ui->lineEdit->setText(arg(length));To copy to clipboard, switch view to plain text mode
Qt Code:
To copy to clipboard, switch view to plain text mode
Or, and better:
Qt Code:
To copy to clipboard, switch view to plain text mode
seltra (3rd October 2010)
that helped me thank you very much.
Bookmarks