mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-05-23 06:48:25 +00:00
removing old debug function in CGramDebug.cpp
This commit is contained in:
@@ -117,11 +117,4 @@ QVariant CGramModel::data(const QModelIndex &index, int role) const
|
||||
green = green * 255U / 31U;
|
||||
blue = blue * 255U / 31U;
|
||||
return QColor(red, green, blue);
|
||||
}
|
||||
|
||||
void CGramModel::enterEvent(QMouseEvent *event)
|
||||
{
|
||||
this->x = event->x();
|
||||
this->y = event->y();
|
||||
emit mouseEnter();
|
||||
}
|
||||
}
|
||||
@@ -86,10 +86,6 @@ public:
|
||||
int columnCount(const QModelIndex &parent) const override;
|
||||
//! @brief Return a data representing the table cell.
|
||||
QVariant data(const QModelIndex &index, int role) const override;
|
||||
//! @brief Qt Mouse hover enter event
|
||||
void enterEvent(QMouseEvent *event);
|
||||
signals:
|
||||
void mouseEnter();
|
||||
};
|
||||
|
||||
namespace ComSquare::Debugger
|
||||
|
||||
Reference in New Issue
Block a user