Commit Graph

265 Commits

Author SHA1 Message Date
YuSanka
e6832d227c PhysicalPrinter : Next improvements:
* Create full printer name as a PrinterName + RelatedPresetName
 * Added printer model to the PhysicalPrinter.config => Enable to select just between presets with same printer model
 * When physical printer is selected and create new preset ask if should we use this preset for selected ph_printer or just to switch for it
2020-06-26 10:00:03 +02:00
YuSanka
875c543205 Code refactoring:
- PresetCombpBoxes are extracted to the separate file.
- All preset icons are moved to the PresetComboBox from Preset and PresetBundle
- First "steps" to add physical printers to the printers list on the sidebar.
2020-06-16 12:57:49 +02:00
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
d52e4c21d5 Merge remote-tracking branch 'origin/master' into ys_search 2020-04-16 11:46:29 +02:00
YuSanka
80779cd719 Localization: Fix of #4035
+ Added context for "Advanced" ("Mode")
+ Updated POT
2020-04-16 11:36:41 +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
Lukas Matena
18fd7fa45f Fixing build against wxWidgets 3.0
The wxString saga continues. wxWidgets 3.0 don't have the wxString::FromUTF8(const std::string&) overload, we must use the GUI::from_u8 helper
Also wxWidgets 3.0 don't allow to disable wxString->const char* conversion, so calling show_info(wxWindow*, wxString, const char*) was ambiguous
Several includes moved around
2020-03-04 10:34:59 +01:00
Lukas Matena
4949150313 Fixing wxString::Format encoding mismatches (part 3) 2020-03-03 10:54:17 +01:00
Benjamin Greiner
9c6ca5aed2 fix #3402
Amended by lukasmatena: changed mb_str() to ToUTF8()
2020-02-21 12:53:51 +01:00
YuSanka
289afb4e71 Extruder selection for multiple selected objects/parts.
A Menu with colored icons is used now instead of wxGetSingleChoice.
All menus for extruder selection use colored icon
2020-02-17 11:26:40 +01:00
YuSanka
975122c1f6 Manually merged Korean translation by @ulsanether
+ updated MO for Korean translation
+ set small size for mode icons
2020-02-10 20:13:48 +01:00
YuSanka
cb6a43cd98 Changed size of hexagons.
+ ModeButton: Added another constructor
2020-02-10 12:52:32 +01:00
YuSanka
8cddbd1a5c Updated mode icons 2020-02-07 18:50:41 +01:00
Enrico Turri
feed9b9fd0 Added item menu 'Edit/Show labels' and removed labels activation from preferences dialog 2020-02-04 14:42:26 +01:00
YuSanka
530c586277 ObjectDataViewModel is extracted from wxExtentions to the separated file
+ parse_color function is moved to BitmapCache from PresetBundle
2020-02-02 22:22:40 +01:00
YuSanka
737715c317 Fixed build under OSX 2020-02-02 19:40:00 +01:00
YuSanka
82bb5be1f6 To fix blurred icons under OSX there is implemented PresetBitmapComboBox, derived from wxBitmapComboBox,
which now will be used for preset choosers on sidebar a preset tabs.

+ for BitmapCache class added m_scale used for correct scaling of SVG images on Retina displays

+ some code clearing from unused functions or function's parameters
2020-01-31 16:57:45 +01:00
YuSanka
4bb45f01cc Implemented DnD for objects inside ObjectList 2020-01-30 15:01:47 +01:00
YuSanka
85b1b56eac More fix of svg icons scaling under OSX (to avoid icon's blurring)
+ some code cleaning from unused text
2020-01-28 16:17:51 +01:00
YuSanka
28c573709b Fixed an icon scaling in the ObjectList under OSX 2020-01-27 16:30:09 +01:00
YuSanka
46739c0c47 Implemented editing for extruder of existing ToolChangeCode tick
+ Code refactoring: DoubleSlider is extracted from wxExtensions
2020-01-23 16:11:21 +01:00
YuSanka
eef74403bf Synchronized mode of color_print data to/from 3mf/amf
+ Code refactoring " CustomGCode extracted to separate namespace and file
2020-01-23 16:11:21 +01:00
YuSanka
b605b951aa DoubleSlider: Implemented code switch between ToolChangeCode and ColorChangeCode for MultiAsSingle mode 2020-01-22 15:01:59 +01:00
YuSanka
984be65a3f Implemented check of color change event respecting to mode
+ unresolved ticks are marked with error_tick icon
 + some code refactoring
2020-01-21 11:35:04 +01:00
YuSanka
e452247a97 Code refactoring to mode comparison 2020-01-17 12:24:58 +01:00
YuSanka
bf0a2bb867 Refactoring of DoubleSlider::add_code() 2020-01-16 10:20:36 +01:00
YuSanka
40bc447419 DoubleSlider: Implemented code for check of used extruders for MustiAsSingle mode 2020-01-15 15:35:56 +01:00
YuSanka
2548d963a9 Merge remote-tracking branch 'origin/master' into ys_cp_improvements 2020-01-15 11:40:54 +01:00
YuSanka
e67b1e9ca3 Code refactoring for context menus and current extruder color selection for tick 2020-01-13 17:03:10 +01:00
YuSanka
fbe9a6aa9a Context menus improvements. Disabling unused extruders for color_change 2020-01-10 16:49:07 +01:00
YuSanka
ea397386b3 Updated tooltips and context menus for 3 manipulation mode of DoubleSlider
+ Some code refactoring
2020-01-09 16:38:59 +01:00
YuSanka
07d73dac01 DoubleSlider modes(states) are extended and implemented mode detection from model
+ Some code refactoring
2020-01-08 16:29:37 +01:00
YuSanka
d88371dfd5 Code cleaning and refactoring for 6a8c34dad9 2020-01-07 16:17:20 +01:00
YuSanka
dca8dd2d88 Checking of icons for dark mode is removed to BitmapCache 2020-01-02 13:41:49 +01:00
Lukas Matena
be04c6eff3 Hopefully a fix for #3342 - dark mode icons lookup 2019-12-21 14:43:22 +01:00
bubnikv
559807a979 Fixed a file handle leak. 2019-12-20 17:29:30 +01:00
David Kocik
51ee282b83 Merge branch 'master' into dk_remote_devices 2019-12-19 08:58:11 +01:00
YuSanka
6bb0d1f72a Implemented function to get an icon name considering to OS color mode
For a Dark mode we start to looking of icons in folder "white"

Added missed "white" icons
2019-12-18 15:54:01 +01:00
David Kocik
cf0f885d82 Merge branch 'master' into dk_remote_devices 2019-12-17 14:41:56 +01:00
YuSanka
ee69087873 Code refactoring for Color change implementation 2019-12-17 08:37:50 +01:00
YuSanka
7b32525ab0 Fixed "actions" buttons size under OSX 2019-12-13 17:56:04 +01:00
YuSanka
e01ab7dc60 Implemented rescaling for "Remove device" button 2019-12-13 15:13:55 +01:00
YuSanka
1ebf8fcdaa Fixed localization for JA and some strings 2019-12-10 13:47:10 +01:00
YuSanka
adeb918f71 Implemented new suggestion from content team:
Just HigherThumb is moved to selected position after mouse click on color band
2019-12-02 15:04:15 +01:00
YuSanka
242f45fa4c Fixed "Pause print" and "Custom Gcode" cancel.
It was possible to add empty code, when "Cancel" button was selected
2019-12-02 09:59:20 +01:00
YuSanka
a5439a0eeb Added new icon for "change extruder" menu.
+ some improvements for colored band
2019-11-29 11:02:58 +01:00
YuSanka
11c6d685ad Fixed icon positioning and color_band scaling for DoubleSlider under OSX 2019-11-28 16:23:58 +01:00
YuSanka
b9527dd2fa Updated icons for DoubleSlider 2019-11-28 15:40:18 +01:00
YuSanka
1972de53df Code cleaning - removed unused state from DoubleSlider 2019-11-28 08:38:28 +01:00
YuSanka
1906188e29 Implemented a message on Printer display for pause print
+ Added new icons
2019-11-27 14:44:33 +01:00