Scribus Developer Documentation - API
logo-pen

Scribus Developer Documentation - API

chartableview.h

Go to the documentation of this file.
00001 /*
00002 For general Scribus (>=1.3.2) copyright and licensing information please refer
00003 to the COPYING file provided with the program. Following this notice may exist
00004 a copyright and/or license notice that predates the release of Scribus 1.3.2
00005 for which a new license (GPL+exception) is in place.
00006 */
00007 #ifndef CHARTABLEVIEW_H
00008 #define CHARTABLEVIEW_H
00009 
00010 #include <QTableView>
00011 
00012 class CharTableModel;
00013 class CharZoom;
00014 
00015 
00024 class CharTableView : public QTableView
00025 {
00026     Q_OBJECT
00027 
00028     public:
00029         CharTableView(QWidget * parent = 0);
00030 
00031     signals:
00032         void selectChar(uint);
00034         void delChar();
00035 
00036     public slots:
00039         void modelSelectionChanged(QItemSelectionModel * model);
00040 
00041     protected:
00043         CharZoom* zoom;
00044 
00045         QAction * deleteAct;
00046         QMenu * actionMenu;
00047 
00048         CharTableModel * model();
00049         void hideEvent(QHideEvent *);
00050         void keyPressEvent(QKeyEvent *k);
00051         void mouseReleaseEvent(QMouseEvent *m);
00052         void mousePressEvent(QMouseEvent* e);
00053         void mouseMoveEvent(QMouseEvent* e);
00054 
00056         int currenCharactersIndex();
00057 
00058         void hideZoomedChar();
00059 
00061         void resizeEvent(QResizeEvent *e);
00062 
00063     private slots:
00064         void removeCharacter();
00065         void viewDoubleClicked(const QModelIndex & index);
00066 };
00067 
00068 #endif
Created with personalized Doxygen. This is documentation for GPL software Scribus - Open Source Desktop Publishing.