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>
* Set max size.
* Close search dialog, when both of search dialog and search input lose a focus
* Update dialog position in respect to the position and size of search input
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>
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.
Use just native functions (without wxWidgets)
Note: Most of code is extracted from wxWidgest (wxStandardPaths and wxFileName classes implementation) to avoid use of wxString
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.
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).