Commit Graph

328 Commits

Author SHA1 Message Date
tomFlowee f3a05f7eb7 Remove unneeded ColumnLayout
The Page gives us a GridLayout, so no need to
nest a ColumnLayout inside of that.
2022-11-23 10:33:18 +01:00
tomFlowee 44afb0ed40 Add sub-pages for new wallets.
Could probably do with some TLC on the UX front, but lets focus on actual
functionality first.
2022-11-22 23:11:33 +01:00
tomFlowee 1b2f07bcaf Make page have default margins.
To avoid having to do so in each child-page.
2022-11-22 23:09:47 +01:00
tomFlowee 82e9130c6a UX: make the clickable area wider than the button. 2022-11-22 23:07:14 +01:00
tomFlowee 34614cb646 Fix default value 2022-11-22 23:07:14 +01:00
tomFlowee d255f8ede7 Properly break text-lines that have no spaces
A privatekey should be broken over two lines instead of forcing a
horizontl scroll, for better UX>
2022-11-22 23:06:27 +01:00
tomFlowee 456f03339f Add namespace to this usage too. 2022-11-22 23:03:32 +01:00
tomFlowee 17296d731a Use our Label class with fixes. 2022-11-21 20:34:34 +01:00
tomFlowee 4cf2dfa8e3 First setup for the NewAccount page. 2022-11-21 20:17:33 +01:00
tomFlowee 4061b97c57 fixlets 2022-11-21 20:17:33 +01:00
tomFlowee 67a09fac0b Structure menu pane and make less beta looking
We add a logo, app version number and a link to the new accounts pane.
2022-11-21 20:17:33 +01:00
tomFlowee 1ebfcbf997 Move CardTypeSelector to be a common widget 2022-11-21 20:16:21 +01:00
tomFlowee a46a7e5b74 re-add dropped line
This restores the ability to click on the import tile
2022-11-21 15:46:37 +01:00
tomFlowee a3831df0d6 Move data of the menu to a model. 2022-11-21 14:29:54 +01:00
tomFlowee ef3498ee67 Only enable touch-feedback on Android
This approach works great for touch events, not so wonderful for mouse
events as it stops me being able to swipe on lists with the mouse.
So disable this on platforms that don't use touch primarily.
2022-11-21 14:11:55 +01:00
tomFlowee 6c7c0813c0 Simplify the sections part of account history 2022-11-21 12:48:11 +01:00
tomFlowee 7def5fd4e9 Make the account history tab mostly functional. 2022-11-18 21:53:31 +01:00
tomFlowee e426188f95 Boring GUI updates
Add tabbar icon, fix font usage, add basic history list. Show wallet
balance with the right label.
2022-11-18 13:43:04 +01:00
tomFlowee 6a9848366d Refactor enum; move to own class
The usage of the big application singleton for enums is not the best for
linkage.

See, in QML you like to use enums, but you need to register the object
it is defined on with QML. So, you ideally have one object with loads of
enums. Easy to maintain, less to learn for the QML author.
Using the application-wide singleton made kind of sense, but this
creates a dependency requirement for all users of these enums that
doesn't jibe well with maintainable code.

So, introduce a simple enums-only class that can be used from QML and is
cheap to include from any using classes.
2022-11-18 13:09:12 +01:00
tomFlowee cc26702ff5 Add home icons 2022-11-18 10:25:19 +01:00
tomFlowee bb8a940fbf Continue implementing the UX design.
This adds account showing and selection.
Icons for the "night-theme" selector.
Improvements to the color set and a splashscreen.
2022-11-17 23:10:06 +01:00
tomFlowee cb7b454963 Implement some more layouting
This makes the MenuOverlay interaction work better.
We start with some main view setup that moves in the direction of the
actual UX design.
2022-11-17 00:12:17 +01:00
tomFlowee e2ab48e816 Make the phone UI look the same as my Linux one.
We now hardcode the style and I needed to override the Label
in order to explicitly use the palette from the mainWindow. Not
sure why the one on Android behaved different than on Linux.
2022-11-15 15:19:35 +01:00
tomFlowee 3fcca1487a Remove duplicate 2022-11-15 12:25:33 +01:00
tomFlowee 3aa5bab36a Add missing file 2022-11-15 12:08:30 +01:00
tomFlowee e2bea6a5af Start basic mobile GUI structure
On the mainscreen have some big tab-buttons for the main features
then we have a menu overlay which can hold various other screens
and features. Those screens will be placed on top of the main
tabbed screen using a stack-view which is common on touch-interfaces.
2022-11-15 11:38:28 +01:00
tomFlowee cce9237d82 Use namespaces
This works around an inconsistency in the QML language.
Inside a file variables are preferred local, hiding the global
ones that may have the same name.
The same is not true for named QML files (classes). An imported
is used before one of the same name in the same directory.

To avoid future additions to Qt Controls breaking our code, and
to generally avoid surprises with common names, lets standardize
using namespacing for Qt-Quick-Controls classes.
2022-11-15 10:41:11 +01:00
tomFlowee d384167445 Prepare for better shared-widgets setup
QML allows re-usable components, this makes the already created
list of widgets for Desktop easy to use for mobile as well.
2022-11-14 21:25:36 +01:00