Using native os text selection
I was looking for a way to disable the text selection provided by the Calibre viewer using Qt, as I prefer using text selection in MacOS native dictionary/lookup functions when reading.
I was wondering if that would be possible— and if so where would I get started modifying the python code for the viewer?
If someone could give advice, I would be thankful.
Here is some more context/issues I thought of:
1. There might be issues with getting the correct options displayed in the MacOS context menu, but that is a completely different problem aside from Calibre.
2. The highlighting function would be broken, but I would be fine with that. Adding a toggle to allow highlighting might work though.
3. I don't think this is a feature many would want, I just want to figure out how to do it myself.
4. I have little python coding experience, I probably won't be able to do soon/quickly. It will be a long term project.
|