Commit graph

105 commits

Author SHA1 Message Date
John Lewin
d54e317382 Revise long running task title assignment and draw position
- Issue MatterHackers/MCCentral#2737
long running task overlaps title and content
2018-02-20 18:27:52 -08:00
John Lewin
127fedd0d5 Simplify SaveAs, move into menu definition,
- Extract persistence to Scene.ToPersistedLibraryItem()
2018-02-12 19:26:37 -08:00
John Lewin
19972a900f Move SaveChanges from GuiWidget(View3DWidget) to SceneContext 2018-02-12 19:26:36 -08:00
John Lewin
30cf0c0f60 Add support for slicing persisted but in memory IObject3D items
- Issue MatterHackers/MCCentral#2785
Exception in AddObjectsForExtruder
2018-02-09 18:11:55 -08:00
John Lewin
f01c3df7c8 Use sceneContext instead of printer
- Issue MatterHackers/MCCentral#2808
Unguarded/invalid reference to printer causes null reference error
2018-02-09 13:55:29 -08:00
John Lewin
8f55a938c5 Evaluate move of view buttons to Printer bar
- Issue MatterHackers/MCCentral#2784
Model/GCode tab buttons should be moved to printer bar
2018-02-07 18:46:31 -08:00
John Lewin
f3c0a9436d Disable selection on children to ensure Click event on widget
- MatterHackers/MCCentral#2779
New Cut/Copy/Paste/Save menu items intermittently function
2018-02-06 15:42:19 -08:00
John Lewin
bf800dac36 Add cut/copy/paste/save support to scene views
- Issue MatterHackers/MCCentral#2775
Make CTRL-C function as expected in View3DWidget
- Issue MatterHackers/MCCentral#2776
Make CTRL-S function as expected in View3DWidget
2018-02-06 13:31:52 -08:00
John Lewin
78546c6f80 Make View3DWidget Scene private 2018-02-05 17:41:04 -08:00
John Lewin
43cc7bc4d8 Remove redundant code in SwitchStateToEditing
- Set PartSelect as default mode in ViewControls3D
- Move Scene.SelectFirstChild to View3DWidget initialize
- Drop everything else
2018-02-02 17:43:54 -08:00
Lars Brubaker
2346ed359e Cleaning and improving editing properties. 2018-01-26 17:53:54 -08:00
John Lewin
1da9d0dfb5 Consolidate file extension definitions
- Issue MatterHackers/MCCentral#2527
Too many authorities on valid files types
2018-01-23 18:20:49 -08:00
John Lewin
51a2406c0f Implement overflow menus 2018-01-21 21:07:14 -08:00
John Lewin
7413ee930b Use correct type for button with popup menu 2018-01-21 20:37:35 -08:00
Lars Brubaker
e3be3d0961 Removed InteractiveScene Focused Event 2018-01-18 12:57:39 -08:00
LarsBrubaker
de5d70c717 Hook up an Event so that buttons can push focus back to the widget holding the InteractionLayer 2018-01-18 12:57:38 -08:00
John Lewin
8347ddbe08 Fix spelling 2018-01-17 08:32:40 -08:00
John Lewin
9edbd8c492 Process enabled rules in part mode, use sceneContext rather than printer
- Issue MatterHackers/MCCentral#2660
All toolbar operations enabled without selection in Part mode
2018-01-17 08:16:23 -08:00
John Lewin
7b5302c7e0 Revise separators 2018-01-16 21:48:20 -08:00
John Lewin
fd439fe675 Switch to transparent button backgrounds
- Add TextIconButton for image/text combos
- Add SimpleFlowButton for hover behaviors on Flowlayout types
- Duplicate hover behaviors in PopupMenuButton
- Base SimpleButton on GuiWidget rather than classic button type
- Issue MatterHackers/MCCentral#2671
Evaluate transparent normal fill for toolbar buttons
2018-01-16 19:01:09 -08:00
John Lewin
3cc73d0933 Left align menu
- Issue MatterHackers/MCCentral#2644
Bed/part menu should not be align right
2018-01-13 11:14:57 -08:00
John Lewin
2b2c63048b Disable View GCode buttons in the non-printer case
- Issue MatterHackers/MCCentral#2643
2018-01-13 11:14:57 -08:00
John Lewin
0869d580be Fix bed menu spacing, background color, add support for non-gradient bg 2018-01-12 23:19:44 -08:00
John Lewin
027bee90cd Fix incorrect IsPrinterMode state during startup 2018-01-11 22:26:05 -08:00
John Lewin
4168f1dfe6 Move bed menu, extract creation to helper function 2018-01-11 22:25:36 -08:00
John Lewin
1f8d5614e0 Remove unused button factories 2018-01-11 18:04:54 -08:00
John Lewin
4138b1628d Guard for null in non-printer case 2018-01-10 12:32:01 -08:00
John Lewin
4a3e567e9e Guard for null in non-printer case 2018-01-10 12:27:22 -08:00
John Lewin
db74fe7274 Apply IsEnabled rules to UI elements
- Issue MatterHackers/MCCentral#2623
Scene operations should be enabled based on defined rules
2018-01-10 11:58:42 -08:00
John Lewin
8a03755224 Try right aligned Bed menu 2018-01-10 11:48:02 -08:00
John Lewin
bf21712b18 Fix toolbar sizing 2018-01-10 11:42:03 -08:00
John Lewin
716760e360 Move operations back into toolbar
- Issue MatterHackers/MCCentral#2620
Move operations to toolbar
2018-01-10 11:39:39 -08:00
John Lewin
5e1ccdc3a8 Clear or show editor for selection, move buttons into editor
- Issue MatterHackers/MCCentral#2615
Invalid editor after selection change
2018-01-09 18:43:58 -08:00
John Lewin
8ce57500dc Fix icon color, spacing 2018-01-09 17:50:12 -08:00
John Lewin
56f5b64026 Move Insert into Bed menu 2018-01-09 15:50:43 -08:00
John Lewin
f60259e9d3 Consolidate header and footer bars into SelectedObjectPanel 2018-01-08 23:34:40 -08:00
John Lewin
c9de640085 Use OverflowBar type on ViewControls3D and PrinterActionsBar 2017-12-26 09:11:33 -08:00
John Lewin
d89ae77034 Defer loading GCode until switching to views that need it
- Issue MatterHackers/MCCentral#2491
Lazy load GCode as needed, ideally only after the user switches to GCode
based views
2017-12-24 10:44:25 -08:00
Lars Brubaker
71979e35e9 Unify to single GetNonCollidingName
Improve it to check for and replace numbers
add new calling method
Make sure Object3D Close does not end up modifying object in processes
Don't try to render meshes with no faces
2017-12-06 16:31:04 -08:00
John Lewin
96ef163ef3 Localize anytime Title getter is invoked 2017-12-04 15:07:55 -08:00
John Lewin
a28e92bd27 Restore to prior bed plates
- Maintain all ViewMode across ReloadAll
- Move more GCode renderer data to model
2017-11-29 15:22:18 -08:00
John Lewin
e67e915d4c Always enable GCode2D view 2017-11-29 14:41:55 -08:00
John Lewin
5b1fec7144 Expose controls for conditional Enable 2017-11-29 13:45:01 -08:00
LarsBrubaker
168e95f798 Make sure we can switch to part select in touchscreen mode
This will eventually be removed when the tumble control is done
2017-11-29 07:45:03 -08:00
John Lewin
db1228b7f7 Guard for null 2017-11-27 18:09:29 -08:00
John Lewin
da5600fbb7 Move ViewMode/ViewModeChanged to model, listen and respond in UI
- Issue MatterHackers/MCCentral#2290
After slicing the view is switched to 3D GCode but the button...
2017-11-27 17:36:36 -08:00
John Lewin
a3cbe6acbe Compute opaque theme colors, save before slice, revise icon styling
- Change slicing hash generation method/name
- Add ComputeFileSha1 to ApplicationController
- Issue MatterHackers/MCCentral#2307
Same color supplied for both tab and border
- Issue MatterHackers/MCCentral#2304
Have to Save file to make slicing go after change to scene
2017-11-21 11:11:07 -08:00
John Lewin
d90cd35134 Scene actions should be bound to their context, not to ActivePrinter
- Issue MatterHackers/MCCentral#2211
Scene operations (subtract, intersect) do not work in Part view
2017-11-15 18:04:51 -08:00
John Lewin
ca6c8ccdee Smaller home/reset view icon 2017-11-13 16:08:06 -08:00
John Lewin
c0eb7b67b5 Use common menu styling for ViewControls3D overflow menu
- Add new RadioIconButton based on SimpleButton
- Fix layout issues caused by FixBoundsAndChildrenPositions removal
- Issue MatterHackers/MCCentral#2220
ViewControls3D should use theme colors
- Issue MatterHackers/MCCentral#2217
Popup menu uses inconsistent styling
2017-11-09 15:49:18 -08:00