[Refactor] Add card name, printing id, and color to CardState

This commit is contained in:
Lukas Brübach 2026-10-07 09:23:34 +02:00 • committed by GitHub
parent 9fcc6f1e88
commit 893aeb7bae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 35 additions and 8 deletions

View file

@ -19,6 +19,12 @@ void CardState::resetState(bool keepAnnotations)
emit stateReset();
}
void CardState::setColor(const QString &_color)
{
color = _color;
emit colorChanged();
}
void CardState::deleteView()
{
emit viewDeleteRequested();