Commit Graph

63 Commits

Author SHA1 Message Date
YuSanka
3f36168b61 "Sequential slider applied only to top layer" parameter from the Preferences is applied just for the horizontal slider now 2020-11-03 15:45:23 +01:00
enricoturri1966
0a908a6722 Fixed build when ENABLE_GCODE_VIEWER is disabled 2020-10-27 13:52:54 +01:00
enricoturri1966
3fae9b7d58 Fixed editable lower thumb of sequential slider when changing settings in preference dialog while the preview is hidden 2020-10-26 13:52:51 +01:00
YuSanka
24a182280b DoubleSlider : Fixed motion of the upper thumb, when no one thumb is active 2020-10-21 13:17:07 +02:00
YuSanka
46423a2cad Fix of #4909
Deleted redundant control of the mode update. We should update DoubleSlider's mode every time
2020-10-20 11:17:51 +02:00
enricoturri1966
cff1cbf20f Disabled icon to add color changes, print pauses and custom gcode in vertical slider of standalone gcode viewer 2020-10-17 14:01:45 +02:00
enricoturri1966
a220a34b51 Allow to disable editing of lower thumb in DoubleSlider::Control 2020-10-08 14:40:12 +02:00
enricoturri1966
0fc80e01f3 Fix in upgrade_text_entry_dialog() 2020-10-08 14:12:25 +02:00
enricoturri1966
ceb83c119e Follow-up of 3fdc48452e -> Modified logic to disable horizontal slider in preview 2020-10-08 14:09:39 +02:00
enricoturri1966
a13899aa1c Modified rendering of DoubleSlider::Control when disabled 2020-10-08 12:50:29 +02:00
enricoturri1966
2a107a2336 Skip invisible moves when moving horizontal slider thumb in preview 2020-10-07 13:19:44 +02:00
enricoturri1966
451320fca0 Extended hover capability in DoubleSlider::Control 2020-08-18 12:39:46 +02:00
enricoturri1966
250687b71a Fixed conflicts after merge with master 2020-06-12 10:35:18 +02:00
YuSanka
e2ca78fbc2 Fixed Editing of the Template custom Gcode
Fixed reloading of the legend, when preview type was changed
2020-06-09 17:10:48 +02:00
YuSanka
fe79c4588c Fixed export/import from/to amf and 3mf file. 2020-06-08 12:25:29 +02:00
YuSanka
06dacd1c84 Editing of the custom GCodes like ColorChange and PausePrint 2020-06-07 22:42:54 +02:00
enricoturri1966
b4a1da9506 Follow up of e77fa3512a -> changed logic for DoubleSlider::Control accelerators 2020-05-27 16:14:14 +02:00
enricoturri1966
3bf4d3eb45 DoubleSlider::Control -> Shift and Ctrl used as accelerators for moving thumbs with arrows key and mouse wheel 2020-05-27 16:03:40 +02:00
enricoturri1966
5bbc804744 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-05-27 14:29:54 +02:00
enricoturri1966
64e585d4c6 DoubleSlider::Control -> Fixed crash when pressing numpad [+] and [-] keys while the horizontal slider has focus 2020-05-27 14:29:27 +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
enricoturri1966
3431cfc752 DoubleSlider::Control -> Change text position at the edges of horizontal slider 2020-05-27 11:50:29 +02:00
enricoturri1966
230c32667c DoubleSlider::Control -> Tweaks to text position for horizontal case 2020-05-26 08:34:19 +02:00
Enrico Turri
1002f9c42b DoubleSlider:Control platform dependent background color 2020-05-25 13:53:41 +02:00
enricoturri1966
0ffb88f44e DoubleSlider::Control background color 2020-05-25 11:59:12 +02:00
enricoturri1966
69af5f9480 DoubleSlider::Control thumb text rendered closer to the slider 2020-05-25 11:16:40 +02:00
enricoturri1966
7ff678eefa Fixed selection of thumbs into gcode sequential view slider 2020-05-21 13:07:55 +02:00
enricoturri1966
6bc9e82231 GCodeViewer -> New icons for thumbs of horizontal DoubleSlider::Control 2020-05-19 11:17:47 +02:00
enricoturri1966
c6c3207bee Tech ENABLE_GCODE_VIEWER -> Adapting DoubleSlider::Control for sequential view 2020-05-15 17:57:47 +02:00
enricoturri1966
de9294daab Tech ENABLE_GCODE_VIEWER -> Refactoring and code cleanup 2020-05-15 12:25:38 +02:00
enricoturri1966
7c725d73ee GCodeViewer -> Imgui slider for sequential view replaced by DoubleSlider::Control (wip) 2020-05-15 09:22:51 +02:00
enricoturri1966
614aa63d50 2nd attempt to fix build on OsX 2020-05-07 13:07:56 +02:00
enricoturri1966
1178588daa Attempt to fix build on OsX 2020-05-07 12:03:17 +02:00
enricoturri1966
b73aa8e80a Fixed build when tech ENABLE_GCODE_VIEWER is disabled + fixed perl code 2020-05-07 11:24:36 +02:00
enricoturri1966
0c3adc6805 GCodeAnalyzer and GCodePreviewData removed from tech ENABLE_GCODE_VIEWER 2020-05-07 10:49:12 +02:00
bubnikv
6da3c1646e Slic3r::format(), Slic3r::GUI::format_wxstr():
wrappers around boost::format using C++17 variadic templates,
replacing the ugly and verbose
	(boost::format("template") % arg1 % arg2).str()
syntax.
The wrappers also implictely convert input parameters including the template
from wxString to UTF8.

The new format wrapper has been applied at multiple places as a start,
also some double macros _(L()) with new single macro _L().
2020-04-01 09:49:04 +02:00
YuSanka
7b4830a827 Localization:
- Deleted redundant whitespaces before semicolons.
- All "\t" extracted from the phrases (The PhraseApp used to the translations "doesn't see" it, and as a result all translations missed them)
2020-03-05 07:49:05 +01: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
d58b5617cc Fixing wxString::Format encoding mismatches (part 1) 2020-03-03 10:54:17 +01:00
Lukas Matena
9f51ceefec More polishing of translations 2020-02-27 14:11:20 +01:00
Lukas Matena
982004b71b Fix of #3695
Ternary operator is given wxString and std::string, which does not work when implicit conversions between std::string and wxString are disabled
2020-02-25 15:53:01 +01:00
YuSanka
422e7e818e Implemented time estimation for PausePrint (#3544)
DoubleSlider: fixed get_color_for_color_change_tick()
2020-02-20 17:33:43 +01:00
YuSanka
cfc0192cb2 Added a shortcut to the tooltip for a "Send to printer" button (related to #3667)
+ Localization: fixed some phrases
2020-02-19 10:59:05 +01:00
YuSanka
1594343d92 Localization: changed some phrases. Updated POT 2020-02-18 13:46:12 +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
0b86338edf DoubleSlider: Changed behavior of thumbs. New rule: Only active thumb is moving to the new place. 2020-02-14 16:44:49 +01:00
YuSanka
a615a540c3 DoubleSlider:colored_band: Fixed get a correct color for extruder, when it's changed from Settings Tab 2020-02-14 09:52:27 +01:00
YuSanka
2291a52444 DoubleSlider: Suppressed manipulation for sequential print.
+ some code refactoring

 + experiment with alignment of several options inside the Line
2020-02-14 09:52:27 +01:00
YuSanka
1d62a83615 Updated POT
+ Fixed texts in DoubleSlider.cpp
2020-02-12 14:19:48 +01:00
YuSanka
d569c90e0a DoubleSlider: Fixed Extruder sequence bug 2020-02-07 16:57:33 +01:00