5 * Original file taken from klyx 0.10 sources:
7 * \author Kalle Dalheimer
9 * Full author contact details are available in file CREDITS
15 #include "qgridview.h"
25 class QBrowseBox : public QGridView
29 QBrowseBox(int rows, int cols, QWidget* parent=0, char const * name=0, WFlags f=0);
32 void insertItem(QString const & text, int row, int col);
33 void insertItem(char const * text, int row, int col);
34 void insertItem(QPixmap pixmap, int row, int col);
35 void insertItem(QPixmap pixmap);
36 void removeItem(int row, int col);
39 QString text(int row, int col);
40 QPixmap pixmap(int row, int col);
42 int exec(QPoint const & pos);
43 int exec(int x, int y);
44 int exec(QWidget const * trigger);
47 void selected(int, int);
50 virtual void keyPressEvent(QKeyEvent * e);
51 virtual void resizeEvent(QResizeEvent *e);
52 virtual void contentsMouseReleaseEvent(QMouseEvent *);
53 virtual void closeEvent(QCloseEvent * e);
54 virtual void contentsMouseMoveEvent(QMouseEvent * e);
55 virtual void paintCell(QPainter *, int row, int col);
58 // make sure the automatically generated one is not used
59 QBrowseBox & operator=(QBrowseBox const &);
66 int coordsToIndex(int row, int col);