Joseph Lenox
|
fd455d75dc
Finish refactor to put PresetChooser in its own class; wiring up through Plater.
|
6 years ago |
Joseph Lenox
|
eb198e9408
add text and button back to sizer.
|
6 years ago |
Joseph Lenox
|
7a0d4ac990
ramifications of Settings being a pointer instead of a reference.
|
6 years ago |
Joseph Lenox
|
36336840ba
prepend this-> to own variables.
|
6 years ago |
Joseph Lenox
|
7a048c3f70
Convert Print& to weak_ptr; Settings& to Settings*.
|
6 years ago |
Joseph Lenox
|
eb69998832
Fix adding presets to master preset list.
|
6 years ago |
Joseph Lenox
|
52827f0d9b
Finish refactor, made settings_default a const reference.
|
6 years ago |
Joseph Lenox
|
3812f13cb5
Refactor preset setting update to its own method and call during load()
|
6 years ago |
Joseph Lenox
|
88b4c54fc4
Ensure that the settings store gets updated.
|
6 years ago |
Joseph Lenox
|
eda5ef3639
implement behavior when changing the preset.
|
6 years ago |
Joseph Lenox
|
df20d5a8de
Add private methods to get the selected preset name(s).
|
6 years ago |
Joseph Lenox
|
378330d747
Start to set up the internal sizer as a wxFlexGridSizer
|
6 years ago |
Joseph Lenox
|
c5e9ee9a46
Fix indent of comment
|
6 years ago |
Joseph Lenox
|
b46828f42d
Use \ instead of @ for doxygen comment
|
6 years ago |
Joseph Lenox
|
35008baa80
select_preset_by_name returns whether or not it has an effect.
|
6 years ago |
Joseph Lenox
|
3ab1ce27e5
Add tests to cover preset chooser behavior.
|
6 years ago |
Joseph Lenox
|
870d8742a8
Removed ConfigOptionVectors::append, manipulate values directly.
|
6 years ago |
Joseph Lenox
|
aa61f8daf1
add settings store to application
|
6 years ago |
Joseph Lenox
|
97d6451dfe
Add reference to Preset.hpp to Settings.
|
6 years ago |
Joseph Lenox
|
b83e4116b4
Continued refactor of load and properly assign selected_printer_name.
|
6 years ago |
Joseph Lenox
|
c369c8916a
refactor test to ensure that the test actually performs select by name on load.
|
6 years ago |
Joseph Lenox
|
230754cbbd
Refactor test to associate presets on cut creation.
|
6 years ago |
Joseph Lenox
|
7837e41f5a
Use alias for preset_store
|
6 years ago |
Joseph Lenox
|
3c0e40ac5d
add alias for preset_store (shorten typing)
|
6 years ago |
Joseph Lenox
|
e8f98e424f
refactor: allow tests to attach a preset store to a PresetChooser (instead of pulling from SLIC3RAPP)
|
6 years ago |
Joseph Lenox
|
4d23ea916e
Call _on_select_preset from _on_change_combobox
|
6 years ago |
Joseph Lenox
|
fd1a204538
stub out _on_select_preset and prompt_unsaved_changes()
|
6 years ago |
Joseph Lenox
|
ef22974593
Added comment for settings reference.
|
6 years ago |
Joseph Lenox
|
0a1d8f89af
Add reference to Slic3r::Print to PresetChooser.
|
6 years ago |
Joseph Lenox
|
cfcf569a5e
Implementing tests for PresetChooser, covering basic construction of the object and load().
|
6 years ago |
Joseph Lenox
|
18fd2b7dc2
Add default preset store (by string name) to Settings class. No save/load functionality.
|
6 years ago |
Joseph Lenox
|
54d40bbc04
Implemented Preset::compatible and improved doxygen comment.
|
6 years ago |
Joseph Lenox
|
8059bff31e
Fix regression where what should have been the default constructor was used instead for the file load constructor.
|
6 years ago |
Joseph Lenox
|
569bb43a1a
Use options that are actually in the config, not ones you think might be in there.
|
6 years ago |
Joseph Lenox
|
c2eec75244
Corrected expectations for preset loading test to match the file.
|
6 years ago |
Joseph Lenox
|
dc3b420c09
Moved the basic preset store back to an array of vectors.
|
6 years ago |
Joseph Lenox
|
49a1628dfb
Add convenience constexpr functions for working with preset_t as an index.
|
6 years ago |
Joseph Lenox
|
f9736b9e35
Splitting out the preset chooser to its own class from Plater for ease of testing purposes.
|
6 years ago |
Joseph Lenox
|
98db954daa
Compile Preset and PresetCooser (and its tests.
|
6 years ago |
Joseph Lenox
|
9d641ff853
test default construction requirements for Presets.
|
6 years ago |
Joseph Lenox
|
f18d590160
Defaults preset makes a new config from defaults.
|
6 years ago |
Joseph Lenox
|
76be75431b
Preset::config() returns a weak reference to the shared configuration.
|
6 years ago |
Joseph Lenox
|
ef37a748ff
Added grep method for containers (returns a new copy of the container that returns true for the lambda function).
|
6 years ago |
Joseph Lenox
|
23793a6765
Finish implementing GUI::load_presets()
|
6 years ago |
Joseph Lenox
|
0f76496b2e
added test for preset; added constructor for default preset.
|
6 years ago |
Joseph Lenox
|
d645f669bf
AuiNotebook -> Notebook (mirroring change in main Slic3r)
|
6 years ago |
Joseph Lenox
|
b869947f9a
catch polymorph exception by reference instead of by value.
|
6 years ago |
Joseph Lenox
|
cb8697f261
move wx includes into precomp guard.
|
6 years ago |
Joseph Lenox
|
104089a3e3
Use std::array for the preset ini files.
|
6 years ago |
Joseph Lenox
|
af791ccd97
Refactor to use wxFileName instead of boost::filesystem
|
6 years ago |