Copy all screen
Unsolved
General and Desktop
-
Hello.
I need to mark and copy the screen on pyqt.
I have many labels on QGridLayout and I set setTextInteractionFlags(Qt.TextSelectableByMouse) at the all QLabels.
But this method I need to mark one by one to copy.
Is there any method to copy all text on screen?
I would like to do look like HTML on browser, that we can mark and copy. -
Access all your labels and simply get their text?! You want to use your label variables not get, what is written on your screen programmatically.
To do that, you could iterate through your layout (if it only contains your labels) and get all the text.