XML card database

This commit is contained in:
Max-Wilhelm Bruker 2009-07-11 18:25:19 +02:00
parent a3f6adddc9
commit b8bf18801f
5 changed files with 126 additions and 94 deletions

View file

@ -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)