Commit Graph

55 Commits

Author SHA1 Message Date
16560f6e27 Merge remote-tracking branch 'remotes/origin/master' into vb_wold_object_manipulation 2019-04-26 17:42:51 +02:00
046466164f OSX: Forced set the input value for SpinControl,
since the value inserted from the clipboard is not updated
2019-04-26 13:08:25 +02:00
7560de0704 Fixed app name interpolation for : GUI_App, MainFrame, MsgDialog, Preferences, Tab and UpdateDialogs
+ added edit_tooltip(), wich replaces Slic3r for SLIC3R_APP_KEY
2019-04-26 10:54:18 +02:00
708037158e Added msw_buttons_rescale() - Function for a scaling Dialog's buttons under MSW 2019-04-25 15:09:12 +02:00
065448e9e5 Big Refactoring: - deleted/renamed all _Prusa_ prefixes,
- cleaned code from commented parts
 - rescale() -> msw_rescale()
2019-04-25 01:45:00 +02:00
5d2537af35 WIP: Transformations of an instance in world coordinate system
from the side panel.
2019-04-24 11:01:59 +02:00
077321b228 Implemented em_unit() function for getting of em_unit value from correct parent.
+ Added correct em_unit to Fields
2019-04-17 21:35:53 +02:00
eae6576162 Fix default bitmap loading in Field 2019-04-17 17:31:00 +02:00
3b9803ba6e Fixed crash of build under OSX and Linux.
+ Added flag to control if application rescale is possible
2019-04-16 17:06:28 +02:00
ae2c61160f Application Scaling for MSW: Added rescale function for DoubleSlider (from Preview), ObjectList, ManipulationPanel and SettingsPanel
+ Set wider default size for Preset Comboboxes from Tabs (#2023)
2019-04-16 10:05:45 +02:00
f7ddddcff5 Application Scaling for MSW: Next big step
- Added rescale() function for the most of controls
 - Created PrusaBitmap and PrusaButton classes like a wrap to wxBitmap and wxButton accordingly
2019-04-13 23:46:52 +02:00
3c163285e5 Fix of SPE-879 and #2021 2019-03-27 17:00:29 +01:00
87febaacc0 Fix of #2014 2019-03-27 13:19:27 +01:00
4f585f1157 Improved rendering when deleting an option from object's overrides.
Replaced the single column icon with an empty icon.
Will it break something? The single column added an ugly spacer
in front of non-editable combo boxes.
2019-03-23 08:23:22 +01:00
e2349bdd2e Added workaround for the non-editable wxBitmapComboBoxs under OSXDisableAllSmartSubstitutions
+ experiments with Linux
2019-03-20 12:04:18 +01:00
8be8b604f5 Merge remote-tracking branch 'origin/vb_faster_tabs' into ys_comboboxes 2019-03-19 08:52:58 +01:00
a90d5c8a28 Performance fix of rendering of the parameter tabs on Windows:
Disabled Windows Vista themes for the wxNotebook.
2019-03-18 20:54:01 +01:00
cf53604ae8 Moved the Fileds from the Page object to the respective OptionGroups
for performance reasons. Disabled clearing of background for most
of the static texts and Fields stored into OptionGrops.
2019-03-18 12:49:57 +01:00
b382ad1ffb Some improvements 2019-03-08 16:20:20 +01:00
99e43d6b24 wxBitmapComboBoxes without bitmaps 2019-03-07 16:23:02 +01:00
0ec718a510 All wxComboBoxes are changed to the wxBitmapComboBoxes 2019-03-07 16:21:56 +01:00
8756a14557 Fixed crash on "stoi argument out of range" from SpinConrol (SPE-847) 2019-03-07 10:56:17 +01:00
2ff9505443 Fixed wrong updating of the editable ComboBox under OSX 2019-02-25 10:15:44 +01:00
ab30370fb4 Split the external infill pattern to separate top / bottom config values.
Based on f9344a00e3
thanks @supermerill
Implements  #475, #479, #1133, #1474
2019-02-22 15:25:35 +01:00
c55629259a Merge remote-tracking branch 'origin/ys_hdpi' 2019-02-20 16:20:30 +01:00
3d731bc570 Fix of #1800 2019-02-08 09:05:06 +01:00
9021f84eac Fix of #1771 2019-02-07 16:33:14 +01:00
21a7fa6af2 Fix of #1782 2019-02-07 09:22:04 +01:00
46f32d091a Fixed scaling of the controls and InfoDialogs (Sys and About) 2019-02-06 10:13:27 +01:00
c973500ee6 Support for a numeric input with both dot and comma
as a valid decimal separator.

Fixes Česká verze hustota filamentu #1705
2019-01-29 10:21:21 +01:00
66f998bdbf Fix of the change of the perimeters count in a vase-mode (part fix of #1649) 2019-01-14 15:41:24 +01:00
3205961655 Use OSXDisableAllSmartSubstitutions() for TextCtrl field under OSX 2019-01-11 16:32:16 +01:00
1947925263 Added parameter for pillar connection mode 2019-01-09 12:21:43 +01:00
71359d756f Fixed typo 2019-01-09 11:01:57 +01:00
6efcdd1ddf Added wxEVT_TEXT_ENTER handling for TextCtrl, SpinCtrl & PointCtrl (but it doesn't work under OSX) (fix of #1518) 2019-01-08 16:06:58 +01:00
b66f41f43d Fixed #1543 2019-01-07 16:20:50 +01:00
3bd2db8ba6 Fix of #1598, #1601, #1604, #1612
The text fields were not causing config value updates,

broken with 8d1b854acb
Replaced all wxString.ToStdString() with wxString.ToUTF8().data()
to be sure that the strings are correctly converted to UTF8.
2019-01-07 09:37:51 +01:00
8d1b854acb Replaced all wxString.ToStdString() with wxString.ToUTF8().data()
to be sure that the strings are correctly converted to UTF8.
2019-01-03 14:34:53 +01:00
fb78957687 Fixed updating of settings after selection of the preset with "modified" suffix
+ Added EVT_SPINCTRL binding
2018-12-21 10:59:21 +01:00
b9ac016d89 Improve parameter validation for "something or %" settings 2018-12-21 08:00:26 +01:00
7d1fb201e7 Implemented updating of the settings values for PointCtrl and Choice.
* wx_EVT_KILL_FOCES doesn't handled on OSX, so values are updating on wx_EVT_TEXT like a temporary workaround.
2018-12-18 15:29:49 +01:00
17164ee333 Fixed #1225 (Added "Parameter validation" for "mm or %" values)
+ fixed correct updating of the "Contact Z distance" parameter
2018-12-17 18:08:32 +01:00
d6471e7b07 Fix of SLADisplayOrientation updates 2018-12-14 17:19:17 +01:00
e1cea03cda Added template for the handle of the TextCtrl's focus event 2018-12-11 14:05:56 +01:00
d7bc1410ee Update value inside TextCtrl & SpinCtrl after wxEVT_KILL_FOCES instead of wxEVT_TEXT (or wxEVT_TEXT_ENTER) 2018-12-11 14:05:56 +01:00
a378bb7bed Removed some obsolete Perl bindings.
Removed libslic3r from the default include paths for all modules but
libslic3r. Now headers from libslic3r need to be included with an
explicit path (libslic3r/libslic3r.h etc)
Split the localization macros into I18N.{cpp,h}
2018-11-26 14:41:58 +01:00
c6b597b813 Fixed updating of the options values after the clearing of the TextCtrl 2018-11-21 15:05:18 +01:00
62aa34b444 SpinCtrsl inside Manipulation pane is replaced to TextCtrls
+ Added "proces_enter" mode for TextCtrl (The control will generate the event wxEVT_TEXT_ENTER)
2018-11-14 12:35:15 +01:00
e62246d56c Fixed Info pane filling 2018-11-01 12:57:21 +01:00
7f08f460f1 Some code review 2018-10-31 12:58:35 +01:00