43 Commits

Author SHA1 Message Date
Ghostkeeper
9122d0cca4
Remove misleading text that says you could enter hostnames
We don't resolve the hostnames ever. You can only enter IP addresses.
2019-08-21 09:56:32 +02:00
Diego Prado Gesto
5b9c4e402e Change the Back button to be a secondary button
Change also some texts in the More information dialog and the font type of one of the titles in the first use flow

Contributes to CURA-6483.
2019-05-02 15:38:19 +02:00
Lipu Fei
85822d6e73 Fix add by IP validator regex
CURA-6483
2019-05-02 15:30:11 +02:00
Lipu Fei
0575fd283e Fix manual printer device not up-to-date
CURA-6483
2019-05-01 15:12:08 +02:00
Lipu Fei
2b5d78a01a Do not add unknown or non-host printers in add-by-ip
CURA-6483
2019-05-01 14:25:01 +02:00
Lipu Fei
383b474bd7 Fix typo
CURA-6483
2019-04-30 15:27:29 +02:00
Lipu Fei
40d26bbb6e NetworkingUtil is included in Cura 1.5 QML
CURA-6483
2019-04-30 12:49:26 +02:00
Lipu Fei
ed8127777c Make a single NetworkingUtil
CURA-6483
2019-04-30 09:43:50 +02:00
Lipu Fei
c8872cb4a1 Use a separate function to validate IP address
CURA-6483
2019-04-29 15:53:08 +02:00
Lipu Fei
278d8ee587 Fix button enabled flags
CURA-6483
2019-04-26 13:30:26 +02:00
Lipu Fei
dbd8d4e74c Use IPv4 and IPv6 regex to validate IP input
CURA-6483
2019-04-26 12:48:30 +02:00
Lipu Fei
b22073e170 Add timeout for manual IP requests
CURA-6483
2019-04-25 11:54:32 +02:00
Lipu Fei
372e9026e4 Move add by ip device discovery into DiscoveredPrintersModel
CURA-6483
2019-04-25 08:44:55 +02:00
Lipu Fei
904a8ab26c Fix theming
CURA-6435
2019-04-17 09:18:08 +02:00
Diego Prado Gesto
aabcd71b72 Use the 'busy' property of the ActionButton
Instead of creating a new BusyIndicator, use the existing one.

Contributes to CURA-6435.
2019-04-11 14:17:10 +02:00
Diego Prado Gesto
a32488895b Add renderType to labels
Otherwise it becomes unreadable on macOS.

Contributes to CURA-6435.
2019-04-11 12:08:18 +02:00
Lipu Fei
70e97304d1 Fix add-by-ip page layout
CURA-6057
2019-04-10 10:33:11 +02:00
Lipu Fei
ad51d8f1b6 Show readable machine type in add by ip page
CURA-6057
2019-04-08 13:06:30 +02:00
Lipu Fei
0bac3e8111 Fix button text
CURA-6057
2019-04-08 12:39:21 +02:00
Lipu Fei
5cce4cd4cd Fix add by ip page styling
CURA-6057
2019-04-08 12:27:32 +02:00
Jaime van Kessel
7a3cd81e3f Fix font size for the titles in the welcome flow
CURA-6057
2019-04-01 14:10:09 +02:00
Ghostkeeper
5028290e0d
Remove welcome_pages_default_margin theme entry
Use the wide margin instead. It's practically the same, nobody is going to notice. It still looks spacey and nice, and it's more consistent with the rest of the interface.
We had previously agreed that we will not make any new widget-specific theme entries any more.

Contributes to issue CURA-6057.
2019-03-29 13:41:45 +01:00
Ghostkeeper
129c1ab3d4
Fix welcome page buttons text not fitting
On some operating systems the text would not fit due to different font rendering. Also, after translation, it probably wouldn't fit either.
Usually we have the button size adjusting to the text inside it. The design didn't do this, either because it was too difficult to do in Zeplin, because the designer was lazy, or because the designer didn't know that this was the normal style in the rest of Cura. And the programmer took that over literally.

Contributes to issue CURA-6057.
2019-03-29 13:41:45 +01:00
Lipu Fei
418ad73a63 Move page index logic into WelcomePagesModel 2019-03-26 11:34:44 +01:00
Remco Burema
b25df557d3 Merge branch 'WIP_onboarding' of https://github.com/Ultimaker/Cura into WIP_onboarding 2019-03-22 13:20:43 +01:00
Remco Burema
8de055dd33 Adjust add-by-ip to latest review comments. [CURA-6294] 2019-03-22 13:19:19 +01:00
Remco Burema
1f75d00cd3 Adapt add-by-ip-qml to handle unresponsive address. [CURA-6294] 2019-03-22 13:10:31 +01:00
Lipu Fei
92dea8a52f Add welcome_pages_default_margin 2019-03-22 11:50:10 +01:00
Lipu Fei
2b0e2d84bb Rename gotoPage to goToPage 2019-03-22 10:21:17 +01:00
Lipu Fei
a8e2fcf5f5 Add comments for properties in AddPrinterByIpContent 2019-03-22 10:19:38 +01:00
Lipu Fei
0c8afbfa45 Use Item instead of Rectangle 2019-03-22 10:14:34 +01:00
Remco Burema
8250c91fc4 Make remove manual device (also) work (as failure-state of add manual device). [CURA-6294] 2019-03-21 18:45:57 +01:00
Remco Burema
8f9bd0ad06 Adapted to more review comments. [CURA-6294] 2019-03-20 17:20:06 +01:00
Remco Burema
9a2b800fe8 Future proof: also accept IPv6 address. [CURA-6294] 2019-03-20 17:01:37 +01:00
Remco Burema
61d2aa5c5f No more hardcoded margins (and other QML fixes) in 'add-by-ip'. [CURA-6294] 2019-03-20 13:16:10 +01:00
Remco Burema
2693eecd33 (Add-by-IP/onboard) Cleanup and use discovered-printer instead of machine-manager. [CURA-6294] 2019-03-14 13:33:24 +01:00
Remco Burema
61821e6378 Merge remote-tracking branch 'origin/WIP_onboarding' into WIP_onboarding_by_ip 2019-03-14 11:40:44 +01:00
Remco Burema
b12b6892ca Add-by-IP onboarding: Create (and set active) new device. [CURA-6294] 2019-03-13 17:36:03 +01:00
Remco Burema
bb17ab14da (WIP) Connect manual-device-added signals to AddPrinterByIP-page. [CURA-6294] 2019-03-13 15:46:02 +01:00
Lipu Fei
cc35eb0195 WIP: Add gotoPage 2019-03-11 15:34:53 +01:00
Remco Burema
7a7e710b2a Support for manual device addition for plugins (WIP). [CURA-6294] 2019-03-06 17:50:40 +01:00
Remco Burema
3c0583bef0 [AddPrinterByIp] Finish GUI as a facade first for review. [CURA-6057] 2019-03-06 14:05:42 +01:00
Remco Burema
113c37f555 Start work on 'AddPrinterByIp' for WelcomePages. [CURA-6057] 2019-03-01 13:17:15 +01:00