mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-03 12:03:55 -07:00
some token code
This commit is contained in:
parent
1cd63375ba
commit
f553fd7456
15 changed files with 99 additions and 21 deletions
|
|
@ -8,11 +8,14 @@ class QLabel;
|
|||
class QComboBox;
|
||||
class QCheckBox;
|
||||
class QPushButton;
|
||||
class DeckList;
|
||||
class CardDatabaseModel;
|
||||
class CardDatabaseDisplayModel;
|
||||
|
||||
class DlgCreateToken : public QDialog {
|
||||
Q_OBJECT
|
||||
public:
|
||||
DlgCreateToken(QWidget *parent = 0);
|
||||
DlgCreateToken(DeckList *_deck, QWidget *parent = 0);
|
||||
QString getName() const;
|
||||
QString getColor() const;
|
||||
QString getPT() const;
|
||||
|
|
@ -21,6 +24,8 @@ public:
|
|||
private slots:
|
||||
void actOk();
|
||||
private:
|
||||
CardDatabaseModel *cardDatabaseModel;
|
||||
CardDatabaseDisplayModel *cardDatabaseDisplayModel;
|
||||
QLabel *nameLabel, *colorLabel, *ptLabel, *annotationLabel;
|
||||
QComboBox *colorEdit;
|
||||
QLineEdit *nameEdit, *ptEdit, *annotationEdit;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue