aboutsummaryrefslogtreecommitdiffstats
path: root/DemoApplication
Commit message (Collapse)AuthorAgeFilesLines
* Add license and copyright informationAntti Hölttä2019-03-1918-0/+899
|
* Little fixes and cleanup, TODOsAntti Hölttä2019-03-181-1/+1
| | | | | Explained some TODOs a bit better. Fixed mismatching tab titles in demo app. Removed unused predefined CursorNavigationCommands.
* Start tests, basic case pretty completeAntti Hölttä2019-03-181-1/+1
|
* Add redirect feature for manually fine tuning the cursor's movementAntti Hölttä2019-03-182-0/+128
| | | | | | | | Cursornavigation now has a property redirects, that allows defining exceptions to the navigation behaviour. A redirect allows defining a starting and an ending angle and a target object. If the move command's direction falls between the limits, the algorithm is bypassed and cursor is moved to the target object.
* Fixed a caption in the demo, rename files and remove unused filesAntti Hölttä2019-03-187-288/+5
|
* General minor fixesAlexandra Betouni2019-03-188-54/+53
| | | | | * Added semicolons and curly brackets * Fixed typo
* Add descriptions to demo app examples. Also some tweaks.Antti Hölttä2019-03-184-225/+294
|
* Improve demoapp, try to make it look betterAntti Hölttä2019-03-187-63/+87
|
* Add dialog window to the demo programAntti Hölttä2019-03-184-1/+58
| | | | Use 'p' key to open a dialog
* Add more features for the demo appAntti Hölttä2019-03-1817-261/+312
| | | | | | | | | 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.
* Add an alternative list based tabbar to the mainpage, fix page 2 a bitAntti Hölttä2019-03-184-46/+110
|
* Add callbacks for magnitude, moves and actionsAntti Hölttä2019-03-187-92/+123
| | | | | | | | | When cursor is moved, the current item is informed of the actions via callbacks. Eg. when cursor is moved up, the item that had the cursor will have its movedUp signal fired. It is now also possible to inform navigable items over incomplete movement, or the magnitude of the movement. This may be used eg. to make buttons or elements to flip/rotate to indicate that the cursor is about to be moved.
* Removing not-needed qml.qrc fileAlexandra Betouni2019-03-181-12/+0
|
* Add available-function for a cursor navigableAntti Hölttä2019-03-181-21/+27
| | | | | | Availability means that the item first of all accepting cursor, visible, enabled, and within its parent's geometry. This value is meant for the algorithms to define if item is navigable.
* Add demo page with a map and POIs, navigated with a GamepadAntti Hölttä2019-03-184-1/+141
|
* cursor trapping and navigation out of a scope works now as intendedAntti Hölttä2019-03-181-1/+7
| | | | | | done by precopying the list of candidates. Could avoid extra list copies if the algorithm traversed the tree, but this is simpler and works for now
* Cursor now movable only to items that set the acceptsCursor value to trueAntti Hölttä2019-03-182-2/+10
|
* Add find-functionAntti Hölttä2019-03-181-0/+20
| | | | | | find-function is similar to the move, but instead of moving the cursor, it returns the item that cursor would move to if move was called with the same arguments
* Adding page with a more complicated scenarioAlexandra Betouni2019-03-1811-7/+259
| | | | for cursor managment
* Bugfixes to 360 algorithm, added cooldown for gamepad controlAntti Hölttä2019-03-181-3/+10
| | | | | Joystick produce change events very rapidly and continuously, so a cooldown time is needed so that the cursor wont jump over multiple items
* Add 360 algorithmAntti Hölttä2019-03-183-0/+98
| | | | | Add algorithm that allows navigation to any direction. Works somewhat well now. Example app has a page with a gamepad/stick support.
* Add cursor navigable TabButtonAntti Hölttä2019-03-182-6/+18
|
* Demo application clean upAlexandra Betouni2019-03-1813-344/+299
| | | | | | Minor improvements in pro file for demo app Also update .gitignore to ignore DS_Store files Removed unecessary code and files
* CursorNavigationAttached now implements the control interfaceAntti Hölttä2019-03-181-0/+7
| | | | | | CursorNavigationAttached now implements the functions for moving the cursor and for giving commands. This makes it possible to reassign the control keys, or use other input sources as well
* More on scopes, works to some extent in the test programAntti Hölttä2019-03-184-37/+165
| | | | | Scope may be entered and escaped. Navigable items may have escape targets defined
* Bind cursor presence to the current active focusAntti Hölttä2019-03-183-52/+135
|
* Initial commit, demoable pocAntti Hölttä2019-03-189-0/+245
Sort of working with 4 dir navigation, check demoapp