10#ifndef LEARN_CARD_WIDGET_H
11#define LEARN_CARD_WIDGET_H
102 ValidityType validity;
115 ValidityType validity;
118 Ui::LearnCardWidget *ui_;
119 QList<LinkType> links_;
121 QList<ButtonType> buttons_;
122 bool links_collapsed_;
123 bool styled_by_parent_ =
false;
124 QColor card_link_color_;
129 void loadLinksFromRessource();
139 void setupActionButtons();
152 void applyCardLinkPalette();
160 static QColor resolveButtonColor(
const QString &spec);
163 void applyStyleSheet();