View Single Post
Old 08-08-2025, 01:58 PM   #570
wrCisco
Connoisseur
wrCisco ought to be getting tired of karma fortunes by now.wrCisco ought to be getting tired of karma fortunes by now.wrCisco ought to be getting tired of karma fortunes by now.wrCisco ought to be getting tired of karma fortunes by now.wrCisco ought to be getting tired of karma fortunes by now.wrCisco ought to be getting tired of karma fortunes by now.wrCisco ought to be getting tired of karma fortunes by now.wrCisco ought to be getting tired of karma fortunes by now.wrCisco ought to be getting tired of karma fortunes by now.wrCisco ought to be getting tired of karma fortunes by now.wrCisco ought to be getting tired of karma fortunes by now.
 
Posts: 50
Karma: 605108
Join Date: Apr 2016
Device: none
Hi, in the last few days I rewrote one of my plugin to use PySide6/PyQt5 (with DiapDealer's plugin_utils.py), and it seems to work ok with both frameworks.

I have one question, which is not strictly Sigil related: in the old plugin with tkinter I set up the word wrapping of the labels of a list of checkboxes to handle texts longer than the window width, and it was a process fairly convoluted. I was hoping that with PySide/PyQt that process would be much simpler, but to achieve a similar effect I had to subclass QWidget to bind together a QCheckBox with a QLabel, the source code is on github:
https://github.com/wrCisco/SigilPlug...ingcheckbox.py

Do you know if there is a better/simpler way to achieve that effect?
wrCisco is offline   Reply With Quote