mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-15 03:28:49 -07:00
nice ellipses :)
This commit is contained in:
parent
7e13352a95
commit
175512a2ad
13 changed files with 144 additions and 101 deletions
|
|
@ -10,13 +10,14 @@ class CardDatabaseModel;
|
|||
class DeckListModel;
|
||||
class QTreeView;
|
||||
class CardInfoWidget;
|
||||
class QLineEdit;
|
||||
|
||||
class WndDeckEditor : public QMainWindow {
|
||||
Q_OBJECT
|
||||
private slots:
|
||||
void updateCardInfoLeft(const QModelIndex ¤t, const QModelIndex &previous);
|
||||
void updateCardInfoRight(const QModelIndex ¤t, const QModelIndex &previous);
|
||||
|
||||
|
||||
void actNewDeck();
|
||||
void actLoadDeck();
|
||||
void actSaveDeck();
|
||||
|
|
@ -25,12 +26,13 @@ private:
|
|||
QString lastFileName;
|
||||
DeckList::FileFormat lastFileFormat;
|
||||
CardDatabase *db;
|
||||
|
||||
|
||||
CardDatabaseModel *databaseModel;
|
||||
DeckListModel *deckModel;
|
||||
QTreeView *databaseView, *deckView;
|
||||
CardInfoWidget *cardInfo;
|
||||
|
||||
QLineEdit *nameEdit, *commentsEdit;
|
||||
|
||||
QMenu *deckMenu;
|
||||
QAction *aNewDeck, *aLoadDeck, *aSaveDeck, *aSaveDeckAs;
|
||||
public:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue