支持在三图一表视图上滚动鼠标,上下移动
This commit is contained in:
parent
6a502f755d
commit
5c77249679
|
|
@ -341,3 +341,8 @@ void FormLine::vertScrollBarChanged(QString strUuid, int value, int low, int upp
|
||||||
|
|
||||||
setGeometry(0, -(dPercent*geoRect.height()), geoRect.width(), geoRect.height());
|
setGeometry(0, -(dPercent*geoRect.height()), geoRect.width(), geoRect.height());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void FormLine::wheelEvent(QWheelEvent *event) // 滚轮事件
|
||||||
|
{
|
||||||
|
emit CallManage::getInstance()->sig_mouseWheel(event);
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,7 @@ private:
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void paintEvent(QPaintEvent *event);
|
void paintEvent(QPaintEvent *event);
|
||||||
|
virtual void wheelEvent(QWheelEvent *event);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
QString m_strUuid;
|
QString m_strUuid;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user