支持在三图一表视图上滚动鼠标,上下移动

This commit is contained in:
jiayulong 2026-04-24 17:39:51 +08:00
parent 6a502f755d
commit 5c77249679
2 changed files with 6 additions and 0 deletions

View File

@ -341,3 +341,8 @@ void FormLine::vertScrollBarChanged(QString strUuid, int value, int low, int upp
setGeometry(0, -(dPercent*geoRect.height()), geoRect.width(), geoRect.height());
}
void FormLine::wheelEvent(QWheelEvent *event) // 滚轮事件
{
emit CallManage::getInstance()->sig_mouseWheel(event);
}

View File

@ -22,6 +22,7 @@ private:
protected:
void paintEvent(QPaintEvent *event);
virtual void wheelEvent(QWheelEvent *event);
public:
QString m_strUuid;