diff --git a/tests/auto/qbarseries/tst_qbarseries.cpp b/tests/auto/qbarseries/tst_qbarseries.cpp index 3d2c18a..5419aaa 100644 --- a/tests/auto/qbarseries/tst_qbarseries.cpp +++ b/tests/auto/qbarseries/tst_qbarseries.cpp @@ -371,7 +371,7 @@ void tst_QBarSeries::mouseclicked() //==================================================================================== // barset 1, bar 0 - QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(95,143)); + QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(72,150)); QCoreApplication::processEvents(QEventLoop::AllEvents, 1000); QCOMPARE(seriesSpy.count(), 1); @@ -389,7 +389,7 @@ void tst_QBarSeries::mouseclicked() //==================================================================================== // barset 1, bar 1 - QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(187,143)); + QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(186,150)); QCoreApplication::processEvents(QEventLoop::AllEvents, 1000); QCOMPARE(seriesSpy.count(), 1); @@ -407,7 +407,7 @@ void tst_QBarSeries::mouseclicked() //==================================================================================== // barset 1, bar 2 - QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(280,143)); + QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(300,150)); QCoreApplication::processEvents(QEventLoop::AllEvents, 1000); QCOMPARE(seriesSpy.count(), 1); @@ -425,7 +425,7 @@ void tst_QBarSeries::mouseclicked() //==================================================================================== // barset 2, bar 0 - QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(118,143)); + QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(100,150)); QCoreApplication::processEvents(QEventLoop::AllEvents, 1000); QCOMPARE(seriesSpy.count(), 1); @@ -443,7 +443,7 @@ void tst_QBarSeries::mouseclicked() //==================================================================================== // barset 2, bar 1 - QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(210,143)); + QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(214,150)); QCoreApplication::processEvents(QEventLoop::AllEvents, 1000); QCOMPARE(seriesSpy.count(), 1); @@ -461,7 +461,7 @@ void tst_QBarSeries::mouseclicked() //==================================================================================== // barset 2, bar 2 - QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(303,143)); + QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(328,150)); QCoreApplication::processEvents(QEventLoop::AllEvents, 1000); QCOMPARE(seriesSpy.count(), 1); @@ -510,7 +510,7 @@ void tst_QBarSeries::mousehovered() //======================================================================= // move mouse to left border - QTest::mouseMove(view.viewport(), QPoint(0, 143)); + QTest::mouseMove(view.viewport(), QPoint(0, 150)); QCoreApplication::processEvents(QEventLoop::AllEvents, 10000); TRY_COMPARE(seriesSpy.count(), 0); TRY_COMPARE(setSpy1.count(), 0); @@ -518,7 +518,7 @@ void tst_QBarSeries::mousehovered() //======================================================================= // move mouse on top of set1 - QTest::mouseMove(view.viewport(), QPoint(95,143)); + QTest::mouseMove(view.viewport(), QPoint(72,150)); TRY_COMPARE(seriesSpy.count(), 1); TRY_COMPARE(setSpy1.count(), 1); TRY_COMPARE(setSpy2.count(), 0); @@ -534,7 +534,7 @@ void tst_QBarSeries::mousehovered() //======================================================================= // move mouse from top of set1 to top of set2 - QTest::mouseMove(view.viewport(), QPoint(118,143)); + QTest::mouseMove(view.viewport(), QPoint(100,150)); TRY_COMPARE(seriesSpy.count(), 2); TRY_COMPARE(setSpy1.count(), 1); TRY_COMPARE(setSpy2.count(), 1); @@ -561,7 +561,7 @@ void tst_QBarSeries::mousehovered() //======================================================================= // move mouse from top of set2 to background - QTest::mouseMove(view.viewport(), QPoint(118,0)); + QTest::mouseMove(view.viewport(), QPoint(100,0)); TRY_COMPARE(seriesSpy.count(), 1); TRY_COMPARE(setSpy1.count(), 0); TRY_COMPARE(setSpy2.count(), 1); diff --git a/tests/auto/qhorizontalbarseries/tst_qhorizontalbarseries.cpp b/tests/auto/qhorizontalbarseries/tst_qhorizontalbarseries.cpp index 5add4a4..49a174b 100644 --- a/tests/auto/qhorizontalbarseries/tst_qhorizontalbarseries.cpp +++ b/tests/auto/qhorizontalbarseries/tst_qhorizontalbarseries.cpp @@ -337,7 +337,7 @@ void tst_QHorizontalBarSeries::mouseclicked() //==================================================================================== // barset 1, bar 0 - QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(200,218)); + QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(200,241)); QCoreApplication::processEvents(QEventLoop::AllEvents, 1000); QCOMPARE(seriesSpy.count(), 1); @@ -355,7 +355,7 @@ void tst_QHorizontalBarSeries::mouseclicked() //==================================================================================== // barset 1, bar 1 - QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(200,161)); + QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(200,160)); QCoreApplication::processEvents(QEventLoop::AllEvents, 1000); QCOMPARE(seriesSpy.count(), 1); @@ -373,7 +373,7 @@ void tst_QHorizontalBarSeries::mouseclicked() //==================================================================================== // barset 1, bar 2 - QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(200,104)); + QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(200,79)); QCoreApplication::processEvents(QEventLoop::AllEvents, 1000); QCOMPARE(seriesSpy.count(), 1); @@ -391,7 +391,7 @@ void tst_QHorizontalBarSeries::mouseclicked() //==================================================================================== // barset 2, bar 0 - QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(200,203)); + QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(200,221)); QCoreApplication::processEvents(QEventLoop::AllEvents, 1000); QCOMPARE(seriesSpy.count(), 1); @@ -409,7 +409,7 @@ void tst_QHorizontalBarSeries::mouseclicked() //==================================================================================== // barset 2, bar 1 - QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(200,146)); + QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(200,140)); QCoreApplication::processEvents(QEventLoop::AllEvents, 1000); QCOMPARE(seriesSpy.count(), 1); @@ -427,7 +427,7 @@ void tst_QHorizontalBarSeries::mouseclicked() //==================================================================================== // barset 2, bar 2 - QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(200,89)); + QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(200,59)); QCoreApplication::processEvents(QEventLoop::AllEvents, 1000); QCOMPARE(seriesSpy.count(), 1); @@ -484,7 +484,7 @@ void tst_QHorizontalBarSeries::mousehovered() //======================================================================= // move mouse on top of set1 - QTest::mouseMove(view.viewport(), QPoint(200,218)); + QTest::mouseMove(view.viewport(), QPoint(200,241)); TRY_COMPARE(seriesSpy.count(), 1); TRY_COMPARE(setSpy1.count(), 1); TRY_COMPARE(setSpy2.count(), 0); @@ -500,7 +500,7 @@ void tst_QHorizontalBarSeries::mousehovered() //======================================================================= // move mouse from top of set1 to top of set2 - QTest::mouseMove(view.viewport(), QPoint(200,203)); + QTest::mouseMove(view.viewport(), QPoint(200,221)); TRY_COMPARE(seriesSpy.count(), 2); TRY_COMPARE(setSpy1.count(), 1); TRY_COMPARE(setSpy2.count(), 1); @@ -527,7 +527,7 @@ void tst_QHorizontalBarSeries::mousehovered() //======================================================================= // move mouse from top of set2 to background - QTest::mouseMove(view.viewport(), QPoint(0,203)); + QTest::mouseMove(view.viewport(), QPoint(0,221)); TRY_COMPARE(seriesSpy.count(), 1); TRY_COMPARE(setSpy1.count(), 0); TRY_COMPARE(setSpy2.count(), 1); diff --git a/tests/auto/qhorizontalpercentbarseries/tst_qhorizontalpercentbarseries.cpp b/tests/auto/qhorizontalpercentbarseries/tst_qhorizontalpercentbarseries.cpp index c55e053..47e1d9b 100644 --- a/tests/auto/qhorizontalpercentbarseries/tst_qhorizontalpercentbarseries.cpp +++ b/tests/auto/qhorizontalpercentbarseries/tst_qhorizontalpercentbarseries.cpp @@ -120,7 +120,7 @@ void tst_QHorizontalPercentBarSeries::mouseclicked() //==================================================================================== // barset 1, category test1 - QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(130,211)); + QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(115,231)); QCoreApplication::processEvents(QEventLoop::AllEvents, 1000); QCOMPARE(seriesSpy.count(), 1); @@ -132,7 +132,7 @@ void tst_QHorizontalPercentBarSeries::mouseclicked() //==================================================================================== // barset 1, category test2 - QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(130,154)); + QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(115,150)); QCoreApplication::processEvents(QEventLoop::AllEvents, 1000); QCOMPARE(seriesSpy.count(), 1); @@ -144,7 +144,7 @@ void tst_QHorizontalPercentBarSeries::mouseclicked() //==================================================================================== // barset 1, category test3 - QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(130,97)); + QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(115,69)); QCoreApplication::processEvents(QEventLoop::AllEvents, 1000); QCOMPARE(seriesSpy.count(), 1); @@ -156,7 +156,7 @@ void tst_QHorizontalPercentBarSeries::mouseclicked() //==================================================================================== // barset 2, category test1 - QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(269,210)); + QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(285,230)); QCoreApplication::processEvents(QEventLoop::AllEvents, 1000); QCOMPARE(seriesSpy.count(), 1); @@ -168,7 +168,7 @@ void tst_QHorizontalPercentBarSeries::mouseclicked() //==================================================================================== // barset 2, category test2 - QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(269,154)); + QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(285,150)); QCoreApplication::processEvents(QEventLoop::AllEvents, 1000); QCOMPARE(seriesSpy.count(), 1); @@ -180,7 +180,7 @@ void tst_QHorizontalPercentBarSeries::mouseclicked() //==================================================================================== // barset 2, category test3 - QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(269,97)); + QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(285,69)); QCoreApplication::processEvents(QEventLoop::AllEvents, 1000); QCOMPARE(seriesSpy.count(), 1); @@ -221,13 +221,13 @@ void tst_QHorizontalPercentBarSeries::mousehovered() //======================================================================= // move mouse to left border - QTest::mouseMove(view.viewport(), QPoint(0, 211)); + QTest::mouseMove(view.viewport(), QPoint(0, 231)); QCoreApplication::processEvents(QEventLoop::AllEvents, 10000); TRY_COMPARE(seriesSpy.count(), 0); //======================================================================= // move mouse on top of set1 - QTest::mouseMove(view.viewport(), QPoint(130,211)); + QTest::mouseMove(view.viewport(), QPoint(115,231)); TRY_COMPARE(seriesSpy.count(), 1); QList seriesSpyArg = seriesSpy.takeFirst(); @@ -237,7 +237,7 @@ void tst_QHorizontalPercentBarSeries::mousehovered() //======================================================================= // move mouse from top of set1 to top of set2 - QTest::mouseMove(view.viewport(), QPoint(269,211)); + QTest::mouseMove(view.viewport(), QPoint(285,231)); TRY_COMPARE(seriesSpy.count(), 2); // should leave set1 @@ -254,7 +254,7 @@ void tst_QHorizontalPercentBarSeries::mousehovered() //======================================================================= // move mouse from top of set2 to background - QTest::mouseMove(view.viewport(), QPoint(269,300)); + QTest::mouseMove(view.viewport(), QPoint(285,300)); TRY_COMPARE(seriesSpy.count(), 1); // should leave set2 diff --git a/tests/auto/qhorizontalstackedbarseries/tst_qhorizontalstackedbarseries.cpp b/tests/auto/qhorizontalstackedbarseries/tst_qhorizontalstackedbarseries.cpp index 4b6539e..39954c5 100644 --- a/tests/auto/qhorizontalstackedbarseries/tst_qhorizontalstackedbarseries.cpp +++ b/tests/auto/qhorizontalstackedbarseries/tst_qhorizontalstackedbarseries.cpp @@ -120,7 +120,7 @@ void tst_QHorizontalStackedBarSeries::mouseclicked() //==================================================================================== // barset 1, category test1 - QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(130,211)); + QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(115,231)); QCoreApplication::processEvents(QEventLoop::AllEvents, 1000); QCOMPARE(seriesSpy.count(), 1); @@ -132,7 +132,7 @@ void tst_QHorizontalStackedBarSeries::mouseclicked() //==================================================================================== // barset 1, category test2 - QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(130,154)); + QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(115,150)); QCoreApplication::processEvents(QEventLoop::AllEvents, 1000); QCOMPARE(seriesSpy.count(), 1); @@ -144,7 +144,7 @@ void tst_QHorizontalStackedBarSeries::mouseclicked() //==================================================================================== // barset 1, category test3 - QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(130,97)); + QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(115,69)); QCoreApplication::processEvents(QEventLoop::AllEvents, 1000); QCOMPARE(seriesSpy.count(), 1); @@ -156,7 +156,7 @@ void tst_QHorizontalStackedBarSeries::mouseclicked() //==================================================================================== // barset 2, category test1 - QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(269,210)); + QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(285,230)); QCoreApplication::processEvents(QEventLoop::AllEvents, 1000); QCOMPARE(seriesSpy.count(), 1); @@ -168,7 +168,7 @@ void tst_QHorizontalStackedBarSeries::mouseclicked() //==================================================================================== // barset 2, category test2 - QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(269,154)); + QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(285,150)); QCoreApplication::processEvents(QEventLoop::AllEvents, 1000); QCOMPARE(seriesSpy.count(), 1); @@ -180,7 +180,7 @@ void tst_QHorizontalStackedBarSeries::mouseclicked() //==================================================================================== // barset 2, category test3 - QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(269,97)); + QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(285,69)); QCoreApplication::processEvents(QEventLoop::AllEvents, 1000); QCOMPARE(seriesSpy.count(), 1); @@ -221,13 +221,13 @@ void tst_QHorizontalStackedBarSeries::mousehovered() //======================================================================= // move mouse to left border - QTest::mouseMove(view.viewport(), QPoint(0, 211)); + QTest::mouseMove(view.viewport(), QPoint(0, 231)); QCoreApplication::processEvents(QEventLoop::AllEvents, 10000); TRY_COMPARE(seriesSpy.count(), 0); //======================================================================= // move mouse on top of set1 - QTest::mouseMove(view.viewport(), QPoint(130,211)); + QTest::mouseMove(view.viewport(), QPoint(115,231)); TRY_COMPARE(seriesSpy.count(), 1); QList seriesSpyArg = seriesSpy.takeFirst(); @@ -237,7 +237,7 @@ void tst_QHorizontalStackedBarSeries::mousehovered() //======================================================================= // move mouse from top of set1 to top of set2 - QTest::mouseMove(view.viewport(), QPoint(269,211)); + QTest::mouseMove(view.viewport(), QPoint(285,231)); TRY_COMPARE(seriesSpy.count(), 2); // should leave set1 @@ -254,7 +254,7 @@ void tst_QHorizontalStackedBarSeries::mousehovered() //======================================================================= // move mouse from top of set2 to background - QTest::mouseMove(view.viewport(), QPoint(269,300)); + QTest::mouseMove(view.viewport(), QPoint(285,300)); TRY_COMPARE(seriesSpy.count(), 1); // should leave set2 diff --git a/tests/auto/qpercentbarseries/tst_qpercentbarseries.cpp b/tests/auto/qpercentbarseries/tst_qpercentbarseries.cpp index 55aef04..ecb08ae 100644 --- a/tests/auto/qpercentbarseries/tst_qpercentbarseries.cpp +++ b/tests/auto/qpercentbarseries/tst_qpercentbarseries.cpp @@ -120,7 +120,7 @@ void tst_QPercentBarSeries::mouseclicked() //==================================================================================== // barset 1, category test1 - QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(106,190)); + QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(86,211)); QCoreApplication::processEvents(QEventLoop::AllEvents, 1000); QCOMPARE(seriesSpy.count(), 1); @@ -132,7 +132,7 @@ void tst_QPercentBarSeries::mouseclicked() //==================================================================================== // barset 1, category test2 - QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(199,190)); + QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(200,211)); QCoreApplication::processEvents(QEventLoop::AllEvents, 1000); QCOMPARE(seriesSpy.count(), 1); @@ -144,7 +144,7 @@ void tst_QPercentBarSeries::mouseclicked() //==================================================================================== // barset 1, category test3 - QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(292,190)); + QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(314,211)); QCoreApplication::processEvents(QEventLoop::AllEvents, 1000); QCOMPARE(seriesSpy.count(), 1); @@ -156,7 +156,7 @@ void tst_QPercentBarSeries::mouseclicked() //==================================================================================== // barset 2, category test1 - QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(106,95)); + QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(86,90)); QCoreApplication::processEvents(QEventLoop::AllEvents, 1000); QCOMPARE(seriesSpy.count(), 1); @@ -168,7 +168,7 @@ void tst_QPercentBarSeries::mouseclicked() //==================================================================================== // barset 2, category test2 - QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(199,95)); + QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(200,90)); QCoreApplication::processEvents(QEventLoop::AllEvents, 1000); QCOMPARE(seriesSpy.count(), 1); @@ -180,7 +180,7 @@ void tst_QPercentBarSeries::mouseclicked() //==================================================================================== // barset 2, category test3 - QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(292,95)); + QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(314,90)); QCoreApplication::processEvents(QEventLoop::AllEvents, 1000); QCOMPARE(seriesSpy.count(), 1); @@ -221,13 +221,13 @@ void tst_QPercentBarSeries::mousehovered() //======================================================================= // move mouse to left border - QTest::mouseMove(view.viewport(), QPoint(0, 190)); + QTest::mouseMove(view.viewport(), QPoint(0, 211)); QCoreApplication::processEvents(QEventLoop::AllEvents, 10000); TRY_COMPARE(seriesSpy.count(), 0); //======================================================================= // move mouse on top of set1 - QTest::mouseMove(view.viewport(), QPoint(106,190)); + QTest::mouseMove(view.viewport(), QPoint(86,211)); TRY_COMPARE(seriesSpy.count(), 1); QList seriesSpyArg = seriesSpy.takeFirst(); @@ -237,7 +237,7 @@ void tst_QPercentBarSeries::mousehovered() //======================================================================= // move mouse from top of set1 to top of set2 - QTest::mouseMove(view.viewport(), QPoint(106,95)); + QTest::mouseMove(view.viewport(), QPoint(86,90)); TRY_COMPARE(seriesSpy.count(), 2); // should leave set1 @@ -254,7 +254,7 @@ void tst_QPercentBarSeries::mousehovered() //======================================================================= // move mouse from top of set2 to background - QTest::mouseMove(view.viewport(), QPoint(106,0)); + QTest::mouseMove(view.viewport(), QPoint(86,0)); TRY_COMPARE(seriesSpy.count(), 1); // should leave set2 diff --git a/tests/auto/qstackedbarseries/tst_qstackedbarseries.cpp b/tests/auto/qstackedbarseries/tst_qstackedbarseries.cpp index 8f64f00..c5f037d 100644 --- a/tests/auto/qstackedbarseries/tst_qstackedbarseries.cpp +++ b/tests/auto/qstackedbarseries/tst_qstackedbarseries.cpp @@ -120,7 +120,7 @@ void tst_QStackedBarSeries::mouseclicked() //==================================================================================== // barset 1, category test1 - QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(106,190)); + QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(86,211)); QCoreApplication::processEvents(QEventLoop::AllEvents, 1000); QCOMPARE(seriesSpy.count(), 1); @@ -132,7 +132,7 @@ void tst_QStackedBarSeries::mouseclicked() //==================================================================================== // barset 1, category test2 - QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(199,190)); + QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(200,211)); QCoreApplication::processEvents(QEventLoop::AllEvents, 1000); QCOMPARE(seriesSpy.count(), 1); @@ -144,7 +144,7 @@ void tst_QStackedBarSeries::mouseclicked() //==================================================================================== // barset 1, category test3 - QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(292,190)); + QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(314,211)); QCoreApplication::processEvents(QEventLoop::AllEvents, 1000); QCOMPARE(seriesSpy.count(), 1); @@ -156,7 +156,7 @@ void tst_QStackedBarSeries::mouseclicked() //==================================================================================== // barset 2, category test1 - QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(106,95)); + QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(86,90)); QCoreApplication::processEvents(QEventLoop::AllEvents, 1000); QCOMPARE(seriesSpy.count(), 1); @@ -168,7 +168,7 @@ void tst_QStackedBarSeries::mouseclicked() //==================================================================================== // barset 2, category test2 - QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(199,95)); + QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(200,90)); QCoreApplication::processEvents(QEventLoop::AllEvents, 1000); QCOMPARE(seriesSpy.count(), 1); @@ -180,7 +180,7 @@ void tst_QStackedBarSeries::mouseclicked() //==================================================================================== // barset 2, category test3 - QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(292,95)); + QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, QPoint(314,90)); QCoreApplication::processEvents(QEventLoop::AllEvents, 1000); QCOMPARE(seriesSpy.count(), 1); @@ -221,13 +221,13 @@ void tst_QStackedBarSeries::mousehovered() //======================================================================= // move mouse to left border - QTest::mouseMove(view.viewport(), QPoint(0, 190)); + QTest::mouseMove(view.viewport(), QPoint(0, 211)); QCoreApplication::processEvents(QEventLoop::AllEvents, 10000); TRY_COMPARE(seriesSpy.count(), 0); //======================================================================= // move mouse on top of set1 - QTest::mouseMove(view.viewport(), QPoint(106,190)); + QTest::mouseMove(view.viewport(), QPoint(86,211)); TRY_COMPARE(seriesSpy.count(), 1); QList seriesSpyArg = seriesSpy.takeFirst(); @@ -237,7 +237,7 @@ void tst_QStackedBarSeries::mousehovered() //======================================================================= // move mouse from top of set1 to top of set2 - QTest::mouseMove(view.viewport(), QPoint(106,95)); + QTest::mouseMove(view.viewport(), QPoint(86,90)); TRY_COMPARE(seriesSpy.count(), 2); // should leave set1 @@ -254,7 +254,7 @@ void tst_QStackedBarSeries::mousehovered() //======================================================================= // move mouse from top of set2 to background - QTest::mouseMove(view.viewport(), QPoint(106,0)); + QTest::mouseMove(view.viewport(), QPoint(86,0)); TRY_COMPARE(seriesSpy.count(), 1); // should leave set2