126 Commits

Author SHA1 Message Date
YuSanka
033af199a3 Implemented palettes for mode markers 2022-12-20 15:50:13 +01:00
YuSanka
d20131de49 PreferencesDialog: Fix for rescale.
+ Fixed CheckBox::msw_rescale
2022-11-23 12:20:04 +01:00
YuSanka
9bb74d92c7 Fix for #8380 - Disable/Remove "Sliced Object "*" looks like a logo or a sign
Preferences: Added option "Allow automatically color change"
2022-08-30 14:32:16 +02:00
enricoturri1966
0388132acd Tech ENABLE_SHOW_NON_MANIFOLD_EDGES set as default 2022-07-28 08:55:53 +02:00
YuSanka
d81009c6ce Follow-up 56466abe99# - Fixed a Search in the Preferences options
+ Preferences dialog: Deleted unused variable 'reverted'
2022-06-27 11:10:33 +02:00
YuSanka
84ec233734 Follow-up d0b4a4a87d - Preferences Dialog:Set flag m_settings_layout_changed to false,
when CANCEL button was pushed.
2022-06-16 12:59:33 +02:00
enricoturri1966
fcd3966a5b Fixed crash when opening the preference dialog in GCodeViewer 2022-05-25 11:01:48 +02:00
enricoturri1966
ed482316ee Revert of 39cefdad89f34741b4c6b17a4e42823a57a76c9c 2022-05-25 09:36:52 +02:00
enricoturri1966
39cefdad89 Tech ENABLE_REMOVE_ASSOCIATION_TO_FILE_FOR_WINDOWS_8_AND_LATER - Disable association to 3mf and stl files if the application is run on Windows 8 or later 2022-05-17 13:19:33 +02:00
YuSanka
9d2b6d5bda Follow-up to d0b4a4a87d - Fix for build warnings 2022-05-06 09:14:39 +02:00
YuSanka
8d1a2a8fb3 Implemented FR: Update toolbars "on fly", when custom toolbar size is editing from Preferences dialog
(https://dev.prusa3d.com/browse/SPE-1232)
+ Fixed update of the color pickers
2022-05-05 11:38:48 +02:00
YuSanka
d0b4a4a87d Preferences Dialog: Revert values, when "Cancel" button is clicked ([SPE-1230|https://dev.prusa3d.com/browse/SPE-1230])
+ Fixed bug: If change "dark mode" checkbox and "Settings layout mode", than dark mode wouldn't processed.
+ Code refactoring for create_settings_mode_widget()
2022-05-05 09:35:40 +02:00
YuSanka
3d0feaf3e6 Fix for #7856 - Grey square rendered over "notebook tabs" in preferences dialog
For BlinkingBitmap was used wrong parent. That is why first layout wasn't correct.
2022-02-03 11:18:56 +01:00
enricoturri1966
18e2cc2298 Tech ENABLE_SHOW_NON_MANIFOLD_EDGES - 1st installment - Calculate and show in 3D view non-manifold edges as lines 2022-01-20 13:32:24 +01:00
enricoturri1966
6b02e72987 Fixed warning 2022-01-14 11:31:16 +01:00
enricoturri1966
ece2c34e58 Another warning fix 2022-01-14 11:03:08 +01:00
enricoturri1966
d7f028a981 Fixed warning 2022-01-14 11:00:43 +01:00
YuSanka
657fb125ff After merge fixes 2022-01-12 15:14:45 +01:00
YuSanka
ced6d26917 Merge remote-tracking branch 'origin/master' into dev 2022-01-12 15:05:31 +01:00
YuSanka
010fbded1a Added "Restore window position on start" option to the "Preferences > General"
+ added crash detection for the cases, when PrusaSlicer is started from secondary display

Possible fix for part of:
 #2939 - PrusaSlic3r freezing at startup (Win 10)
and
 #5573 - PrusaSlicer won't launch on secondary monitor. Nahimic?
2022-01-11 13:53:25 +01:00
YuSanka
2b66a81ee1 Preferences: Changed tooltip for the "Suppress to open hyperlink in browser"
+ Show "PrusaSlicer: Don't ask me again" dialog when "Remember my choice" is checked in "PrusaSlicer: Open hyperlink" dialog
+ Ignore suppress of hyperlink for menu items
+ Code refactoring for OptionsGroup::launch_browser() => use common wxGetApp().open_browser_with_warning_dialog().
2022-01-06 13:55:40 +01:00
YuSanka
19f919eca1 Implementation of the Preferences option "Ask for unsaved changes in project" 2022-01-06 10:39:12 +01:00
YuSanka
34d9fbdc35 Fixes for localization of the PrusaSlicer - 2.4.0
* Added some missed phrases.
* Added some missed files to the list.txt
* Fix for https://github.com/prusa3d/PrusaSlicer/issues/7114 - Reword of the "Ask for unsaved changes..."

* Fix for https://github.com/prusa3d/PrusaSlicer/issues/7542 - Added localization for default buttons Yes/No
  Note: For some default buttons/labels/dialogs/... is used localization in wxWidgets.
        But dictionaries have to contain this strings, otherwise texts wouldn't be localized.
        "wxWidgets/local" contains dictionaries for all this default phrases.
        So, a copy of this field is added as a "wx_local" field to the "resources/localization" field.
        And a "gettext_concat_wx_po_with_po" script is written to concatenate strings from wx_local/lang_code.po to resources/localization/lang_code/PrusaSlicer_lang_code.po.
        So, to create a MO file from updated PO we have to execute "gettext_concat_wx_po_with_po" and only then execute a "gettext_po_to_mo" script.
2022-01-04 16:31:27 +01:00
YuSanka
c767781827 Code refactoring for Highlighter class 2021-12-22 14:38:50 +01:00
YuSanka
f2aeca3a71 Options from the "Preferences" dialog added to the Search
Some code refactoring:
* use GUI_App::open_preferences() on all places where it's needed
* Preferences Dialog is an attribute of a ManeFrame class and created just ones during the MainFrame creation now.
* Created class Highlighter. Use it in Preferences and Tab
2021-12-22 14:38:23 +01:00
YuSanka
080e80a4d6 Localization: Next improvements: CS, IT, ES, DE, ES, FR 2021-12-10 17:28:36 +01:00
YuSanka
a952fbc31a Allow a "Dark mode" in Preferences for G-code viewer 2021-12-06 11:44:29 +01:00
Vojtech Bubnik
d4d558ebee Fix of GCodeViewer crashes when opening app preferences #7430 2021-12-06 08:23:19 +01:00
YuSanka
b78b91b72e Localization: Updated CZ, DE, ES, FR, IT and PL dictionaries.
+ Fixed some of phrases and updated POT-file
2021-12-01 13:07:25 +01:00
YuSanka
f5cf3cb81d MSW specific: Hide "Use system menu for application" option in Preferences for system older then Windows 10
(related to the fix of #7355 - PrusaSlicer 2.4.0-beta-2+win64 will not start on Windows 7 64-bit )

+ Updated URL_HASH SHA256 in wxWidgets.cmake in respect to the 51c824019e98fc97b0bcdd4d9f4ed4cb523a7cac in wxWidgets-v3.1.4-patched
2021-11-29 21:00:43 +01:00
YuSanka
609bd4046c Preferences: Beautification
Text settings: Wrap a label_text to the max 80 characters
MSW specific: Update alignment of the "Dark mode" tab
2021-11-23 16:39:53 +01:00
YuSanka
0c110af1df Localization: Next text improvements
+ new POT
 + new CZ translation
2021-11-23 14:56:41 +01:00
YuSanka
a6863961f7 Localization + new POT
+ added hyperlinks for Ironing parameters
2021-11-15 08:32:40 +01:00
YuSanka
8bfa132a1b Localization fixes + new POT 2021-11-12 09:21:41 +01:00
David Kocik
43986c2896 Changes in notifying about new releases.
- Unified preferences settings. version_check option is replaced with notify_release that has 3 states.
- fixed logic when show notification based on version string.
- notification shows released version
- dialog notifying new version is never showing if external updater is running.
Escape quotes inside path to external updater
2021-11-10 15:27:46 +01:00
YuSanka
aff9e1f7ea MSW_DarkMode: Next Improvements
* Refreshed title bar for all Dialogs and MainFrame
* Refreshed header of the DataViewCtrl and ListView
* Refresh tooltips
* Redraw SpinCtrls
* Use system menu with is colored in respect to the color mode
* Preferences: Added parameter "Use system menu for application" and moved to the "Dark mode" tab with "Enable Dark mode parameter"
2021-11-05 10:01:13 +01:00
David Kocik
d3c38fc603 Fix of crashing Preferences in Gcode Viewer 2021-10-18 15:47:38 +02:00
David Kocik
ffc29a2536 Preferences Highlighter 2021-10-14 14:29:53 +02:00
David Kocik
1308b255fe missing include and template type 2021-10-13 17:04:40 +02:00
David Kocik
ac6259e387 Preferences: notify_relese option with Choice type Field.
OptionsGroup:: Added possibility of the right alignment of the controls
+ Added separator line to Preferences
2021-10-13 15:39:06 +02:00
David Kocik
c4f78fcdc9 Check version string for alpha and beta release versions.
Preferences setting to show / not show alpha beta releases.
2021-10-11 10:01:48 +02:00
YuSanka
a2b99db0df MSW specific:Added dark mode for G-CodeViewer 2021-10-07 11:53:19 +02:00
Vojtech Bubnik
aeb18e729d New preferences key "clear_undo_redo_stack_on_new_project", set to "1"
by default: Clear Undo / Redo stack on new project or load project.
Fixes Clear undo chain #2812
2021-09-30 12:17:52 +02:00
Oleksandra Yushchenko
8f064dd155
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
Lukas Matena
e8418b509e Fixed switching of settings access radio buttons in Preferences,
the middle button only worked when _MSW_DARK_MODE.
Broken since fd07142.
2021-09-16 12:40:20 +02:00
YuSanka
a3f995ac45 Add "Revert" buttons for text colors Settings 2021-08-18 15:03:06 +02:00
David Kocik
4df2c969a5 Hint notification
changes in hints.ini
Hint notification: Just one button in Help menu.
Hint notification: New naming - Tip of the day
Notifications: no scrolling.
Hint notification: fadeout colors.
2021-08-11 17:15:23 +02:00
enricoturri1966
438439fd71 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2021-07-29 13:28:16 +02:00
enricoturri1966
86da45eb66 Horizontal slider in preview to show always (and only) gcode lines indices 2021-07-29 13:28:07 +02:00
David Kocik
0d74502aeb Hint notification
Reads data from hints.ini. Has hyperlinks to highlight settings, toolbars and gizmos.
2021-07-29 13:20:50 +02:00