[LyX/master] Fix AboutLyX layout
Pavel Sanda
sanda at lyx.org
Tue Nov 5 15:12:23 UTC 2024
On Mon, Nov 04, 2024 at 12:15:25PM +0100, Jürgen Spitzmüller wrote:
> 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.
Ok this shoud not be hard. Kornel, would such test organically fit
into your testing machinery? I could also make it part of make test
but it's not exactly organic. Or it could go into configure as well.
Pavel
More information about the lyx-devel
mailing list