summaryrefslogtreecommitdiffstats
path: root/plugin/spatialnavigation360.cpp
diff options
context:
space:
mode:
authorAntti Hölttä <AHoelttae@luxoft.com>2018-12-18 11:38:37 +0100
committerAntti Hölttä <AHoelttae@luxoft.com>2019-03-18 16:34:23 +0100
commitd40b79cb1d3304f113df3091662760f585ee389e (patch)
tree70fb2d77ad5bd8026f487cb39322e8c587ca24ee /plugin/spatialnavigation360.cpp
parentfe5883489b5fffc2a833daa4d6a18cef1ac10696 (diff)
Add more features for the demo app
Add a common cursor indicator item that all navigable items may use for visualizing the cursor. Add a cursor navigable delegate. Make lists more generic by adding a CNItemDelegate. Add CNFlipButton that has flipping animations when used with CursorNavigation. Update Page4 with the new button type.
Diffstat (limited to 'plugin/spatialnavigation360.cpp')
-rw-r--r--plugin/spatialnavigation360.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugin/spatialnavigation360.cpp b/plugin/spatialnavigation360.cpp
index 0e6d19b..534a3d2 100644
--- a/plugin/spatialnavigation360.cpp
+++ b/plugin/spatialnavigation360.cpp
@@ -115,7 +115,7 @@ CursorNavigationAttached* SpatialNavigation360::getNextCandidate(
* -remember to use current item's coord system as the reference!!!
*/
- qWarning() << "##### navigation360: start, angle = " << cmd.angle << " tolerance = " << cmd.angleTolerance;
+ //qWarning() << "##### navigation360: start, angle = " << cmd.angle << " tolerance = " << cmd.angleTolerance;
if (candidates.isEmpty())
return nullptr;
@@ -179,8 +179,8 @@ CursorNavigationAttached* SpatialNavigation360::getNextCandidate(
}
}
- qWarning() << "##### end, directHit = " <<
- directHitItem << " withinTolerances = " << withinToleranceItem;
+ //qWarning() << "##### end, directHit = " <<
+ // directHitItem << " withinTolerances = " << withinToleranceItem;
if (directHitItem)
return directHitItem;