View Single Post
Old 09-16-2026, 11:14 AM   #41
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 10,093
Karma: 7640000
Join Date: Nov 2009
Device: many
I found the official Qt6 flowlayout example code and figured out how to modify it to force line breaks with a empty widget with a special objectName.

So I will split out FlowLayout (with the added line break capability) into its own Widgets/class in case it is ever needed someplace else.

Then I will modify your code to look for chars whose string is [GroupName] and special case it to use the GroupName as a QLabel with forced line breaks on both sides.

Once I get that working, I will migrate everything to xml and use special_characters.xml.

I will let you know when I get something working for test purposes.

Thanks!
KevinH is online now   Reply With Quote