nice ellipses :)

This commit is contained in:
Max-Wilhelm Bruker 2009-05-23 01:58:11 +02:00
parent 7e13352a95
commit 175512a2ad
13 changed files with 144 additions and 101 deletions

View file

@ -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 &current, const QModelIndex &previous);
void updateCardInfoRight(const QModelIndex &current, 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: