779 Commits

Author SHA1 Message Date
YuSanka
0848fecb02 TopBar: Search improvements to respect to the ESettingsLayout::Dlg 2024-04-24 10:49:22 +02:00
YuSanka
cd5d30d3b1 Menus related to the TopBar's buttons are extracted to the separate class.
+ Updated top bar layout in respect to the mode
+ Linux specific: Don`t show down arrow for buttons with PopupMenu
+ MainFrame: Use TopBar instead wxBookCtrlBase
2024-04-24 10:49:22 +02:00
YuSanka
c95bc97435 Deleted unused UI-settings ("Set settings tabs as menu items" and "New layout, access via settings button in the top menu") 2024-04-24 10:49:22 +02:00
YuSanka
2c0f826d89 Fix for SPE-2225 and SPE-2228
* Don't select "Printer" tab after printer technology change from selection in right panel
* Delete "Physical printer" tab after deletion last preset from physical printer

+ show_printer_webview_tab() is moved into MainFrame
+ TopBar: use AddNewPage and InsertNewPage as overridden functions for AddPage and InsertPage
2024-04-17 12:33:23 +02:00
Lukas Matena
53e7a2d726 Merge tag 'version_2.7.4'
version_2.7.4
2024-04-05 14:33:07 +02:00
David Kocik
6c8359f6ec check if downloads are allowed also on linux when SLIC3R_DESKTOP_INTEGRATION = 0 2024-04-02 09:21:35 +02:00
Elia Devito
691900201a Don't perform downloader desktop integration if built with SLIC3R_DESKTOP_INTEGRATION = 0 (PR #12252) 2024-03-31 07:39:00 +02:00
Lukas Matena
d421f5b1f8 Revert "Merge branch 'dk_master_desktop_integration' into master_27x"
This reverts commit 4b50c41799c867047a510a2a06f3c8e75a6b9dac, reversing
changes made to b9d8b8ce72cc6f32c35a87bfe5a6e5dd21c37c18.
2024-03-31 07:38:08 +02:00
Lukas Matena
137340f70f Fixed couple of compiler warnings 2024-03-28 12:04:51 +01:00
Lukas Matena
9dc7b70084 Merge branch 'master_27x' 2024-03-27 16:37:47 +01:00
Lukas Matena
aa6324b717 Bumped up version to 2.7.3-rc1 2024-03-27 14:11:00 +01:00
enricoturri1966
c2b8914ed0 Tech ENABLE_GL_CORE_PROFILE set as default 2024-03-26 14:41:57 +01:00
enricoturri1966
539c155c59 Code cleanup and techs removal - completed 2024-03-26 14:41:55 +01:00
enricoturri1966
82001626dd SPE-2124: Added command line option 'opengl-aa' to allow the user to turn on the automatic selection of max number of supported samples for OpenGL antialising 2024-03-26 14:27:01 +01:00
David Kocik
4358382db7 Check selected profile in connect by compatible printers vector.
Select printer in plater based on compatible printers vector, if given.
2024-03-25 17:08:02 +01:00
Lukas Matena
732a6e5ddc Bumped up version to 2.7.3-beta1 2024-03-25 14:39:32 +01:00
David Kocik
655e26b078 Remove All mentions of downloads from wizard and preferences for DESKTOP_INTEGRATION = 0
cleanup - remove notification
2024-03-25 12:53:03 +01:00
David Kocik
40bc51e09d check if downloads are allowed also on linux when SLIC3R_DESKTOP_INTEGRATION = 0 2024-03-25 12:53:03 +01:00
Elia Devito
bc2e6447d5 don't perform downloader desktop integration if builded with SLIC3R_DESKTOP_INTEGRATION = 0 2024-03-25 12:53:03 +01:00
David Kocik
456087ca23 remove media control references 2024-03-25 12:05:55 +01:00
David Kocik
93d47dd121 Fix of showing Physical printer webview tab at startup 2024-03-25 12:05:55 +01:00
David Kocik
b232894451 Changes in PrusaConnect interface
Prepared handling methods. Inside is WIP.

Handling UPDATE_SELECTED_PRINTER Connect request

ConnectRequestHandler class

Error screen as default
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
f716497318 Remember session refactoring. Browser login redirect dialog only until first confirmation 2024-03-25 12:05:55 +01:00
David Kocik
db43c069d9 Fix of not selecting presets from Connect when physical printer was selected.
Note: There might be other similar settings that needs to be done next to the unselecting of ph printer.
2024-03-25 12:05:55 +01:00
David Kocik
488254f7fb Missing Mac implementation of receiving login data from browser.
+ fix of current connect address
2024-03-25 12:05:55 +01:00
David Kocik
ff64f7167d Fixes and icons.
Sla printer icons with Connect status.

Fix of non-static variable and missing includes

update of priter_type table

missing include
2024-03-25 12:05:55 +01:00
YuSanka
1c4b9d43d1 Search improvements:
* 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
2024-03-25 12:05:55 +01:00
David Kocik
da977db4c4 disable testing notification and monitor tab showing 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
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
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
d5b9cffdd9 Bumped up version to 2.7.3-alpha0 2024-02-29 21:12:29 +01:00
Lukas Matena
a9cbc92064 Bumped up version to 2.7.2-rc1 2024-02-23 11:58:40 +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