0
Qt5에서 이와 같이 QML로 처리 할 수 있습니다.Qt4.8에서 마우스 휠 이벤트 처리
MouseArea {
onWheel: {
if (wheel.modifiers & Qt.ControlModifier) {
adjustZoom(wheel.angleDelta.y/120);
}
}
}
어떻게 Qt4.8에서 같은 결과를 얻을 수 있습니까?
또는 새 QDeclarative 항목을 만들고 'wheelEvent (QGraphicsSceneWheelEvent * event)'이벤트를 catch 할 수 있습니다. –