Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add test qml-file for testing reparenting within the same window. | Antti Hölttä | 2019-03-18 | 2 | -1/+73 |
| | | | | No testcase yet, fails for now. | ||||
* | Reparenting test | Antti Hoelttae | 2019-03-18 | 5 | -4/+199 |
| | |||||
* | Add test for 4 way navigation | Antti Hölttä | 2019-03-18 | 4 | -7/+170 |
| | |||||
* | Start tests, basic case pretty complete | Antti Hölttä | 2019-03-18 | 5 | -29/+180 |
| | |||||
* | Add redirect feature for manually fine tuning the cursor's movement | Antti Hölttä | 2019-03-18 | 10 | -31/+321 |
| | | | | | | | | 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. | ||||
* | Remove unnecessary list of distfiles | Antti Hölttä | 2019-03-18 | 1 | -6/+0 |
| | |||||
* | Bugfix: acceptsCursor should be set to false by default. | Antti Hölttä | 2019-03-18 | 1 | -1/+1 |
| | | | | Otherwise items that are not supposed to get the cursor may receive it. | ||||
* | Fixed a caption in the demo, rename files and remove unused files | Antti Hölttä | 2019-03-18 | 7 | -288/+5 |
| | |||||
* | More fixes and examples for the README | Antti Hölttä | 2019-03-18 | 1 | -8/+83 |
| | |||||
* | General minor fixes | Alexandra Betouni | 2019-03-18 | 9 | -55/+54 |
| | | | | | * Added semicolons and curly brackets * Fixed typo | ||||
* | Continue README, eg. add API description | Antti Hölttä | 2019-03-18 | 1 | -7/+126 |
| | |||||
* | Add descriptions to demo app examples. Also some tweaks. | Antti Hölttä | 2019-03-18 | 4 | -225/+294 |
| | |||||
* | Improve demoapp, try to make it look better | Antti Hölttä | 2019-03-18 | 7 | -63/+87 |
| | |||||
* | Started sketching the readme | Antti Hölttä | 2019-03-18 | 1 | -0/+19 |
| | |||||
* | Add dialog window to the demo program | Antti Hölttä | 2019-03-18 | 4 | -1/+58 |
| | | | | Use 'p' key to open a dialog | ||||
* | Add more features for the demo app | Antti Hölttä | 2019-03-18 | 21 | -271/+322 |
| | | | | | | | | | 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 bit | Antti Hölttä | 2019-03-18 | 6 | -49/+113 |
| | |||||
* | Fix definition of CursorNavigation.hasCursor | Antti Hölttä | 2019-03-18 | 1 | -3/+12 |
| | | | | | An item may now have the cursor on it also if the active focus is last set on one of its non-navigable children. | ||||
* | Add callbacks for magnitude, moves and actions | Antti Hölttä | 2019-03-18 | 12 | -223/+276 |
| | | | | | | | | | 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 file | Alexandra Betouni | 2019-03-18 | 1 | -12/+0 |
| | |||||
* | Add available-function for a cursor navigable | Antti Hölttä | 2019-03-18 | 5 | -33/+52 |
| | | | | | | 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 Gamepad | Antti Hölttä | 2019-03-18 | 6 | -9/+144 |
| | |||||
* | Simplified the 4 way algorithm | Antti Hölttä | 2019-03-18 | 2 | -52/+24 |
| | |||||
* | cursor trapping and navigation out of a scope works now as intended | Antti Hölttä | 2019-03-18 | 4 | -5/+36 |
| | | | | | | 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 | ||||
* | When following focus, set cursor only on items that accept it | Antti Hölttä | 2019-03-18 | 1 | -1/+1 |
| | |||||
* | Cursor now movable only to items that set the acceptsCursor value to true | Antti Hölttä | 2019-03-18 | 4 | -23/+52 |
| | |||||
* | Add find-function | Antti Hölttä | 2019-03-18 | 7 | -22/+80 |
| | | | | | | 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 scenario | Alexandra Betouni | 2019-03-18 | 11 | -7/+259 |
| | | | | for cursor managment | ||||
* | Bugfixes to 360 algorithm, added cooldown for gamepad control | Antti Hölttä | 2019-03-18 | 4 | -47/+27 |
| | | | | | 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 algorithm | Antti Hölttä | 2019-03-18 | 14 | -110/+513 |
| | | | | | 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 TabButton | Antti Hölttä | 2019-03-18 | 2 | -6/+18 |
| | |||||
* | Demo application clean up | Alexandra Betouni | 2019-03-18 | 14 | -344/+300 |
| | | | | | | 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 interface | Antti Hölttä | 2019-03-18 | 6 | -12/+84 |
| | | | | | | 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 program | Antti Hölttä | 2019-03-18 | 14 | -158/+315 |
| | | | | | Scope may be entered and escaped. Navigable items may have escape targets defined | ||||
* | Refactor item registration with scopes in mind | Antti Hölttä | 2019-03-18 | 10 | -67/+148 |
| | | | | | ItemRegister class removed and items now keep track of their own cursor navigable child items. Navigation happens now only between siblings. | ||||
* | Bind cursor presence to the current active focus | Antti Hölttä | 2019-03-18 | 6 | -67/+183 |
| | |||||
* | Initial commit, demoable poc | Antti Hölttä | 2019-03-18 | 32 | -0/+1118 |
Sort of working with 4 dir navigation, check demoapp |