@@ -569,11 +569,11 void tst_qpieseries::hoverSignal() | |||
|
569 | 569 | QList<QPoint> points = slicePoints(pieRect); |
|
570 | 570 | QTest::mouseMove(m_view->viewport(), pieRect.topRight().toPoint()); |
|
571 | 571 | QSignalSpy hoverSpy(m_series, SIGNAL(hovered(QPieSlice*,bool))); |
|
572 | QTest::mouseMove(m_view->viewport(), points.at(0)); | |
|
573 | QTest::mouseMove(m_view->viewport(), points.at(1)); | |
|
574 | QTest::mouseMove(m_view->viewport(), points.at(2)); | |
|
575 | QTest::mouseMove(m_view->viewport(), points.at(3)); | |
|
576 | QTest::mouseMove(m_view->viewport(), pieRect.topLeft().toPoint()); | |
|
572 | QTest::mouseMove(m_view->viewport(), points.at(0), 100); | |
|
573 | QTest::mouseMove(m_view->viewport(), points.at(1), 100); | |
|
574 | QTest::mouseMove(m_view->viewport(), points.at(2), 100); | |
|
575 | QTest::mouseMove(m_view->viewport(), points.at(3), 100); | |
|
576 | QTest::mouseMove(m_view->viewport(), pieRect.topLeft().toPoint(), 100); | |
|
577 | 577 | QApplication::processEvents(); |
|
578 | 578 | |
|
579 | 579 | // check |
@@ -290,11 +290,11 void tst_qpieslice::hoverSignal() | |||
|
290 | 290 | QSignalSpy hoverSpy2(s2, SIGNAL(hovered(bool))); |
|
291 | 291 | QSignalSpy hoverSpy3(s3, SIGNAL(hovered(bool))); |
|
292 | 292 | QSignalSpy hoverSpy4(s4, SIGNAL(hovered(bool))); |
|
293 | QTest::mouseMove(view.viewport(), points.at(0)); | |
|
294 | QTest::mouseMove(view.viewport(), points.at(1)); | |
|
295 | QTest::mouseMove(view.viewport(), points.at(2)); | |
|
296 | QTest::mouseMove(view.viewport(), points.at(3)); | |
|
297 | QTest::mouseMove(view.viewport(), pieRect.topLeft().toPoint()); | |
|
293 | QTest::mouseMove(view.viewport(), points.at(0), 100); | |
|
294 | QTest::mouseMove(view.viewport(), points.at(1), 100); | |
|
295 | QTest::mouseMove(view.viewport(), points.at(2), 100); | |
|
296 | QTest::mouseMove(view.viewport(), points.at(3), 100); | |
|
297 | QTest::mouseMove(view.viewport(), pieRect.topLeft().toPoint(), 100); | |
|
298 | 298 | QApplication::processEvents(); |
|
299 | 299 | |
|
300 | 300 | // check |
General Comments 0
You need to be logged in to leave comments.
Login now