23 #ifndef __TABLEWIDGETMOUSEAWARE_H__ 24 #define __TABLEWIDGETMOUSEAWARE_H__ 26 #include <QtContainerFwd> 27 #include <QTableWidget> 36 bool isEmitSignalsEvenIfIndexIsInvalidEnabled()
const 38 return bEmitSignalsEvenIfIndexIsInvalid;
45 void setEmitSignalsEvenIfIndexIsInvalid(
bool b)
47 bEmitSignalsEvenIfIndexIsInvalid = b;
55 bool bEmitSignalsEvenIfIndexIsInvalid;
58 void mouseDoubleClickEvent(QMouseEvent *event)
override;
59 void mouseReleaseEvent(QMouseEvent *event)
override;
62 void leftMouseDoubleClicked(
const QModelIndex &index,
const QPoint &cursorPosition);
63 void middleMouseClick(
const QModelIndex &index,
const QPoint &cursorPosition);
64 void rightMouseClick(
const QModelIndex &index,
const QPoint &cursorPosition);