18 lines
368 B
C++
18 lines
368 B
C++
#ifndef TABLEWIDGETMOVABLE_HPP
|
|
#define TABLEWIDGETMOVABLE_HPP
|
|
|
|
#include <QObject>
|
|
#include <QTableWidget>
|
|
#include <QWidget>
|
|
|
|
class TableWidgetMovable : public QTableWidget
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
TableWidgetMovable(QWidget *parent = nullptr);
|
|
// void dropEvent(QDropEvent *event);
|
|
// void swapRows(int row1, int row2);
|
|
};
|
|
|
|
#endif // TABLEWIDGETMOVABLE_HPP
|