593 Commits

Author SHA1 Message Date
Lukas Matena
137340f70f Fixed couple of compiler warnings 2024-03-28 12:04:51 +01:00
David Kocik
456087ca23 remove media control references 2024-03-25 12:05:55 +01:00
David Kocik
c669ef49aa sys_color_change for webview windows 2024-03-25 12:05:55 +01:00
YuSanka
f05318686c TopBar: Fixed a crash on switch print technology 2024-03-25 12:05:55 +01:00
YuSanka
83ce1d600a Suppress a tab selection when the application is started as a G-codeViewer 2024-03-25 12:05:55 +01:00
David Kocik
0c7e6cb063 PrusaConnectNew class - new way to upload to Connect
Several bugs in UI fixed
Added Connect user data action, we might need it in future


Missing file in cmake and smaller fixes

new Connect frontend
2024-03-25 12:05:55 +01:00
David Kocik
218a24c7cf Printer webview tab with apikey injecting (username w password does not work).
Webview developer tools added but hidden in tech.
Fixed adding / removing / loading webview tabs and blinking on add.
Rename tabs and related functions.

Apikey injection from https://github.com/SoftFever/OrcaSlicer. Thank you.

Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-03-25 12:05:55 +01:00
David Kocik
f3dd5fa17d Rename Auth to UserAccount 2024-03-25 12:05:55 +01:00
David Kocik
2031fb5133 Set downloaded avatar to scalable button 2024-03-25 12:05:55 +01:00
YuSanka
946c0caf78 TopBar: Added user name to "Login" button
+ Deleted unused names for mode button
2024-03-25 12:05:55 +01:00
YuSanka
a336a2c379 TopBar: Fixed strange small rectangle in TopLeft corner
OSX specific issues:
* Fixed Layout
* Fixed a crash on start
* Buttons: Fixed colors on selecting and hovering

MSW specific:
*Fixed update color mode
2024-03-25 12:05:55 +01:00
YuSanka
1fdfbf3921 Deleted code related to mode sizer. 2024-03-25 12:05:55 +01:00
YuSanka
bf8c3e7653 Fixed OSX build and some of warnings 2024-03-25 12:05:55 +01:00
YuSanka
e065f0c83b TopBar: Added "Search" control
+ Deleted old search controls from tab and canvas3D
2024-03-25 12:05:55 +01:00
YuSanka
ba5e8b87a9 Fix for using of accelerators from menu items.
After TopBar implementation we don't use wxMenuBar anymore.
As a result menu accelerators was unused.
To workaround this issue the accelerator_entries_cache is generated during creating menu items
and than items from this cache are added to the acceleration table for mainframe.
2024-03-25 12:05:55 +01:00
David Kocik
822b862fce Printers action and webview development
Automatic "Connect printers" action after login

periodic connect printers update

adding and removing connect tab on login

Webview refactor

remove unused code

load url on adding panel

monitor tab

upload to connect button
2024-03-25 12:05:55 +01:00
YuSanka
55ba9f2351 Topbar: Implement Auth menu 2024-03-25 12:05:55 +01:00
David Kocik
78c9aa668c User Account: Store more user data, not only username
Compare new and old printer maps
2024-03-25 12:05:55 +01:00
YuSanka
cecfe485ab WIP: New simple top bar : Improve/delete redundant mode sizers
+ UI-fixes for OSX
2024-03-25 12:05:55 +01:00
YuSanka
ada1fc37ff WIP: Experiments with New simple top bar 2024-03-25 12:05:55 +01:00
David Kocik
2276cedc10 WebView prototype
Web View has working panel with Connect webpage with Auth token login.
Webview2 is used on windows. It uses small dll to find its runtime.

WebViewDialog.cpp, WebViewDialog.hpp, WebView.cpp and WebView.hpp were taken from https://github.com/bambulab/BambuStudio and used as protype for future WebView Development. Thank you.

Co-authored-by: cmguo <chunmao.guo@bambulab.com>

Co-authored-by: lane.wei <lane.wei@bambulab.com>
2024-03-25 12:05:55 +01:00
David Kocik
f624c55f6f Store PrusaLink passwords in wxsecretstore 2024-03-25 10:22:30 +01:00
YuSanka
8c2f6d7b7d Fixed an update of Searcher on UI recreation.
Bug was caused by fa86a3d0, when instance of searcher was moved to GuiApp
and as result wasn't recreate on UI recreation.
Searcher instance is in MainFrame now.
2024-03-06 12:21:39 +01:00
YuSanka
c857ae8db5 Fixed warnings 2024-03-04 11:28:16 +01:00
YuSanka
dd20cc5750 StatusBar: Removed commented code 2023-11-30 15:26:20 +01:00
YuSanka
feac3b62ed Sidebar: Next refactoring and beautification
+ Deleted long time unused or commented code
+ Some unrelated functions are moved from Plater to Sidebar
2023-11-30 15:26:20 +01:00
YuSanka
fa86a3d047 Searcher related refactoring:
* Searcher moved form Plater to Gui_App
2023-11-30 15:26:20 +01:00
YuSanka
bbbeedf1ce DiffPresetDialog: Refactoring.
Move logic of a processing of selected options to owned dialog instead of MainFrame.
2023-11-30 15:26:20 +01:00
YuSanka
0e1a0e856f Fix for SPE-2020 : Notification about temporary installed preset doesn't appear anymore
Description of bug:
During fixing of SPE-1845 there was made changes with 7280b2a0 commit.
But those changes destroyed a initial behavior. All presets are selected correctly now,
but user doesn't receive a notification about temporary installed presets, if any was.
2023-11-16 15:11:41 +01:00
Lukas Matena
b30c7c3bb9 Fixes in phrases 2023-11-06 11:27:27 +01:00
Filip Sykala - NTB T15p
5a43a70e16 Change title for import model .. now it could import also SVG but not ".PRUSA" files. 2023-11-02 19:41:41 +01:00
Lukas Matena
1a0911388d Fixed several encoding issues 2023-10-20 16:38:45 +02:00
Lukas Matena
f0458daceb Fixes in phrases 2023-10-20 16:38:45 +02:00
YuSanka
1a182999a8 SkinnedUI: bug fixing and improvements:
* SPE-1945 : LINUX - Black background in dark mode in search - "Category"
* SPE-1941 : Font size is applied for old PS version (app_config key for font size is changed to "font_pt_size")
* SPE-1939 : Preferences : PS widows have incorrect dims when used max font size
* SPE-1943 : Fixed gtk resize popup window (Manually merged 60dbf71cd6 )
* SPE-1942 : Linux specific: Brim check button on sidebar jumps
* SPE-1944 : PrusaConnect URL is missing in physical Printer
+ Changed icon which is used to comboboxes
2023-10-18 16:32:12 +02:00
YuSanka
1f0b834a70 WIP (NewUI with fonts): Next improvements for fonts.
* AboutDialog, SysInfoDialog, ConfigSnapshotDialog, ConfigWizard: Set correct/scaled font.
* PreferencesDialog:
  * Use SpinInput instead of wxSpinCtrl.
  * Added layout of the activated tab.
  * Remove "suppress_round_corners" option and ignore its value for whole application.
+ Plater: fixed obj_list() function to check existence of the control to avoid crash on recreate_GUI().
+ GLCanvas3D: Increased delta value between current and new values of the toolbar icon scale.
2023-10-18 16:32:12 +02:00
YuSanka
f27ad88d55 WIP (NewUI with fonts): Next improvements for fonts.
* Fixed new font applying for TreeCtrl and DataViewCtrl
* Fixed update of the em_unit in respect to the new font size
+ MSW specific: Fixed re-scaling of the non-standard buttons
2023-10-18 16:32:12 +02:00
YuSanka
c0aef5ff0a Skinned UI: WIP
* Non-MSW specific: Next improvements for BG of the controls
  + Create wrap class BitmapToggleButton to correct create under all platforms
  + TabFilament: Fixes crash on recreating of the app

* Next improvements for background under nonMSW systems
 + Fixed Field::SpinCtrl::propagate_value

* DropDown: Implemented transparent background for rounded corners.
  + Tab: use TextInput and SwitchButton for substitutions
  + nonMSW specific: Don't set BackgroundColors for panels

* ObjectManipulation: Use TextInput instead wxTextCtrl

* Process rectangle/rounded controls
  + Preferences: Added "Suppress round corners" parameter

* Skinned UI: SwitchButton. Use it for CheckBox Field

* Skinned UI: SpinInput
  + ScalableBitmap/ScalableButton respects to different width and height of bitmap.

* Skinned UI: ComboBox

* Skinned UI: CheckBox
2023-10-18 16:32:12 +02:00
Lukas Matena
6e206d8c9e Merge branch 'fs_svg_SPE-1517_' 2023-10-18 16:24:39 +02:00
enricoturri1966
3f3a3dd190 SPE-1954: Inform the user when loading/importing a project or a config file containing a post-processing script 2023-10-18 16:22:19 +02:00
Lukas Matena
e971f5f832 Translations: fixes and changes in phrases 2023-10-16 09:06:37 +02:00
Lukas Matena
4694f2444e Updated some phrases 2023-09-20 10:44:44 +02:00
Matt Coleman
1b5ab1ae82 Move the "About" menu item to the application menu on macOS 2023-09-19 09:00:19 +02:00
Matt Coleman
7b68c09bff Extract macOS application menu initialization to a dedicated function 2023-09-19 09:00:19 +02:00
Matt Coleman
e9592a9b30 Extract "About" menu item creation to a dedicated function 2023-09-19 09:00:19 +02:00
Lukas Matena
bf3938f506 Fixed some compiler warnings 2023-09-13 16:27:37 +02:00
enricoturri1966
1a06dc0d05 Added .bgcode and .bgc extensions to method MainFrame::load_config_file() 2023-09-05 14:39:55 +02:00
enricoturri1966
53adc68717 Tech ENABLE_BINARIZED_GCODE set as default 2023-09-05 12:17:47 +02:00
Vojtech Bubnik
8dad25efc4 Merge branch 'master' into master_262 2023-09-04 14:44:32 +02:00
ps_copyright
f32859c302 final copyright headers 2023-09-01 14:49:07 +02:00
Vojtech Bubnik
c01c863d8b Merge branch 'master' into master_262 2023-08-31 17:16:20 +02:00