Commit graph

882 commits

Author SHA1 Message Date
John Lewin
e8dca6d34e Extract and consolidate reset button generators to ThemeConfig 2017-06-11 16:45:30 -07:00
John Lewin
9a46a5cd22 Prevent SliceSettings changes from spinning up MatterControl
- Use event to signal MaterialChanged
- Register MaterialChanged listeners on MatterControl startup
2017-06-10 11:24:21 -07:00
John Lewin
2f6afbb6ae Revise PrinterNameChangePersists test, fix blocking test issue
- Test helper should auto open SliceSettings overflow menu
- Fix product bug with null settingsLevel
2017-06-09 20:12:25 -07:00
John Lewin
1c50d98ff1 Move SliceSettings mode into overflow menu 2017-06-08 18:41:59 -07:00
John Lewin
4f2b95dd31 Move ownership of SliceSettingsMode, ShowHelp to SliceSettingWidget 2017-06-08 18:41:59 -07:00
John Lewin
be5f881935 Migrate string constants to UserSettingKey 2017-06-08 18:41:59 -07:00
John Lewin
7304348497 Use intializer syntax 2017-06-08 18:41:59 -07:00
Lars Brubaker
fcd2eaa97e Made a new mapping for pause gcode.. 2017-06-08 16:56:19 -07:00
Lars Brubaker
6c22a896d9 Taking out center on bed for design tools. 2017-06-08 14:43:01 -07:00
Lars Brubaker
a689781772 Merging in 1.7.1 improvements 2017-06-07 16:09:42 -07:00
John Lewin
b0de2d1e57 Convert "Options..." menu into OverflowDropdown 2017-06-07 09:15:02 -07:00
John Lewin
411d894cb1 Don't serialize DocumentPath, fixes null ref, only meant for runtime use 2017-06-04 16:17:30 -07:00
John Lewin
4958defdeb Revise DeleteProfileWorksForGuest test
- Prevent null reference on SyncPrinterProfiles()
2017-06-03 19:39:54 -07:00
John Lewin
fa800c4a3b Get first ActivePrintItem test passing again
- CompletingPrintTurnsoffHeat now passing
- Create new 'Add to Plate' action for library selections
- Create zip files after print->slice->ActivePrintItem success
- Copy generated gcode into zip
- Copy SliceSettings into zip
  - Make DocumentPath on PrinterSettings public
- Copy printer plate to zip file
- Add ClearPlate helper function to ApplicationController
- Invoke ClearPlate on startup to initialize ActivePrintItem
- Make SliceSettings user mode resets SliceSettings not AdvControls
- Make Library Overflow menu and items automatable
2017-06-02 17:06:27 -07:00
John Lewin
2d737b679c Switch menus from TupleList<string, Func<bool>> to List<NamedAction>
- Menu actions always returned true and result was ignored
- Remove custom TupleList type, prefer lists with custom types
2017-05-31 12:51:15 -07:00
John Lewin
7c4ff5569b Fix more menu issues
- Restore ViewControls3D Overflow menu selection
- Revise DropList styling
- Revert to prior mechanism for DynamicPopupContent
- Create redirector in PrinterTabPage for dynamic overflow menu
2017-05-26 00:23:20 -07:00
Lars Brubaker
77c3b78eb1 Merge branch 'design_tools' of https://github.com/MatterHackers/MatterControl into design_tools
# Conflicts:
#	PartPreviewWindow/PartPreviewContent.cs
2017-05-24 15:07:06 -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
Lars Brubaker
ac157577bd Merge branch 'design_tools' of https://github.com/MatterHackers/MatterControl into design_tools
# Conflicts:
#	Submodules/agg-sharp
2017-05-24 08:15:00 -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
Lars Brubaker
f9784738e9 Adding obj loading support 2017-05-22 17:52:08 -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
bc9d9ca9c0 Merge remote-tracking branch 'origin/1.7' into design_tools
# Conflicts:
#	StaticData/SliceSettings/Properties.json
2017-04-14 12:51:17 -07:00
Lars Brubaker
e1374ece9d Putting in support for filament runout sensor
writing support for sms message on filament run out and pause
2017-04-13 14:25:46 -07:00
Lars Brubaker
c0a7331579 Merge branch '1.7' into design_tools
# Conflicts:
#	SlicerConfiguration/Settings/SettingsHelpers.cs
#	StaticData/SliceSettings/Properties.json
#	StaticData/Translations/Master.txt
2017-04-12 12:29:31 -07:00
Lars Brubaker
4c9d976c56 Put in auto-calibration measuring if G30 is available 2017-04-11 17:49:23 -07:00
John Lewin
907609b587 Design tools 2017-03-15 16:29:56 -07:00
Lars Brubaker
0b6c4e94f1 Merge branch '1.7'
# Conflicts:
#	StaticData/SliceSettings/Properties.json
2017-03-14 14:18:57 -07:00
John Lewin
62840ba71a Only render settings overrides if the currentValues differs from base 2017-03-02 13:45:03 -08:00
John Lewin
5d58a37e5c Ensure that dependant properties are updated on .ClearValue 2017-03-02 10:32:16 -08:00
Lars Brubaker
4d96a26cd0 Moved all the easy static localized strings to non-static strings 2017-03-01 13:48:49 -08:00
John Lewin
3d562081a5 Add note about missing tabs 2017-03-01 10:51:26 -08:00
John Lewin
b8fc35de92 Display make/model in settings 2017-02-28 15:56:10 -08:00
Lars Brubaker
9994f9b3b9 Make sure we calculate the outside perimeter width correctly. 2017-02-27 10:23:11 -08:00
John Lewin
c5000990f6 Guard for null reference 2017-02-24 09:02:50 -08:00
Lars Brubaker
1e3283fc60 refactoring 2017-02-23 13:33:47 -08:00
Lars Brubaker
f3d43d0665 disable rather than hide slice engines when not usable. 2017-02-23 13:33:47 -08:00
Lars Brubaker
73517b7bd9 Make sure we have active instance set to Empty. 2017-02-22 11:32:12 -08:00
Lars Brubaker
4382053593 Don't do unnecessary cast. 2017-02-22 11:21:33 -08:00
Lars Brubaker
bbb8d440d0 Make sure we send settings changed event
when selecting quality and material settings
Wrote a regression test for this
2017-02-22 11:15:51 -08:00
John Lewin
be8c7c639f Remove invalid profile migration 2017-02-16 11:48:04 -08:00
John Lewin
139dbf48aa Remove lookup with invalid SettingsKey, make depricated param optional
- Depricated param defaults to empty string producing the same effect
  as passing value acquired with invalid key
2017-02-16 11:48:04 -08:00
John Lewin
ee631255e1 Add manual_movement_speeds to properties.json
- Add to SettingsKeys and migrate usage
- Convert non event EventHandler with StringEventArgs to Action<string>
- Remove SetManualMovementSpeeds function
2017-02-16 11:48:04 -08:00
John Lewin
3211eae456 Remove redundant default values from properties.json
- Ensure valid SliceSettingData defaults
- Ensure ExtraSettings keeps "" default if missing
- Use auto properties in SliceSettingsOrganizer
- Remove single use private defaultEngineType variable
2017-02-16 08:33:46 -08:00
John Lewin
0c485fd639 Fix typo 2017-02-15 15:45:52 -08:00
Lars Brubaker
6034208e24 Turn off using ms in memory. 2017-02-15 15:32:56 -08:00
Lars Brubaker
74eb21e82e Get the right thumbnail to show for screen saver
colorize image
move show help into options menu
2017-02-15 14:11:37 -08:00
John Lewin
3cfd40b6a0 Guard against null reference 2017-02-14 17:21:57 -08:00