QProgressbar Format can be set as follow:
progressbar->setFormat("text here");
progressbar->setFormat("text here");
To copy to clipboard, switch view to plain text mode
What I want is to have some text into the setFormat(); and an integer t follow.
Specifically, I need
ui->progressbar->setFormat("Starting with " + ui->listwidget->count()+ " files");
ui->progressbar->setFormat("Starting with " + ui->listwidget->count()+ " files");
To copy to clipboard, switch view to plain text mode
I get error
invalid operands of types ‘const char*’ and ‘const char [7]’ to binary ‘operator+’
invalid operands of types ‘const char*’ and ‘const char [7]’ to binary ‘operator+’
To copy to clipboard, switch view to plain text mode
So, how will I do what I want?
Thx for any replies, happy new year.
Bookmarks