| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Add a manodatory appId, expose it to QML, add a simple find by
id method and update the testcases.
Change-Id: I4f80a97e5f31e972694dd61eff0166f9de2f5d51
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
|
|
|
|
|
|
|
|
|
| |
Allow extensions and let them begin with X-. Briefly document
it, add some extensions as an example and briefly test that the
right values are parsed.
Change-Id: I7a9ae6b2f365802fcce6dce56fa7795f76d83421
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
|
|
|
|
|
|
|
|
|
| |
The apps were hard to be discovered inside apps/files and other
projects here seem to use a resources/ folder. Move the apps and
the images in it.
Change-Id: If2e9127ea6e941e1a97465b2de5e9f9af3660ea3
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Turn the AppEntry into a gadget and store the filename of where the
entry came from. Update the existing test to deal with it.
Introduce AppListModel as a QAbstractItemModel and expose the raw
AppEntry and its fields as role. Have some slow O(n) code to check
if an entry has already been added. The goal is to use a directory
watcher to automatically update this list.
Store the AppEntry as a pointer so we don't have to remove the
const from the field.
The next steps are to fully populate the AppListModel by scanning
and watching a directory and then replacing the LaunchButton code
with a Repeater on the application model. After starting of apps
will be done by passing the AppEntry to a launcher. Application
state should be stored outside the AppEntry and maybe in a different
model as well.
Change-Id: Ia933a09942ea8bb88eae5c101d13a30564d8c639
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
|
|
Implement parsing of the json definition. Initially be strict to
parse the file correctly. Add some basic tests for checking how
data and file parsing is working and feed some invalid input into
the parser and check the result.
Use macro for checking the JSON type and doing the conversion to
allow an early return and to avoid having to write the same code
over and over again.
Change-Id: I8c4301bac1b6226f94c8fc0004a313487b73c21a
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
|