Commit Graph

112 Commits

Author SHA1 Message Date
Lukas Matena
edcaab8b0a Includes cleanup:
GUI_App.hpp      (should not include) MainFrame.hpp
MainFrame.hpp    Plater.hpp
ModelArrange.hpp Model.hpp
Slicing.hpp      PrintConfig.hpp
FillBase.hpp     PrintConfig.hpp
GUI_App.hpp      PrintConfig.hpp
OptionsGroup.hpp GUI_App.hpp
2020-05-27 14:01:47 +02:00
YuSanka
09d197cdc8 Reworked sys_color_changed() functions
Fixed OSX specific bugs:
- toolbar flashing for some mainframe sizes (Retina specific)
- size of mainframe when settings layout in slNew mode

Added missed icons to the "white" folder
2020-05-22 15:26:35 +02:00
YuSanka
9170ab7d6e Search: Use wxDataViewCtrl instead of wxListBox.
Added icons as a markers of settings type
For slDlg settings layout mode added process of "Ctrl+F" shortcut
2020-05-15 15:47:15 +02:00
YuSanka
421756e153 Added missed include 2020-05-12 09:46:23 +02:00
YuSanka
41cecd67d9 Search: 1. The position of the search window is in the middle of the scene.
2. When "Search in English" is checked, then search in English names too.
3. Added score value at the end of option name -> [score_value]
4. Set focus to the Plater, when switch from some tab with focused field to the Plater and search window is shown.
5. For the mode, when settings are in non-modal dialog, neither dialog nor tabpanel doesn't receive wxEVT_KEY_UP event, when some field is selected.
   So, like a workaround we check wxEVT_KEY_UP event for the Filed and switch between tabs if Ctrl+(1-4) was pressed

+ PreferencesDialog: fixed a control of the difference in layout modes
2020-05-12 08:32:54 +02:00
YuSanka
1e6fdf6d80 Merge remote-tracking branch 'origin/master' into ys_search 2020-04-29 14:56:31 +02:00
bubnikv
41d69e546b Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-04-28 19:31:18 +02:00
bubnikv
789fcc93ca Fixed handling of fill_pattern field if not all patterns are allowed
for the internal infill.
2020-04-28 18:00:42 +02:00
YuSanka
d52e4c21d5 Merge remote-tracking branch 'origin/master' into ys_search 2020-04-16 11:46:29 +02:00
YuSanka
8ebfb6ea86 Completed a search list cleaning (deleted unused options).
+ Implemented BlinkingBitmap
+ Options, that doesn't have related controls, are highlighted near the widgets.
2020-04-16 09:59:12 +02:00
bubnikv
9db59a3cd7 WIP: Ironing over top surfaces. 2020-04-14 11:53:28 +02:00
YuSanka
a6f4c2893f Code cleaning 2020-04-07 16:22:03 +02:00
YuSanka
89509a9f63 Implemented blinking icon to highlight a searched field 2020-04-07 12:09:58 +02:00
YuSanka
1c137da6d7 Added control of "Invalid numeric input" for the PointCtrl 2020-04-05 23:18:22 +02:00
YuSanka
d6a661354c The print bed is limited to 1.2m x 1.2m. (related to #2877) 2020-04-01 19:01:38 +02:00
Lukas Matena
ac501bdf8b Merge branch 'master' into dev 2020-03-24 21:51:05 +01:00
YuSanka
d2d74ddc9e Fix of #3797: OSX specific bug:
Added missed invalidation for a bKilledFocus flag.
Without this invalidation TextCtrl updates their value only each odd try.
2020-03-11 14:07:00 +01:00
Lukas Matena
f26de2e1ac Fixed several warnings
The biggest difference is changing PresetCollection::m_idx_selected from int to size_t, which fixed many warnings at once.
2020-03-03 15:47:02 +01:00
Lukas Matena
a29177d355 Fixing wxString::Format encoding mismatches (part 2) 2020-03-03 10:54:17 +01:00
YuSanka
e89e477a12 Fixed non-correct TextCtrl's update on wxEVT_KILL_FOCUS (partially related to #3482),
when for Parameter validation dialog "Selecting NO caused no change".

OSX:TextCtrl:wxEVT_KILL_FOCUS: Second call is suppressed

+ Under OSX set a little bit more wider width for Fields
2020-02-18 11:11:39 +01:00
YuSanka
80ee20e239 Alignments of options in settings tabs
+ msw_rescale() is overridden for PrinterTab to rescale of all the option Pages and not just a respect to current print technology
+ A Setting of the option.width in PrintConfig is no need anymore
2020-02-12 12:51:34 +01:00
YuSanka
01854e4f13 OSX issue: Fix Background drawing for some of controls in Dark mode 2019-11-12 13:54:36 +01:00
YuSanka
c54b22b675 Fix for #3108 2019-10-29 13:07:57 +01:00
Lukas Matena
5b5f0b925a Fixed many warnings in following files:
src/slic3r/Config/Snapshot.cpp
src/slic3r/GUI/Field.cpp
src/slic3r/GUI/GLToolbar.cpp
src/slic3r/GUI/GUI_ObjectList.cpp
src/slic3r/GUI/GUI_ObjectList.hpp
src/slic3r/GUI/Plater.cpp
src/slic3r/GUI/Plater.hpp
src/slic3r/GUI/PresetBundle.cpp
src/slic3r/GUI/Tab.cpp
src/slic3r/GUI/wxExtensions.cpp
2019-09-10 12:08:43 +02:00
Lukas Matena
32f79f143b Fixed several warnings (Config.hpp and few other files) 2019-09-06 15:55:07 +02:00
YuSanka
0a9c1702b4 Fixed couple of warnings in Field.cpp, GUI_App.cpp and OptionsGroup.cpp 2019-09-03 10:59:04 +02:00
YuSanka
2ca84416bd Fix for #2845
+ Fixed get_config_value for coFloatOrPercent (percent mode allow non-just-int values)
2019-09-02 14:02:26 +02:00
bubnikv
867b7bbe88 Merge remote-tracking branch 'remotes/origin/ys_update_settings' 2019-08-23 16:08:24 +02:00
YuSanka
3ce564a87d Fixed assert on Linux 2019-08-23 15:32:47 +02:00
YuSanka
378440667d Merge remote-tracking branch 'origin/master' into ys_update_settings 2019-08-22 10:27:45 +02:00
YuSanka
a09d72cb3d Implemented update for overridden options on sidebar 2019-08-22 10:25:19 +02:00
YuSanka
fc56003295 Implemented button "Reset to Filament Color" 2019-08-20 09:52:00 +02:00
bubnikv
9034b77194 Merge remote-tracking branch 'remotes/origin/lm_wxmemleaks' 2019-08-20 09:39:43 +02:00
YuSanka
8fcf81d9ee Fixed SPE-1000.
Since the value inserted from the keyboard or clipboard is not updated under OSX,
we forcibly set the input value for SpinControl every time during editing.
Thus we can't set min control value bigger then 0.
Otherwise, it couldn't be possible to input from keyboard value less then min_val.
2019-08-19 12:58:59 +02:00
Lukas Matena
5ed5e04da1 Fixed some memory leaks related to heap-allocated wxDialogs
Some correctly destroyed dialogs were also converted to stack-allocated
2019-08-15 12:52:56 +02:00
YuSanka
1281e03e1d Fix of scaling on Manipulation panel 2019-08-12 15:21:06 +02:00
bubnikv
cb825716c1 Fixed linking of the "pad" combo box of the Plater with the respective
pad boolean values of the configuration layer.
2019-08-08 09:48:56 +02:00
YuSanka
c5d2e1e0c1 Merge remote-tracking branch 'origin/ys_overrides' 2019-07-31 13:05:47 +02:00
YuSanka
a4134338f7 Try to fix selection of overridden option when TextCtrl is focused
Note: the problem was observed only under OSX
2019-07-30 14:16:07 +02:00
YuSanka
2d8868b90d Fix of #2326 (Annoying warning dialog when set extrusions > 1mm) 2019-07-29 18:03:06 +02:00
YuSanka
4f484187f4 Implemented some upgrades for filament overrides 2019-07-29 14:00:22 +02:00
YuSanka
b89866051f Implemented update of the override filaments options from/to config 2019-07-28 22:00:39 +02:00
YuSanka
3b177f6429 Some changes for options tooltips 2019-07-01 16:56:38 +02:00
bubnikv
d7dba4928d Fixed the localized PrusaSlicer change log link.
Fixed a typo in the code.
2019-05-20 15:32:43 +02:00
bubnikv
b6c57a6e41 When testing for the spin control input bounds, test for the MIN_INT
as well
2019-05-20 15:00:35 +02:00
Vojtech Kral
604cfdb8e9 Fix wxSpinCtrl in settings on Mac OS, cf. #2237 2019-05-20 14:39:42 +02:00
bubnikv
428e7ed593 Fix of the previous commit 2019-05-20 12:22:08 +02:00
bubnikv
00ce742899 Hopefully a fix of support_material_contact_distance: numeric input not valid (#2278)
Fixed an issue where one was comparing non-localized label with a localized one.
2019-05-20 12:21:05 +02:00
YuSanka
54e5dada15 Fix of #2237 2019-05-15 12:30:32 +02:00
YuSanka
8c00824dc0 Fixed a manually editing of a "Filament Settings -> Advanced -> Filament type" (#2232) 2019-05-15 10:42:15 +02:00