20 lines
377 B
C++
20 lines
377 B
C++
#ifndef CHECKQUEUETABLEVIEW_H
|
|
#define CHECKQUEUETABLEVIEW_H
|
|
|
|
#include <QTableView>
|
|
#include <QDropEvent>
|
|
|
|
class CheckQueueTableView : public QTableView
|
|
{
|
|
Q_OBJECT
|
|
int m_dropRow;
|
|
public:
|
|
CheckQueueTableView(QWidget *parent = nullptr);
|
|
Q_INVOKABLE int selectedRow() const;
|
|
void reset();
|
|
void dropEvent(QDropEvent *e);
|
|
|
|
};
|
|
|
|
#endif // CHECKQUEUETABLEVIEW_H
|