When a Kleopatra group contains keys without an encryption key, there is a warning icon shown next to its name in the group configuration window.
When it contains revoked or expired keys and can for that reason not be used for encryption, no warning symbol is shown.
Please add the warning for groups with revoked or expired certificates, too.
Follow up of T6722, see also https://dev.gnupg.org/T6722#190361