Changeset 58 in projects for punch-card-project/trunk/punch-card-editor/src/deckviewer/cardeditor.h
- Timestamp:
- Jan 3, 2010, 3:42:50 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
punch-card-project/trunk/punch-card-editor/src/deckviewer/cardeditor.h
r52 r58 2 2 #define CARDEDITOR_H 3 3 4 #include <QGraphicsView> 5 #include <QGraphicsScene> 6 4 7 #include <QScrollArea> 5 8 #include <QEvent> 9 #include <QKeyEvent> 6 10 7 11 namespace QPunchCard { … … 15 19 namespace QPunchCard { 16 20 17 class CardEditor : public QScrollArea {21 class CardEditor : public /*QGraphicsView */ QScrollArea { 18 22 Q_OBJECT 19 23 … … 29 33 void contentsChanged(DeckIndex lower, DeckIndex upper); 30 34 void fileOpened(bool opened); 35 void exportPictureDialog(); 36 37 31 38 32 39 signals: … … 36 43 protected: 37 44 void enterEvent(QEvent* event); 45 void keyPressEvent(QKeyEvent *event); 38 46 39 47 };
Note: See TracChangeset
for help on using the changeset viewer.