[LyX/master] Fix AboutLyX layout

Jürgen Spitzmüller jspitzm at gmail.com
Mon Nov 4 11:15:25 UTC 2024


Am Montag, dem 04.11.2024 um 12:04 +0100 schrieb Pavel Sanda:
> We could easily automatize check for this in our tests.
> 
> I can add it if you write some list of string we should
> grep for in .ui files...

For now I saw:

Qt::Orientation:: => Qt::
QSizePolicy::Policy:: => QSizePolicy::
QLayout::SizeConstraint:: => QLayout::
Qt::AlignmentFlag:: => Qt::
Qt::TextInteractionFlag:: => Qt::
QDialogButtonBox::StandardButton:: => QDialogButtonBox::

But there are probably more. I think all enums containing a subspace
are suspicious. So we could probably test for Q*::*::* and at least
warn if such a case is found. 

Thanks,
-- 
Jürgen


More information about the lyx-devel mailing list