Age | Commit message (Collapse) | Author |
|
Correctly show the log messages. The log window will display all
messages emitted by the QML Manager class.
Signed-off-by: Grace Karanja <gracie.karanja89@gmail.com>
|
|
Show a message at the start of fetching dives, so that the user knows
whats going on.
Signed-off-by: Grace Karanja <gracie.karanja89@gmail.com>
|
|
Add the ability to preview the application log in QML.
Signed-off-by: Grace Karanja <gracie.karanja89@gmail.com>
|
|
No need to clear the dives when adding a new one.
Signed-off-by: Grace Karanja <gracie.karanja89@gmail.com>
|
|
When user clicks on AddDive, we should clear the model.
Signed-off-by: Grace Karanja <gracie.karanja89@gmail.com>
|
|
Start working on the add dive feature, to enable the user add a
new dive using the mobile UI.
Signed-off-by: Grace Karanja <gracie.karanja89@gmail.com>
|
|
There's no point opening to an empty screen and asking the user to do this
via the menu.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
If we try to set up a message before the window has been instantiated we
should ignore the message, not crash.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
When testing subsurface-mobile on the desktop from an account that had a
default file set up in the Subsurface preferences that file would already
be loaded creating rather confusing output.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
If the user ticks the 'Save Password' box, then we save the password
for future use.
Signed-off-by: Grace Karanja <gracie.karanja89@gmail.com>
|
|
This implements saving of some dive details to the cloud service. When the
user closes an open dives, any changed details will be cached, and when they
click on the 'Save Changes' button is pressed, the changes will be saved to
the cloud.
Signed-off-by: Grace Karanja <gracie.karanja89@gmail.com>
|
|
This is just a quick first stab to do this, but it at least allows us to
share some information with the user.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
Fix some whitespace issues in the QMLManager and DiveListModel
classes.
Signed-off-by: Grace Karanja <gracie.karanja89@gmail.com>
|
|
Load dives from the Subsurface cloud service using the user's saved
credentials. This will display the dives in the same way as loading
them from a local file.
Signed-off-by: Grace Karanja <gracie.karanja89@gmail.com>
|
|
These fields will be used by the QML Ui to save/retrieve the user's
cloud credentials.
Signed-off-by: Grace Karanja <gracie.karanja89@gmail.com>
|
|
On the QML page, dives are repeated. Adding process_dives to
QMLManager after calling parse_file solves this.
Signed-off-by: Grace Karanja <gracie.karanja89@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
This model will be used to show the dives in QML. This commit adds
the model, and the means to link it to QML.
Signed-off-by: Grace Karanja <gracie.karanja89@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
Add a link between the C++ and QML parts of the app using the
qmlRegisterType function.
[Dirk Hohndel: changed the name to org.subsurfacedivelog.mobile]
Signed-off-by: Grace Karanja <gracie.karanja89@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
Add a QMLManager class. This class will be used as a link between
the C++ and QML aspects of the mobile application.
Signed-off-by: Grace Karanja <gracie.karanja89@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|