3 * \file InsertTableWidget.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
13 #ifndef INSERTTABLEWIDGET_H
14 #define INSERTTABLEWIDGET_H
23 class InsertTableWidget : public QWidget {
27 InsertTableWidget(QWidget *);
36 //! enable/disable parent
40 void mouseMoveEvent(QMouseEvent *);
41 void mouseReleaseEvent(QMouseEvent *);
42 void mousePressEvent(QMouseEvent *);
43 void paintEvent(QPaintEvent *);
46 //! update the geometry
48 //! initialize parameters to default values
51 void drawGrid(int rows, int cols, Qt::GlobalColor color);
53 //! colwidth in pixels
55 //! rowheight in pixels
65 //! widget under mouse
69 } // namespace frontend
72 #endif // INSERTTABLEWIDGET_H