mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-12 00:54:53 -07:00
XML card database
This commit is contained in:
parent
a3f6adddc9
commit
b8bf18801f
5 changed files with 126 additions and 94 deletions
|
|
@ -76,10 +76,10 @@ void CardInfoWidget::setCard(CardInfo *card)
|
|||
cardPicture->setPixmap(*(db->getCard()->getPixmap(QSize(pixmapWidth, pixmapHeight))));
|
||||
|
||||
nameLabel2->setText(card->getName());
|
||||
manacostLabel2->setText(card->getManacost());
|
||||
manacostLabel2->setText(card->getManaCost());
|
||||
cardtypeLabel2->setText(card->getCardType());
|
||||
powtoughLabel2->setText(card->getPowTough());
|
||||
textLabel->setText(card->getText().join("\n"));
|
||||
textLabel->setText(card->getText());
|
||||
}
|
||||
|
||||
void CardInfoWidget::setCard(const QString &cardName)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue