Commit Graph

53 Commits

Author SHA1 Message Date
4e17e61be4 Check unsaved changes (#6991)
* Check Unsaved changes (partially related to #5903)
 + Allow create new project when Plater is empty, but some of presets are modified (related to #5903)
 + When creating new project allow Keep or Discard modification from previous project
 + Added check of changes:
    * before any load project (including DnD and "Load From Recent Projects")
    * before preset updater
    * when configuration is changing from the ConfigWizard
 + Dialog caption is added for each check

 + Create/Destroy ConfigWizard every time when it's called

* Check Unsaved changes: Next Improvements
 + For dialog "Save project changes" added a reason of saving and name of the current project (or "Untitled")
 + UnsavedChangesDialog: Headers are extended to better explain the reason
 + Preferences: Fixed tooltiops for "Always ask for unsaved changes when..."
 + Suppress "Remember my choice" checkbox for actions which are not frequently used

* Fixed behavior of the application when try to save changed project but "Cancel" button is selected in "Save file as..." dialog

* Check unsaved changes: Improvements for Config Wizard - Check all cases when presets should be updated
 + Fixed info line for Materials pages. Text of the info relates to the printer technology now

* Improved suggested name for a project when Application is closing

* Fixed Linux/OSX build warnings
2021-09-22 12:44:13 +02:00
7cf37b0c70 Improved error handling when installing configuration updates:
In case the configuration snapshot cannot be taken before installing
configuration updates (because the current configuration state
is invalid), ask user whether to continue or abort.
2021-08-13 13:51:29 +02:00
20084c23bf ConfigWizard: Draw logo inside OnPaint instead of use of wxStaticBitmap 2021-07-23 16:03:17 +02:00
46bb494ec1 ConfigWizard:: Use wxTextCtrl instead of wxDoubleSpinCtrl for nozzle and filament diameters 2021-05-07 12:22:54 +02:00
b0d3415fb7 desktop integration functions and dialog 2021-05-07 09:01:57 +02:00
c2866d435b Tech ENABLE_CUSTOMIZABLE_FILES_ASSOCIATION_ON_WIN set as default 2021-02-26 10:18:16 +01:00
de2da15e4b Fix of #5152 assert ""HasFlag(0x0020)"" failed in GetSelection(): must be single selection listbox
This assert was invoked by list_printer->GetSelection() because of list_printer was created with wxLB_MULTIPLE flag.
2021-02-25 04:03:26 -08:00
15fb39948d config wizard - hide logo if small height 2021-02-24 09:21:40 +01:00
2a84f5efdd Customizable association of .3mf, .stl and .gcode files on Windows 2020-11-26 10:09:34 +01:00
a72d8f7aef ENABLE_GCODE_VIEWER set as default in:
3DScene hpp/cpp

AboutDialog.cpp

BackgroundSlicingProcess hpp/cpp

BitmapCache.cpp

ConfigWizard_private.hpp

GUI_App hpp/cpp

GUI_Init.cpp
2020-11-18 10:44:03 +01:00
4425e24b2e configuration wizard: added Checked information to sorting algortihm on filaments page. Fix of #4922 2020-10-20 10:35:48 +02:00
9c48a5de5d Tech ENABLE_GCODE_APP_CONFIG as default 2020-10-12 12:38:34 +02:00
ac0b160612 AppConfig modified to generate a separate config file for the standalone gcodeviewer 2020-10-05 15:42:35 +02:00
85f342f94e filament selection: bug fix - * sign is again visible at profiles 2020-10-05 09:48:55 +02:00
39d44ecc6c Filament selection in configuration wizard:
compatible printers in html window, bug fixes.
2020-10-01 09:28:17 +02:00
e3165eadc0 Added two missing icons to fix build on Linux 2020-09-01 23:26:08 +02:00
c2f8fc6c7d filaments selecting: sorting via printer, showing printers for filament 2020-09-01 18:00:12 +02:00
ceaeb26da8 Code refactoring: AppConfig.cpp(hpp) are removed from the GUI to libslic3r 2020-08-08 17:03:20 +02:00
a1eeb569db Preset and PresetBundle are moved to the _libslic3r_ folder 2020-06-16 17:03:06 +02:00
e5fc1f8648 Imperial units selection is added to the ConfigWizard 2020-06-10 11:18:11 +02:00
ffab25560c Removed obsolete LambdaObjectDialog.cpp/hpp, more include cleanups:
BedShapeDialog.hpp (needs not include) OptionsGroup.hpp
Tab.hpp            GUI_App.hpp
2020-05-27 14:01:48 +02:00
9494d82d88 Reworked filaments / SLA materials in installation wizard:
1) When the wizard is initialized, filament and SLA profile names
   are verified and current names of renamed profiles are resolved.
   Fixes "Add/Remove Filaments is not hiding all of the un-checked filaments #3835"
2) When adding a printer model, default materials are installed in case
   the printer model has no default material installed.
3) When leaving the Filaments or SLA materials page, and some printer models
   have no material installed, those Printer Models are listed
   in a message box and only for those printer models the default
   materials are installed.
2020-03-14 18:35:42 +01:00
72006a01d8 Improved error reporting and error handling when loading
vendor config bundles into installation wizard.
2020-03-07 16:31:14 +01:00
f1ed701ff1 config wizard: enable finish button if only custom printer is selected 2020-02-17 15:57:16 +01:00
f30f139ef0 ENABLE_CONFIGURABLE_PATHS_EXPORT_TO_3MF_AND_AMF set as default 2020-02-13 11:25:34 +01:00
19e9d3ce03 Added default filament(resin) in wizard for selected printers
Added default_materials field to "Vendor".ini
2020-01-15 09:34:21 +01:00
0fe7a3efa8 Configurable paths export (fullpath or not) to 3mf and amf 2020-01-08 11:11:38 +01:00
8977bb858b Fixed filaments/materials preset list updating from ConfigWizard
if list of printers was changed but filaments/sal_materials page wasn't activated
2020-01-02 12:18:30 +01:00
af8b70447f Fixed Wizard material configuration check 2019-12-10 13:47:10 +01:00
245024a46a Fixed filament/material sorting in the lists of ConfigWizard 2019-12-05 14:22:06 +01:00
61cfdb27f5 ConfigWizard improvements - added check for printers and filaments/matelials selection 2019-12-03 18:31:07 +01:00
41162aafaf Implemented aliase for sla_materials 2019-11-22 10:42:30 +01:00
6387284356 Implemented aliases for filaments 2019-11-21 13:12:06 +01:00
b7a3795772 ConfigWizard: Fix a memory access issue between PageMaterial instances 2019-10-07 11:10:18 +02:00
e346bdae2b Materials: Cleanup 2019-09-17 17:16:15 +02:00
92ce446f8e ConfigWizard: Add view mode setting page 2019-09-17 15:52:26 +02:00
a56f92b61d WIP: filament/material filtering per selected printers 2019-09-17 13:20:06 +02:00
3af3f73997 Add material_type config option for SLA materials, use in Wizard 2019-09-17 13:20:06 +02:00
340263933a WIP: ConfigWizard: 3rd party bundle installation roughly done 2019-09-17 13:20:06 +02:00
4ff970ac6e Move ConfigWizard instance in GUI_App, lazy-initialized,
add filament/material installation item in Sidebar combo boxes
2019-09-17 13:20:06 +02:00
9b71862885 Load default filament/material selections from vendor profiles 2019-09-17 13:20:06 +02:00
1f5048731c Filaments and materials selection/installation 2019-09-17 13:20:06 +02:00
47fbf78abd ConfigWizard: Finish DPI resizing (MSW) 2019-04-29 12:22:44 +02:00
2b39a4df96 Added msw_buttons_rescale() - Function for a scaling Dialog's buttons under MSW 2019-04-25 15:09:12 +02:00
0da12d08fd Big Refactoring: - deleted/renamed all _Prusa_ prefixes,
- cleaned code from commented parts
 - rescale() -> msw_rescale()
2019-04-25 01:45:00 +02:00
56c063546f Merge remote-tracking branch 'origin/ys_msw_dpi' 2019-04-24 23:09:50 +02:00
48e18e3725 ConfigWizard: Attempt to fix width hint 2019-04-24 16:03:32 +02:00
aae9bc0367 Overrided on_dpi_changed() for some Dialogs:
BedShapeDialog, KBShortcutsDialog, ConfigWizard, Preferences
2019-04-18 02:03:40 +02:00
429c0d34f8 ConfigWizard: Cap width, clarify select buttons 2019-02-12 11:01:15 +01:00
7cea78f26e ConfigWizard: Cap width on large screens 2019-02-12 10:11:00 +01:00