36 Commits

Author SHA1 Message Date
Kostas Karmas
3d5bbfbfaa Change color of busyIndicator according to the Theme
Also for the text "No printer found in your network" in AddNetworkPrinterScrollView

CURA-7627
2020-08-03 16:19:37 +02:00
Kostas Karmas
eda868f938 Make the discovered cloud printers model generic
Removed the dependency of the DiscoveredCloudPrintersModel on CloudOutputDevice,
which is Ultimaker specific. This can allow even external plugins to add to this
model in the future.

CURA-7022
2020-04-29 13:31:45 +02:00
Kostas Karmas
6583f5f5ac Reset the model when pressing the Add cloud printer button
CURA-7022
2020-04-28 12:08:48 +02:00
Kostas Karmas
a4c5e63355 Add "Add cloud printer" button in "Add a printer" page
CURA-7022
2020-04-22 16:10:31 +02:00
Remco Burema
175121e86c
Fix add printer scrollview overlaps buttons.
CURA-7336
2020-04-01 17:31:23 +02:00
Jaime van Kessel
6a5fbba519
Prevent the Networked printer scrollview from slowing shit down when it's not even visible 2020-01-03 17:29:04 +01:00
Jaime van Kessel
997f19ba26
Prevent flicking behavior for machine selection
Contributes to #6684
2019-11-22 11:02:19 +01:00
Diego Prado Gesto
233013c946 Cache a lot of items in the list so there are no glitches 2019-05-13 13:23:10 +02:00
Lipu Fei
7d4c821551 Prevent auto selecting an invalid printer
CURA-6483
2019-05-03 08:49:39 +02:00
Diego Prado Gesto
32c8bbfb3c Modify small UI things in the Add Printer dialog 2019-05-01 15:50:43 +02:00
Remco Burema
5c28de05e1 Workaround for ListView-cache-bug in Qt. [CURA-6435] 2019-04-17 16:40:05 +02:00
Lipu Fei
d9018220b5
Merge branch 'master' into CURA-6449_fix_non_host_printers 2019-04-15 11:37:02 +02:00
Diego Prado Gesto
3bfe7df044 Fix the alignment of the MachineSelectorButton
Sometimes it was creating a button with width zero. Now it expands to the width of the container.

Also fixing a small issue with the buttons and the link not being correctly aligned to the vertical center.

Contributes to CURA-6057.
2019-04-12 15:45:10 +02:00
Lipu Fei
588dd6cd78 Disable printers that are not host of a group
CURA-6449

 - Group printers into hosts and non-hosts and of unknown type.
 - Show available/connectable printers first in the list.
 - Show sections for connectable and non-connectable printers.
2019-04-11 11:33:01 +02:00
Lipu Fei
0962481bc1 Fix printer type update in the main printer selection menu
CURA-6057
2019-04-08 12:27:31 +02:00
Lipu Fei
b28fdc2b0b Use camelcase for pyqtProperty names 2019-03-28 14:22:27 +01:00
Lipu Fei
0a8a25860c Update network troubleshooting URL 2019-03-27 13:09:25 +01:00
Lipu Fei
6c7ae309a1 Add network troubleshooting url 2019-03-26 16:27:06 +01:00
Lipu Fei
c4d2cb26a0 Fix comments 2019-03-22 10:07:26 +01:00
Lipu Fei
528a6b651d Fix code style 2019-03-22 10:06:47 +01:00
Lipu Fei
f13ceb2a4d Use default margin for network printer button 2019-03-21 15:53:21 +01:00
Lipu Fei
bff9287094 Simplify the horizontal-line in network printer panel 2019-03-21 15:47:17 +01:00
Lipu Fei
c6bd31e5f6 Simplify code 2019-03-20 14:07:13 +01:00
Lipu Fei
8cc05a2a62 Bind no printer label visible to item count 2019-03-20 14:05:52 +01:00
Lipu Fei
79ab09ca01 Fix troubleshooting typos 2019-03-20 11:33:43 +01:00
Lipu Fei
d46d0f2999 Change Scroll policy to AsNeeded 2019-03-20 11:17:58 +01:00
Lipu Fei
b3621bae84 WIP: Disable unknown printer type buttons 2019-03-14 11:18:39 +01:00
Lipu Fei
2b0e9ea439 WIP: Fix refresh and naming 2019-03-14 08:56:31 +01:00
Lipu Fei
20933e8bef WIP: Add label for no discovered network printer 2019-03-13 14:12:05 +01:00
Lipu Fei
764f7281c2 WIP: Show full name of network printer types 2019-03-13 13:03:41 +01:00
Lipu Fei
de9f6f47bd WIP: Implement add machine from network device 2019-03-13 12:04:52 +01:00
Lipu Fei
f7f5123fea WIP: Fix highlighting of selected network printer 2019-03-13 11:03:23 +01:00
Lipu Fei
5fa2c72b0d WIP: Complete add network and local printer flow 2019-03-13 10:31:47 +01:00
Lipu Fei
cc35eb0195 WIP: Add gotoPage 2019-03-11 15:34:53 +01:00
Lipu Fei
53ea944da1 WIP: Add comments 2019-03-11 15:04:09 +01:00
Lipu Fei
0c94ded93d WIP: Refactor and fix network printer list 2019-03-11 14:57:02 +01:00