- added settingsdialog
[buliscores] / src / scoretable.h
1 #ifndef SCORETABLE_H
2 #define SCORETABLE_H
3
4 #include <QTableView>
5 #include <QMouseEvent>
6
7 #include "matchdaymodel.h"
8
9 class ScoreTable : public QTableView
10 {
11     Q_OBJECT
12 protected:
13     void mousePressEvent(QMouseEvent* event);
14
15 public:
16     explicit ScoreTable(QWidget *parent, MatchDayModel* model);
17     QSize sizeHint() const;
18
19 signals:
20
21 protected slots:
22     void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight);
23
24 };
25
26 #endif // SCORETABLE_H