Not all of them at once, I just want to have something more universal that could work on all lineEdits without having to list everyone because I'm afraid that as the application grows I may forget to add some of them and so I want the action to work on any selected text regardless of where it is. Sorry if my question doesn't make too much sense, you can ignore it since I can probably list everyone manually as my original example.do you want to copy all of the line edits?
One more question.
Is it possible to copy the text in a QLabel to the clipboard when a button is clicked and without having to select the text? This is something I will be doing to one Qlabel only.
I tried....
but of course it didn't work because Qlabel doesn't have the copy function.void MainWindow:n_pushButton_Copy_clicked()
{
ui->label_TotalParts->copy();
}
As always thanks a lot for your help!
Bookmarks