Commit Graph

425 Commits

Author SHA1 Message Date
YuSanka
460dd2e099 Added "G-code thumbnails" parameter to the Printer Settings tab 2020-12-07 16:42:20 +01:00
YuSanka
ea28d2a4ae Fixed wrong selection, when try to change printer preset from logical to physical and then in UnsavedChangesDialog select "Cancel" 2020-12-04 21:23:12 +01:00
YuSanka
c16221dc8c Localization: Fixed some phrases. Updated POT and NL dictionary. 2020-12-04 13:08:48 +01:00
Vojtech Bubnik
0373c646f1 Ramp up layer cooling fan over X layers #848
Fan speed will be ramped up linearly from zero at layer disable_fan_first_layers
to maximum at layer full_fan_speed_layer. full_fan_speed_layer will be
ignored if lower than disable_fan_first_layers, in which case
the fan will be running at maximum allowed speed at layer
disable_fan_first_layers + 1.;

WIP: The cooling PresetHints are likely not finalized yet.
2020-12-04 11:53:02 +01:00
YuSanka
4461d65b4e Localization: Update POT
+ Fixed translation for the "Extruder n" category on the Printer Settings Tab
 + Fixed a crash, when scrolling inside Search imGui with some localization (e.t. Russion)
2020-12-01 16:44:53 +01:00
Lukas Matena
a73255cf40 Added a missing include (gcc 8.4) 2020-11-28 20:51:57 +01:00
Vojtech Bubnik
0b283aaf7f Escaping of ampersands in label texts (otherwise the ampersand is
processed as a hotkey prefix and not displayed at all).
Solves visualization of the new profile names containing ampersands
(Original Prusa Mini & Mini+)
Also the text was not correcly converted from UTF8.
2020-11-28 11:13:46 +01:00
Vojtech Bubnik
db97a97116 Fix of [2.3.0-alpha4] Crash - several models cause crash when slicing #5208
Fixed some issues in internal anchors of the Adaptive Cubic infill.
The ugly and dangerous implicit casting operators in Line, MultiPoint,
Polyline and Polygon were made explicit.
2020-11-24 16:01:08 +01:00
YuSanka
7df0dc0655 Added "Filament -> Spool weight" parameter 2020-11-20 14:31:11 +01:00
Vojtech Bubnik
d9f4d7cc47 Merge branch 'master' of https://github.com/Prusa3D/PrusaSlicer 2020-11-20 13:40:40 +01:00
YuSanka
62a1e7681c Updated UI for the "infill_anchor" parameter 2020-11-18 17:00:08 +01:00
YuSanka
9044d2f22c Changed layout of the "Machine limits" settings tab 2020-11-18 12:08:09 +01:00
Vojtech Bubnik
b4d8d1dd84 Merge remote-tracking branch 'remotes/origin/master' into lh_adaptive_infill_hooks 2020-11-16 10:54:19 +01:00
Vojtech Bubnik
dc25f3900f Reworked connection of infill lines to perimeter lines.
Added a new "infill_anchor" parameter.
2020-11-16 10:54:00 +01:00
YuSanka
3c80c09ade Localization : Next phrases corrections and update for PrusaSlicer.pot 2020-11-06 12:14:19 +01:00
YuSanka
c204e90ecc Localization:
Some phrases are corrected in the code
The POT-file is updated
2020-11-05 22:17:49 +01:00
YuSanka
649d2aad72 Fixed a Dialog position under OSX
Always set parent for the Dialog, if we want to see the Dialog in the same display as a parent.
Dialog will be shown in the primary monitor otherwise.

+ fixed a draw of the canvas legend when we move application between Retina and non-Retina displays
2020-11-05 11:53:16 -08:00
YuSanka
3b824f06d4 Big code cleaning
Deleted all unused code
2020-11-02 06:48:30 -08:00
YuSanka
924ce0b52c Custom control : Bug fixing
* OG_CustomCtrl is inherited from the wxPanel instead of the wxControl now.
  As a result, Tab-key is working now for the fields inside the custom control
* Open localized web-page if any exist for labels

+ Fixed update of icons inside the PresetComboBoxes after switching between Dark/Light modes
2020-11-02 06:48:30 -08:00
YuSanka
380b23eaee Custom control: Fixed bitmaps layout under OSX
+ Implemented hyperlinks for parameters labels to the help page
2020-11-02 06:48:30 -08:00
YuSanka
b191c27acc Fixed update of the field related to the "extruders_count" parameter after printer preset change 2020-11-02 06:48:30 -08:00
YuSanka
7fbf560ac6 Custom control : Implemented blinking icon 2020-11-02 06:48:30 -08:00
YuSanka
78efa187e3 Custom control : Action buttons are "alive" now
- show tooltips for buttons
- LBtnClick invokes revert functions for the field
2020-11-02 06:48:30 -08:00
YuSanka
819c780401 Custom control : fixed re-scaling for MSW 2020-11-02 06:48:30 -08:00
YuSanka
4c4fc77bda Custom control : Fixed color of the colored label, associated with option, which doesn't have a corresponded field 2020-11-02 06:48:30 -08:00
YuSanka
bdaf5fa4b9 Behavior of the "cog" icon is changed to avoid misunderstandings appear in issue #4891:
"Cog" icon is enabled now every time, but it will had next behavior:
1. Add physical printer, if logical printer is selected
2. Edit physical printer, if it is selected.

 + PresetComboBox: Fixed the black rectangle instead of icon for the "Add/Remove presets" item
2020-10-20 16:38:13 +02:00
YuSanka
5e09de9abf Localization: Updated POT and List.txt
+ SavePresetDialog class is extracted from the PresetComboBoxes.cpp the the separate files
2020-10-19 14:18:02 +02:00
YuSanka
2c5a652e36 Add info for the removed "Print host upload" group 2020-10-16 16:30:46 +02:00
YuSanka
3bae4fcad2 UnsavedChangesDialog : improvements
* Added "Remember my choice" checkbox
* Center on the screen and set position in respect to the position of mainframe or settings dialog

Preferences : Added checkboxes for enable/suppress showing of the UnsavedChangeDialog

SearchImGui : close after parameter selection_is_changed_according_to_physical_printers

PhysicalPrinterDialog, SavePresetDialog : Center on the screen
2020-10-15 16:53:14 +02:00
lukasmatena
c12f0db22c Merge pull request #4747 from wavexx/monospaced_gcode
Use monospaced fonts in gcode sections
2020-10-10 14:01:48 +02:00
YuSanka
7ba50136f1 UnsavedChangesDialog : added correct icons for the categories
+ fixed a crash when try to save changes for the SLA printer preset
2020-10-08 09:25:14 +02:00
Lukas Matena
c9eab706a8 Fixed updating of pages on startup, reverted changes from b17c829
The second commit should be no longer needed, the CallAfter cause crashes on Linux when switching technologies
2020-10-07 16:16:37 +02:00
YuSanka
41583b2039 Fixed redundant call of Tab::select_active_page(),
when printer technologist is changed

 + Some code cleaning:The code commented as experimental and unused is deleted
2020-10-07 11:52:51 +02:00
YuSanka
d05fc0117f Fixed an Linux crash after switching between printer technologies 2020-10-07 09:56:48 +02:00
YuSanka
ef5a2822db Fixed non_MSW build
+ fixed some warnings
2020-10-06 11:15:50 +02:00
Vojtech Bubnik
cb72928d48 Typo in machine limits usage text. 2020-10-06 11:08:08 +02:00
YuSanka
6b0131e0b4 UnsavedChangesDialog improvements:
* Changed some labels on buttons. The Dialog name shows a purpose now
 * SaveDialog is called, when UnsavedChangesDialog is shown.
 * Added prototype for the "exit" icon

+ Fixed layout for the "Machine limits" page
2020-10-03 03:15:54 +02:00
bubnikv
54506d4f89 Limiting the application of Machine Limits
https://github.com/prusa3d/PrusaSlicer/issues/1212

WIP: The hints do not rescale when switching the "usage" combo box.
The new g-code time estimator needs to be updated to not read
the machine limits if not enabled.
2020-10-02 17:32:03 +02:00
YuSanka
db754ce870 Deleted use of TaskTimer in OnInit
+ code cleaning in MainFrame
2020-10-02 12:11:27 +02:00
YuSanka
265b556507 Fixed a crash when preset with "modified"suffix is selected 2020-10-02 09:02:16 +02:00
Vojtech Bubnik
fddbd20570 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-10-01 20:12:50 +02:00
bubnikv
c53e14d6d4 Fixing a missing include on Windows. 2020-10-01 20:15:40 +02:00
Vojtech Bubnik
75bc8f6d2c Merge branch 'vb_optgroup_refact' 2020-10-01 20:05:31 +02:00
bubnikv
b1ce406f33 Win32 specific: Workaround for tooltips over Tree Controls displayed
over excessively long tree control items, stealing the window focus.

In case the Tab was reparented from the MainFrame to the floating dialog,
the tooltip created by the Tree Control before reparenting is not reparented,
but it still points to the MainFrame. If the tooltip pops up, the MainFrame
is incorrectly focussed, stealing focus from the floating dialog.

The workaround is to delete the tooltip control.
Vojtech tried to reparent the tooltip control, but it did not work,
and if the Tab was later reparented back to MainFrame, the tooltip was displayed
at an incorrect position, therefore it is safer to just discard the tooltip control
altogether.
2020-10-01 19:58:23 +02:00
Vojtech Bubnik
c2db7ff6fb Fixed crash on Linux on startup 2020-10-01 19:16:23 +02:00
bubnikv
cfe305a97a Refresh the page tree immediately after key press. 2020-09-29 14:47:03 +02:00
bubnikv
21a75575f3 Cancellation of parameter page build process. 2020-09-29 13:36:56 +02:00
bubnikv
2439458ce0 Faster switching of parameter pages if the page is switched
by cursor keys in the tree control:
The page update is delayed to idle.
2020-09-29 11:04:25 +02:00
YuSanka
73d31a601a Page class is used as a container of option groups
and doesn't inherited from wxScrolledWindow now
2020-09-24 18:54:54 +02:00
YuSanka
247e9825a4 Fixed highlighting of the searched option
+ Create controls only on the shown and active tab
+ Line class : deleted unused sizer
+ In GUI_Utils added TaskTimer class for the print a time of some task duration
+ BedShapeDialog:: activated options_groups
+ commented some unused code
2020-09-24 15:41:48 +02:00