Commit Graph
100 Commits
Author SHA1 Message Date
YuSanka 2a9190c27d Merge remote-tracking branch 'origin/master' into ys_search 2020-04-03 10:48:54 +02:00
YuSanka 5ca6b9f8d0 Implemented SearchCtrl class instead of SearchComboBox
Search string are synchronized between Plater and Tabs.

List with options and filtered list are in Sidebar.
All options list on tabs and Plater use this data from Sidebar

Note: SearchComboBox.cpp(hpp) was renamed to Search.cpp(hpp)
2020-04-03 10:27:50 +02:00
YuSanka 5f31d9ed41 Merge remote-tracking branch 'origin/master' into ys_search 2020-04-01 20:23:34 +02:00
YuSanka 815989d488 The print bed is limited to 1.2m x 1.2m. (related to #2877) 2020-04-01 19:01:38 +02:00
YuSanka 67c55c7490 Added code for deactivating of search toolbar item
+ invalidated its unused callbacks.

 + ImGui::Selectable function is copied to InGuiWrapper.cpp and a little beat modified to change a label text, when item is hovered
2020-04-01 15:28:07 +02:00
YuSanka 042880ba2d Search: Implemented highlighting of a letters from the search string 2020-04-01 09:07:33 +02:00
YuSanka abad9133eb Added new icon for "collapse sidebar"
+ The tooltip for a "Collapse" button is updated according to the collapse state
2020-03-30 11:53:58 +02:00
YuSanka ab02d344e4 Activated "collapsed sidebar" button 2020-03-29 20:52:14 +02:00
YuSanka d317f0753a Merge remote-tracking branch 'origin/master' into ys_search 2020-03-29 20:21:00 +02:00
YuSanka 7236abe473 Merge remote-tracking branch 'origin/ys_collapse_sidebar' into ys_search 2020-03-28 22:07:56 +01:00
YuSanka 14703fe561 Implemented Search on Plater, usint imGui 2020-03-28 19:39:24 +01:00
YuSanka 4ab83af9e4 Merge remote-tracking branch 'origin/master' into ys_search 2020-03-25 15:30:09 +01:00
YuSanka 45d064d4cb Merge remote-tracking branch 'origin/master' into ys_search 2020-03-25 11:20:34 +01:00
YuSanka de06c5d659 Merge remote-tracking branch 'origin/ys_fix_cb_selection' 2020-03-25 11:12:37 +01:00
YuSanka 1010fff8af Added fts_fuzzy_match.h borrowed from https://github.com/forrestthewoods/lib_fts
Search impoved using lib_fts
Function for filtering by score is prepared.
2020-03-25 10:24:43 +01:00
YuSanka 5215b2ecb2 Fix of #3889 2020-03-23 22:47:35 +01:00
YuSanka ebfaf7abb0 Removed SearchCombobox from the Sidebar.
Tab->SearchCombobox works with all parameters now.
Overridden GetWindow() for PointCtrl.
2020-03-23 10:28:28 +01:00
YuSanka 8898dd5618 Added missed icon 2020-03-20 16:10:00 +01:00
YuSanka a46a225cf1 Merge remote-tracking branch 'origin/master' into ys_search 2020-03-20 14:56:05 +01:00
YuSanka ec381c5854 Update of Settings in ObjectList from Tab::update() is suppressed, if Undo/Redo is not completed 2020-03-20 13:45:37 +01:00
YuSanka e188893c28 Start to implement "Search through options" 2020-03-20 10:30:55 +01:00
YuSanka 7806df7664 Updated translations for PL, IT, FR, ES, DE, CZ and JA 2020-03-18 12:45:42 +01:00
YuSanka 8233a910b9 Fix of #3303
+ Fixed wrong update of selection in object and scene, when change selection in ObjectList after editing of values in Height range modifiers.
Repro:
 1. Add 2 objects
 2. Add Height range modifiers for one of them
 3. Select range
 4. Edit some of values
 5. Select other object.

Expected behavior:
 1. Edited value is saved
 2. New object is selected in object list and on the 3D scene_selection

Real behavior:
 1. New object is selected in object list and on the 3D scene_selection
 But:
 2. Every next selection in object list has no update on the scene or "temporary" panel
 3. Selection from the scene updates selection in ObjectList
 But:
 4. Next editing of layer range and press "Enter" causes a crash
2020-03-16 21:32:48 +01:00
YuSanka 6b31a087f7 Updated POT 2020-03-16 13:56:09 +01:00
YuSanka ea0cb4d761 Sidebar can be hidden/shown from menu "View/Collapse sidebar" 2020-03-16 12:51:55 +01:00
YuSanka 79be13438e Fixed context menu issues, related to #3802 fixed with commit (https://github.com/prusa3d/PrusaSlicer/commit/4ca03c3f8a7d0013c65197c5b93b81c95c9d72f6)
The code which caused an impossibility to edit objects in list under OSX using mouse right click, is deleted
2020-03-13 23:22:09 +01:00
YuSanka 0f5f0b6333 Toggled "Skirt height" option in respect to "Use unlimit skirt" option 2020-03-13 16:31:27 +01:00
YuSanka 380fffd248 Merge remote-tracking branch 'origin/master' into ys_improvements 2020-03-13 16:05:46 +01:00
YuSanka 56c6193ff4 Merge remote-tracking branch 'origin/ys_add_new_options' into ys_improvements 2020-03-13 11:49:51 +01:00
YuSanka 6a6790b8e7 Implemented disabling of Add buttons if next layer range couldn't be added
+ Fixed "Layer ranges" expand.
2020-03-12 15:11:31 +01:00
YuSanka 481719ed15 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
YuSanka 7fd9c736b3 Implemented "Use unlimited skirt" option 2020-03-11 11:43:08 +01:00
YuSanka 3d3e36ba8d Added "Filament spool weight" option to filament options 2020-03-09 17:01:05 +01:00
YuSanka fb10e27778 Added missed lock_open_sys.svg icon for dark mode 2020-03-07 11:40:20 +01:00
YuSanka 2363f2a4a3 Fixed update of UI values, related on parent preset, when preset is detached from system 2020-03-06 19:15:37 +01:00
YuSanka 877e824de1 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-03-06 17:39:36 +01:00
YuSanka c47565430f Localization: "\t" symbols are deleted from community translations (ko, nl, pt_br, tr, zc_CN(TW)),
fixed some phrases
2020-03-06 17:34:06 +01:00
YuSanka 6f67a5bccc Fixed :
* the editing of extruder color from PresetComboBox,
when incompatible filament preset is selected and red flag is shown.

*OSX specific bug : empty icons for PresetComboBox had non-scaled width
2020-03-06 14:22:14 +01:00
YuSanka 04ebdd8b3f localization: updated PrusaSlicer.pot 2020-03-05 13:59:20 +01:00
YuSanka e11b9b0faf Added missed icon 2020-03-05 13:38:51 +01:00
YuSanka 57f3f299cd Fixed 2 bugs :
1. "Revert" buttons on the bar don't work for a "Compatible printers" and a "Compatible prints profiles".
   And cause a crash if they are pressed in Print(SLA) Settings.

2. A label of a "Compatible printers" option is always black in Filament(Materials) Settings Tab
2020-03-05 08:16:31 +01:00
YuSanka a85e455934 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
YuSanka fc453df38f Implemented "Detach preset from system" button 2020-03-04 13:47:35 +01:00
YuSanka a256cc9514 Fixed a width of an empty icon, which added to BitmapComboBox
Related to the #3759
2020-03-03 10:12:52 +01:00
YuSanka 7388947e1f Fix of #3739 (OSX: set width of "Editing" column
to avoid a column narrowing after a recreating of an application caused by a language changing)

+ Fix related to a bug, reported in #3617, about wrong placement of a "Purging volumes" button
translated to the some languages
2020-03-02 11:33:56 +01:00
YuSanka d1e35ff60e Localization: Deleted context "markers" from PO files, updated MO files 2020-02-21 17:56:32 +01:00
YuSanka 824b3713ae Localization: New dictionaries for CZ, DE, ES, FR, IT, NL and PL 2020-02-21 14:36:12 +01:00
YuSanka 487ac0423e Implemented time estimation for PausePrint (#3544)
DoubleSlider: fixed get_color_for_color_change_tick()
2020-02-20 17:33:43 +01:00
YuSanka 5e4a0b96b7 Linux issue: fixed Object's DnD with sub items 2020-02-20 14:19:00 +01:00
YuSanka c691a225c2 Localization: small changes in POT 2020-02-19 13:54:56 +01:00
YuSanka 77daa54b0c Localization: New POT 2020-02-19 13:21:31 +01:00
YuSanka ae197ddd94 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 5c6987137d Removed code which is redundant now,
but causes an issue #3642 (G-Code Export button visible in "non-default" position)

All Show/Hide() of active buttons are processed inside show_action_buttons() function
2020-02-18 15:45:17 +01:00
YuSanka b5e61982a6 Localization: changed some phrases. Updated POT 2020-02-18 13:46:12 +01:00
YuSanka d1e3435956 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 1693a56ea3 Suppress print info about Weight and cost, if they are equal to zero 2020-02-17 11:51:22 +01:00
YuSanka 3631e938b2 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 860571d51d 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 23732864ab Fixed bug related to possibility of load several files as a multi-part object
Steps to repro:
 - set MMU printer
 - set SL1 printer
 - add two or more objects
 - select yes in "Multi-part object detected" dialog
2020-02-14 14:44:17 +01:00
YuSanka 3f27802c0a Fix of Crash when trying to select extruders for multiple parts (#3657) 2020-02-14 13:27:25 +01:00
YuSanka 3ffc565722 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 1399696b04 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 c877549b1b Fixed width of "printhost_apikey" and "printhost_cafile" fields 2020-02-12 15:47:34 +01:00
YuSanka e70b17f38c Updated POT
+ Fixed texts in DoubleSlider.cpp
2020-02-12 14:19:48 +01:00
YuSanka fcd1cf371b 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 94d3ca7016 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 a5de3386ac Changed size of hexagons.
+ ModeButton: Added another constructor
2020-02-10 12:52:32 +01:00
YuSanka d81f7d8465 SlicedInfo: Removed secondes from estimated times 2020-02-10 12:52:32 +01:00
Oleksandra Yushchenko d491a38fd7 Merge pull request #3629 from ulsanether/master
Updated Korean translation
2020-02-10 12:49:21 +01:00
YuSanka 9c8dcf3fae Updated mode icons 2020-02-07 18:50:41 +01:00
YuSanka 2a9a1fddb2 DoubleSlider: Fixed Extruder sequence bug 2020-02-07 16:57:33 +01:00
YuSanka 10ade4192c Added separate icon for the SLA printer presets
DoubleSlider:
 + fixed bug with un-hidden tooltip when OneLayerLock is on
 + MultiAsSingle mode : Show context menu on Cog icon after L/RButtonClick
2020-02-07 14:16:04 +01:00
YuSanka 455f36119a Localization: Updated PrusaSlicer.pot and list.txt
+ added missed icons
2020-02-06 20:37:12 +01:00
YuSanka 5474738dc6 DoubleSlider: Implemented tick hovering
+ Linux: fixed empty menu showing
2020-02-06 18:52:52 +01:00
YuSanka 0d5ced60a2 DoubleSlider: Implemented "Jump to print Z" functionality on Cog icon click OR using "Shift+G"
+ One more big code refactoring
2020-02-05 22:56:00 +01:00
YuSanka 799a10d0ec Added missed tooltip text
+ fixed conflict's controlling for ToolChange tick
2020-02-04 21:59:55 +01:00
YuSanka de4c2fc2e0 DoubleSlider: SingleExtruder mode: Implemented editing of color from colored band, using RightMouseClick on it. And added corresponding tooltip 2020-02-04 17:44:44 +01:00
YuSanka 49c5822be4 Show tooltip for all hovered ticks, not just for a selected one 2020-02-04 14:53:17 +01:00
YuSanka 0da4cb29b5 Localization improvements: added NL translation
+ to the list.txt added ObjectDataViewModel.cpp
2020-02-04 13:42:23 +01:00
YuSanka d320a03c54 DoubleSlider: Added using of default colors for color changes in SingleExtruder Mode (#3449)
+ added missed input parameter to the BitmapCache::mksolid() which was cause a wrong drawing of the Extruder selector under OSX
2020-02-03 21:28:55 +01:00
YuSanka 5b103116c5 Added missed include under OSX 2020-02-03 09:24:58 +01:00
YuSanka 3f7ebee396 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 eb6e0c06e4 Mark a tick as a conflict, if it has a ToolChange to the same extruder 2020-02-02 21:20:48 +01:00
YuSanka 438f4fd1aa Fixed build under OSX 2020-02-02 19:40:00 +01:00
YuSanka be92e10985 Added missed include for OSX 2020-01-31 21:03:17 +01:00
YuSanka 1472ad9b14 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 570f77cbdc Implemented DnD for objects inside ObjectList 2020-01-30 15:01:47 +01:00
YuSanka d45744b7bb Typo fix for https://github.com/prusa3d/PrusaSlicer/commit/a38735b4ae78611fe10f3422ccfd54e690ce1a88 2020-01-28 16:40:31 +01:00
YuSanka cd2973fad3 Typo fix for https://github.com/prusa3d/PrusaSlicer/commit/a38735b4ae78611fe10f3422ccfd54e690ce1a88 2020-01-28 16:23:55 +01:00
YuSanka a38735b4ae 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 635def1648 Fixed an icon scaling in the ObjectList under OSX 2020-01-27 16:30:09 +01:00
YuSanka cf7d7bd40f Fixed menu icons scaling under OSX 2020-01-27 14:58:11 +01:00
YuSanka d8b1d074a1 Implemented upgrade_text_entry_dialog() fuction to avoid a getting an empty string from wxTextEntryDialog (disable OK button, if TextCtrl is empty)
All mode conflicting or meaningless ticks are marked by "exclamation" icon and described in tooltip.
2020-01-27 14:36:32 +01:00
YuSanka cb3ad0a422 Updated tooltips for DoubleSlider
*partially related to #3543
2020-01-24 11:51:37 +01:00
YuSanka 5ff8ae955b Implemented editing for extruder of existing ToolChangeCode tick
+ Code refactoring: DoubleSlider is extracted from wxExtensions
2020-01-23 16:11:21 +01:00
YuSanka 1ed313ab79 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 29fa176d27 DoubleSlider: Implemented code switch between ToolChangeCode and ColorChangeCode for MultiAsSingle mode 2020-01-22 15:01:59 +01:00
YuSanka d8b5f2950d Select first printer for 3rd vendor.
+ fixed typo in output message
2020-01-21 16:34:07 +01:00
Oleksandra Yushchenko 1bbee1c5cc Merge pull request #3276 from smurfix/upstream2
Don't show a confirmation dialog when simply saving a preset
2020-01-21 15:13:12 +01:00
Oleksandra Yushchenko 749a06a092 Merge branch 'master' into upstream2 2020-01-21 15:12:32 +01:00