745 Commits

Author SHA1 Message Date
YuSanka
55ba9f2351 Topbar: Implement Auth menu 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
YuSanka
e774d25f7a Implemented UI to show a state of printers in PrusaConnect 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
adc650ef4e PrusaConnect communication with PrusaAuth login
Background communication with keeping tokens
Temporary output is notification
Temporary storing tokens in prusaslicer.ini

Using wx secret store to store tokens if possible

Improved PrusaConnect message - number of compatible models


Fix of saving refresh token


Refactoring of Auth and Auth Session classes.
2024-03-25 12:05:55 +01:00
Lukas Matena
fbe63ba1ab Improvements and refactoring of datadir handling 2024-03-11 10:27:22 +01:00
YuSanka
4e997d8dd5 ProfilesSharingUtils : Implemented detection of the application DataDir to avoid manual set for this value.
Use just native functions (without wxWidgets)
Note: Most of code is extracted from wxWidgest (wxStandardPaths and wxFileName classes implementation) to avoid use of wxString
2024-03-11 10:20:27 +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
Lukas Matena
ac468bad2d Switch config folder to -alpha again 2024-02-21 16:42:01 +01:00
Lukas Matena
1f87c498cd Merge branch 'master_27x' 2024-02-20 23:01:02 +01:00
Lukas Matena
671d9ebb34 Bumped up version to 2.7.2-beta1 2024-02-20 12:24:12 +01:00
Lukas Matena
a42223f963 Merge branch 'master_27x' 2024-01-26 13:07:19 +01:00
enricoturri1966
1832c833a1 #12000: Fixes incorrect detection of supported OpenGL version (SPE-2092)
1) Force OpenGL 3.2 as minimum required. If the graphic card does not support it, automatically switch to software renderer.

2) command line option: --opengl-version=X.Y -> allows to select core profile of version X.Y.

3) command line option: --opengl-compatibility -> allows to select compatibility profile of the highest OpenGL version supported by the graphic card.

4) command line option: --opengl-debug -> enable OpenGL debug output on card supporting OpenGL 4.3 or higher (output on console).
2024-01-22 12:16:55 +01:00
Lukas Matena
e922fdceb4 Fixed usage of custom filename extension in SLA mode, broken in 283fd6f. 2024-01-05 15:10:01 +01:00
tamasmeszaros
8d6497297a Replaced all occurrences of boost::nowide::narrow for wxStrings with into_u8 2023-12-18 14:33:30 +01:00
YuSanka
fa86a3d047 Searcher related refactoring:
* Searcher moved form Plater to Gui_App
2023-11-30 15:26:20 +01:00
Lukas Matena
e9fb61b8aa Bumped up version to 2.8.0-alpha0 2023-11-30 14:31:36 +01:00
Lukas Matena
9587394a18 Bumped up version to 2.7.1-alpha0 2023-11-30 14:29:11 +01:00
Lukas Matena
b0ce01de6a Bumped up version to 2.7.0-rc1 2023-11-16 15:19:53 +01:00
Lukas Matena
32c80a8903 Fixes in phrases 2023-11-10 15:23:54 +01:00
Lukas Matena
8f56b4b970 Bumped up version to 2.7.0-beta1 2023-11-10 14:27:58 +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
Filip Sykala - NTB T15p
8b8f161dce Merge branch 'master' into fs_svg_SPE-1517 2023-11-01 18:32:23 +01:00
David Kocik
ac2545fede Store dialog decline in app config 2023-11-01 10:42:20 +01:00
David Kocik
0e889eae09 Change of wifi config dialog showing rules
do not show automatically after decline
2023-10-31 16:00:50 +01:00
David Kocik
9974e4e33f Wifi config dialog changes.
Usb drive insertion triggers wifi config dialog.
Ini file is not rewritten, rather information is added.
2023-10-31 16:00:50 +01:00
Filip Sykala - NTB T15p
df0b3b095b Merge branch 'master' into fs_svg_SPE-1517 2023-10-31 14:33:59 +01:00
tamasmeszaros
bda6f874f7 temporarily disable new wx asserts in GUI 2023-10-30 12:31:45 +01:00
Filip Sykala - NTB T15p
e7ece23d01 Merge branch 'master' into fs_import_svg 2023-10-23 16:51:20 +02:00
Filip Sykala - NTB T15p
f05f334e15 Import svg files by button in main bar.
Be carefull: import is made by main thread !!!
2023-10-23 16:50:41 +02:00
YuSanka
6274f24e93 Fixed some warnings 2023-10-20 15:44:08 +02:00
David Kocik
78e128de1c SPE-1970: Notify about available config update after sync.
Notification about conf update with new printer mockup.
"new printer" information in the update dialogs.
2023-10-19 11:15:24 +02:00
Lukas Matena
aaaaf8c83b Bumped up version to 2.7.0-alpha0, new splashscreen 2023-10-19 11:01:23 +02:00
YuSanka
8d1165d6ed SpinInputDouble
+ Update font size for application in respect to the display size
2023-10-18 16:32:12 +02:00
YuSanka
168dadc0fa OSX specific: Set window variant for regular buttons to correct rendering with big font 2023-10-18 16:32:12 +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
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
David Kocik
e0331d1351 Wifi config file explanation text. 2023-10-18 09:59:06 +02:00
David Kocik
0638b3057f wifi for printer config dialog
Enumerating wifi ssid and psk for win, apple and linux.
Win automatically loads password if possible.
Apple retrieves password from keychain on button.
Apple lists only connected network in some cases (ARM or latest OS wdk).
Cmake linking CoreWLAN lib on apple.
Result is written on usb drive.
2023-10-16 16:09:08 +02:00
enricoturri1966
cfcb4f7925 SPE-1960: Associate .bgcode files to GCodeViewer on Windows 2023-10-12 15:05:02 +02:00
YuSanka
a9eebb27f8 Code cleaning: Deleted code which was commented till the testing some time ago 2023-09-21 10:22:32 +02:00
YuSanka
8cdda54d5a Fix for #11254 - Link from brim to a non-existent page on the Prusa Help.
* For unsupported languages help link is redirected to the EN page.
+ "uk", "zh" and "ru" languages are removed from current_language_code_safe().
  Because those languages aren't supported by Prusa Help.
2023-09-08 11:49:03 +02:00
enricoturri1966
c4c2c5dcf3 Updated GUI_App::load_gcode() to show also bgcode and bgc extensions in caption 2023-09-05 14:09: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
7f57ba6b12 Added ".bgcode", ".bgc" to known GCode file extensions. 2023-08-31 17:21:04 +02:00
Vojtech Bubnik
c01c863d8b Merge branch 'master' into master_262 2023-08-31 17:16:20 +02:00