71 Commits

Author SHA1 Message Date
Ghostkeeper
e5dc90a519
Add USB syncing page to swipe view
Looks like a lot of blank space. May need to adjust sizes.

Contributes to issue CURA-8609.
2021-10-06 15:11:14 +02:00
Ghostkeeper
d16217c674
Implement filter for printer list to only show printers with certain configured connections
Because here we only want to show cloud-connected printers.

Contributes to issue CURA-8609.
2021-10-05 17:44:15 +02:00
Ghostkeeper
c8931d4c23
Implement sync function for refresh button
Quite simple. There's not a lot of feedback though when you press that button. Maybe we need to look at that.

Contributes to issue CURA-8609.
2021-10-05 17:31:27 +02:00
Ghostkeeper
554f580f13
Add extra card to refresh printer list
Contributes to issue CURA-8609.
2021-10-05 17:28:26 +02:00
Ghostkeeper
7a47ffb1b7
Add design for cards with printers
I'm adding the theme entry 'card' once and for all to hopefully unify the design we're using for cards in the toolbox, in the digital library, in the LAN connection interface, etc.

Contributes to issue CURA-8609.
2021-10-05 16:34:45 +02:00
Ghostkeeper
c95de3e379
Add main layout for printer list page
The actual printer list is not implemented yet and some of these elements may need to be swapped out if there are no printers available. But this is the basis of it.

Contributes to issue CURA-8609.
2021-10-05 14:30:42 +02:00
Ghostkeeper
ec79961153
Skip to next page when login is successful
Contributes to issue CURA-8609.
2021-10-05 14:20:50 +02:00
Ghostkeeper
0bb0c672c5
Skip sign in page if already signed in
Contributes to issue CURA-8609.
2021-10-05 14:05:08 +02:00
Ghostkeeper
f2aba01eff
Reset page index to 0 when re-opening sync dialogue
When the user previously opened the dialog and advanced through the pages, but closes the window, then they'll probably have to restart when they want to try it again.

Contributes to issue CURA-8609.
2021-10-05 14:00:15 +02:00
Ghostkeeper
9b1c8d1c7a
Add beginnings of printer list page
We just need this to have something to navigate to from the other pages as I implement that it automatically skips the sign in page when already signed in, and that it continues after being signed in from the sign in page.

Contributes to issue CURA-8609.
2021-10-05 13:26:25 +02:00
Ghostkeeper
c761820d52
Add behaviour to sign in page buttons
It will now sign you in when you press that button. It doesn't automatically proceed to the next page when signed in though. For that I reckon I'll need to build that next page first, or at least the beginnings of it.

Contributes to issue CURA-8609.
2021-10-05 13:22:33 +02:00
Ghostkeeper
3b62759ff2
Design for sign in page of material sync dialog
It's not functional yet at the moment, but this is a nice layout.

Contributes to issue CURA-8609.
2021-10-05 13:15:40 +02:00
Ghostkeeper
cef5c5da2a
Add link to help and button to continue
These two are aligned vertically.

Contributes to issue CURA-8609.
2021-10-05 12:05:26 +02:00
Ghostkeeper
d8dcd0affc
Replace three image layout with a single unified image
This new image positions all the images correctly and makes sure it all uses the correct line width even though they are scaled relatively to each other.

Contributes to issue CURA-8609.
2021-10-05 11:44:06 +02:00
Ghostkeeper
6b0e221b73
Implement word wrapping for introductory text
Contributes to issue CURA-8609.
2021-10-04 18:13:12 +02:00
Ghostkeeper
e56076af08
Render material spool somewhat bigger and give it a margin
The image of the spool doesn't have a margin by itself, contrary to the other images which have a visual margin given by the size of the table. We have to give it a margin manually. This is one of the consequences of encoding margins inside of images that may be used all over the place. We can't just remove the margins inside of the image because the laptop image will be used in other places too.
Just adding a margin would subtract from the size of the spool image making it very small. To compensate I'm making the spool image slightly bigger.

Contributes to issue CURA-8609.
2021-10-04 18:09:47 +02:00
Ghostkeeper
346d9f1db2
Add images describing the workflow to first page
Contributes to issue CURA-8609.
2021-10-04 17:59:16 +02:00
Ghostkeeper
1e9ae92d29
Add spacing and padding to first page
Contributes to issue CURA-8609.
2021-10-04 16:39:56 +02:00
Ghostkeeper
b5edd5fa9c
Make Sync dialogue modal
Otherwise it appears behind other modal windows, such as the material manager.

Contributes to issue CURA-8609.
2021-10-04 16:27:52 +02:00
Ghostkeeper
9ec731eaf6
Create MaterialsSyncDialog from a Python function
Rather than from the QML.
This allows creating this dialogue from a message button without needing to put it in the base application.

Contributes to issue CURA-8609.
2021-10-04 16:23:28 +02:00
Ghostkeeper
1c78452d39
Add basis for a new material sync wizard
Just the set-up with a basic page to test the window with.

Contributes to issue CURA-8609.
2021-10-01 17:54:01 +02:00