mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-15 11:38:49 -07:00
picURL added to oracleimporter and carddatabase
This commit is contained in:
parent
e79b19413a
commit
aaa56acfd1
4 changed files with 38 additions and 4 deletions
|
|
@ -42,6 +42,7 @@ private:
|
|||
QString powtough;
|
||||
QString text;
|
||||
QStringList colors;
|
||||
QString picURL;
|
||||
int tableRow;
|
||||
QPixmap *pixmap;
|
||||
QMap<int, QPixmap *> scaledPixmapCache;
|
||||
|
|
@ -54,7 +55,8 @@ public:
|
|||
const QString &_text = QString(),
|
||||
const QStringList &_colors = QStringList(),
|
||||
int _tableRow = 0,
|
||||
const SetList &_sets = SetList());
|
||||
const SetList &_sets = SetList(),
|
||||
const QString &_picURL = QString());
|
||||
~CardInfo();
|
||||
QString getName() const { return name; }
|
||||
SetList getSets() const { return sets; }
|
||||
|
|
@ -63,9 +65,11 @@ public:
|
|||
QString getPowTough() const { return powtough; }
|
||||
QString getText() const { return text; }
|
||||
QStringList getColors() const { return colors; }
|
||||
QString getPicURL() const { return picURL; }
|
||||
QString getMainCardType() const;
|
||||
int getTableRow() const { return tableRow; }
|
||||
void setTableRow(int _tableRow) { tableRow = _tableRow; }
|
||||
void setPicURL(QString _picURL) { picURL = _picURL; }
|
||||
void addToSet(CardSet *set);
|
||||
QPixmap *loadPixmap();
|
||||
QPixmap *getPixmap(QSize size);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue