Commit graph

208 commits

Author SHA1 Message Date
John Lewin
88d32b0d2d Restore Library menu item selection 2017-05-26 00:18:34 -07:00
John Lewin
4559073237 Move more widgets to printer action bar
- Extract elements in PrinterConnectAndSelectControl to components
- Use new components in printer action bar
- Extract more factories to shared components
- Move shared color to ThemeConfig
- Add support for widget generation during ShowPopup
2017-05-24 14:19:02 -07:00
John Lewin
1e643617c5 Adjust tab styling
- Pass separator bars to tabs, disable drawn borders
- Remove ActionBar from leftnav
- Remove PrintProgressBar from leftnav
- Revise BreadCrumb button attributes
- Revise UpFolder icon
- Revise overflow/pancake menu icon
- Create OverflowButton to encapsulate common menu item
- Use horizontal/VerticalLine for consistent color/weight separators
- Reduce visual clutter
  - Minimize regions created by color and line separators
  - Reduce the contrast of separator lines
  - Reduce the contrast of region backgrounds
  - Use consistent background colors across sibling tab pages
2017-05-23 14:54:36 -07:00
John Lewin
8dad331afd Revise IconView layout 2017-05-21 23:22:28 -07:00
John Lewin
4d84844f96 Throw exceptions for missing functionality rather than Debug.Break
- Fix unexpected abort in NUnit testruns
- Tests should fail rather than crash, highlighting areas needing focus
2017-05-21 22:37:30 -07:00
John Lewin
bbbcb62123 Fix AddMultipleItemsToQueue test
- Use new library widget name format
- Fix blocking issues in PrintQueueContainer
  - Perform actual container reload via .ReloadContainer
  - Allow ReloadContainer to execute on the current thread
  - Wrap original invocation of ReloadContainer in ctor with Task.Run()
- Issue MatterHackers/MCCentral#1504
2017-05-21 16:55:33 -07:00
John Lewin
2654151649 Call Container.Add(IEnumerable<T>)
- Add ChangeToQueueContainer helper method
- Cast to IWritableContainer and invoke Add(IEnumerable<T>)
- Issue MatterHackers/MCCentral#1503
2017-05-21 16:29:00 -07:00
John Lewin
1787c377eb Only switch to container if not null 2017-05-21 00:02:30 -07:00
John Lewin
c24480e4ed Fix list item names, use DoubleClickByName to automate library items
- Remove unused 'up folder' list view item code
2017-05-20 17:47:36 -07:00
John Lewin
03a593f1b5 Move to new library model and view
- Add new listview control for library content
- Migrate library providers to containers
  - Cloud, Sqlite, Directories, Queue, History
- Migrate SideBar components to containers
  - Primatives, Text, Braille, ImageConverter
- Create new library container types
  - Zip files, Calibration parts, Printer SDCards
- Reduce leftnav to Library, Settings, Controls, Options
- Add DragDrop support for image content
2017-05-20 00:41:02 -07:00
Lars Brubaker
352eb792f1 Merge branch 'smash_1.7.1' into design_tools
# Conflicts:
#	PartPreviewWindow/View3D/View3DWidget.cs
#	SlicerConfiguration/SliceSettingsWidget.cs
#	SlicerConfiguration/SlicingQueue.cs
#	StaticData/SliceSettings/Properties.json
2017-05-19 14:57:04 -07:00
Lars Brubaker
a1e1c48d90 All new 1.7.1 changes 2017-05-19 14:39:57 -07:00
Lars Brubaker
ceaa1a94da Moved drag drop to be in our mouse data rather than mirrored api 2017-04-05 16:25:43 -07:00
John Lewin
907609b587 Design tools 2017-03-15 16:29:56 -07:00
Lars Brubaker
def442958b Wrote a new test that ensures we can export library items. 2017-03-07 14:13:35 -08:00
Lars Brubaker
b88416163c Fixing tests 2017-03-01 17:05:48 -08:00
John Lewin
de643868e8 Change EnsureSamplePartsExist to call synchronous .AddItem() signature
- Use streams instead of file paths
- Copy directly from StaticData stream to Library
2017-02-13 13:56:59 -08:00
Lars Brubaker
8134b3f450 Fixed the Macros window to cancel on user closes with the X windows button.
Put cancel into max length and temp stream
Made close function take a bool if the system did it
Moved To EventHandler<> in GuiWidget
Made a ClosedEventsArgs
2017-02-03 13:06:08 -08:00
John Lewin
16c2230018 Initial screensaver prototype
- Consolidate title casing mechanism into PrintItemWrapper.GetFriendlyName
2017-01-19 12:31:53 -08:00
John Lewin
8510ca5b3d Remove duplicate .Click event from ButtonBase 2017-01-17 15:31:08 -08:00
John Lewin
ace89e1e5a Use .Localize extension function 2017-01-04 10:52:06 -08:00
John Lewin
711ba4f36c Simplify LibraryProvider abstract class 2016-12-30 09:51:24 -08:00
John Lewin
535a161115 Remove event keyword from private fields 2016-12-29 06:57:42 -08:00
Lars Brubaker
648f066582 Get the under menu not to open hover effect. 2016-12-20 09:46:43 -08:00
Lars Brubaker
ecaf2d3cdf Interactive user prompts should confirm the action requested 2016-12-12 17:42:22 -08:00
Lars Brubaker
d8d3e23522 Put in the action menus and controls. 2016-12-08 15:39:23 -08:00
larsbrubaker
9b202feb37 Putting Selection List into QueueData
Compiling but not worknig
2016-12-04 12:06:51 -08:00
John Lewin
89f44a8856 Prevent invoke on null references 2016-11-09 13:24:00 -08:00
Lars Brubaker
1f979dbd89 Fixed library hover effect on android
Make sure we are using the correct events
2016-11-07 09:33:23 -08:00
John Lewin
ccd59227f0 Add LazyTabs for Touchscreen view
- Remove unset ApplicationControler.WidescreenMode variable
- Add local AddTab function to TouchScreenTabView for LazyTab creation
- Use common AddTab function for tab creation in TouchScreenTabView
- Refactor WidescreenPanel for clarity
  - Use OnBoundsChanged instead of event
  - obj.NumberOfVisiblePanels() becomes obj.VisiblePanelCount
- Fix thumbnail exception experienced by ensuring Directory exists
- Run ActiveSliceSettings.Instance assignment on UI thread if loading
  - Prevents extra ReloadAll right at the completion of form Load
2016-10-06 21:47:16 -07:00
Lars Brubaker
68788892e6 Make edit available all the time
Make an "oops can't search" for library selector.
2016-10-06 14:09:35 -07:00
John Lewin
4344fc9765 Use new ImageBuffer constructor with common defaults 2016-09-23 10:35:33 -07:00
Lars Brubaker
014ea6e75c Got the remaining automation tests running 2016-09-06 16:36:25 -07:00
Lars Brubaker
fbd67c0dd7 Put in code to refresh the library selector
Renamed ResumePrinting to PrintRecovery
2016-09-06 14:42:14 -07:00
Lars Brubaker
5637e25d9e Copy the thumbnail image, for the default queue parts if available
Fixed spelling
Made the ray tracer multi thread when not printing
Changed 'don't ask me again' to 'don't remind me again'
Added a thumbnail for the MatterControl coin
2016-09-02 16:26:56 -07:00
Lars Brubaker
d0ea36c269 default to render thumbnails in perspective 3D
Made only a default constructor for ray tracer
Put back in the code the guarantees we always have an item in the queue, even before we select a printer.
Added thumbnail render mode to the user settings key
2016-09-01 13:50:11 -07:00
Lars Brubaker
619c20aff0 Restore functionality to put default items in queue when new printer is created.
Made default calibration files include the calibration box
2016-09-01 10:53:10 -07:00
Lars Brubaker
8d03b045ac Always at least one item to the queue. 2016-08-31 17:51:08 -07:00
John Lewin
f2c57ae715 Wire up LibraryItemsSelected event to Reloaded items
- Reuse Reload function in constructor initialization
 - Issue MatterHackers/MatterControl#1298
2016-08-19 08:06:21 -07:00
Lars Brubaker
0f2b715935 Making less calls to reload all
New function ReloadLibraryUI
Called when updating purchased and shared folder
2016-08-08 17:17:59 -07:00
larsbrubaker
eef538b7aa Refactoring 2016-08-06 12:17:24 -07:00
larsbrubaker
b409f6293f Fixed some alignment issues. 2016-08-06 12:16:54 -07:00
Lars Brubaker
1340e875d3 Making the add to queue automation tests work again 2016-08-01 13:53:28 -07:00
John Lewin
9f01abe653 Backport onload event from scene_bundle 2016-07-24 17:26:24 -07:00
Lars Brubaker
a8fc6ef1a1 Fixed a null reference in libraryDataView
Working on more consistent wizard theming
2016-06-23 16:01:04 -07:00
Lars Brubaker
c5edde8edb Filter files from LibraryProviderFileSystem that have no extension. 2016-06-09 14:20:03 -07:00
John Lewin
e5a63b052e Migrate Theme support to Agg.UI 2016-06-03 17:22:19 -07:00
Lars Brubaker
c324a9a545 Added the printer name to slice settings ui
Reorganized settings layout a bit for printer/ fatures
Made more invert lightness extension method uses
2016-05-10 13:30:51 -07:00
Lars Brubaker
10e173c6c0 Make sure we don't double scale the library icons. 2016-05-10 11:26:02 -07:00
larsbrubaker
ec4f5c180d Fixed colors for library icons. 2016-05-10 08:38:14 -07:00