Engauge Digitizer
2
Window
WindowTable.h
Go to the documentation of this file.
1
/******************************************************************************************************
2
* (C) 2016 markummitchell@github.com. This file is part of Engauge Digitizer, which is released *
3
* under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file *
4
* LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. *
5
******************************************************************************************************/
6
7
#ifndef WINDOW_TABLE_H
8
#define WINDOW_TABLE_H
9
10
#include <QObject>
11
#include <QTableView>
12
13
class
QMouseEvent;
14
class
WindowModelBase
;
15
17
class
WindowTable
:
public
QTableView
18
{
19
Q_OBJECT;
20
21
public
:
23
WindowTable
(
WindowModelBase
&model);
24
~WindowTable
();
25
27
virtual
void
focusInEvent
(QFocusEvent *);
28
30
virtual
void
focusOutEvent
(QFocusEvent *);
31
33
virtual
void
selectionChanged
(
const
QItemSelection &selected,
34
const
QItemSelection &deselected);
35
36
signals:
38
void
signalTableStatusChange
();
39
40
private
:
41
WindowTable
();
42
};
43
44
#endif // WINDOW_TABLE_H
WindowTable::selectionChanged
virtual void selectionChanged(const QItemSelection &selected, const QItemSelection &deselected)
Catch this table status change.
Definition:
WindowTable.cpp:58
WindowTable::focusOutEvent
virtual void focusOutEvent(QFocusEvent *)
Catch this table status change.
Definition:
WindowTable.cpp:51
WindowTable
Table view class with support for both drag-and-drop and copy-and-paste.
Definition:
WindowTable.h:16
WindowTable::signalTableStatusChange
void signalTableStatusChange()
Sent when a change occurs that should affect the Copy menu item.
WindowTable::focusInEvent
virtual void focusInEvent(QFocusEvent *)
Catch this table status change.
Definition:
WindowTable.cpp:44
WindowTable::~WindowTable
~WindowTable()
Definition:
WindowTable.cpp:40
WindowModelBase
Model for WindowTable.
Definition:
WindowModelBase.h:17
Generated on Sat Jan 4 2020 12:00:00 for Engauge Digitizer by
1.8.16