26 Commits

Author SHA1 Message Date
themanyone
bdc8cc07d4 always set input and position when launching search_dialog 2024-09-19 13:53:44 +02:00
YuSanka
b15344d783 SearchDialog: Fixed hide of the dialog, when some item in list is selected 2024-07-22 12:19:32 +02:00
YuSanka
f004f815ce Top reworking: Increase size of the search control
+ TopBarItemsCtrl::Button are inherited from wxPanel instead of ScalableButton
2024-07-22 12:19:32 +02:00
YuSanka
7ec2f3439a TopBar: Show/Hide "Log in" button in respect to the Preferences settings
(SPE-2352)
2024-06-20 16:05:21 +02:00
YuSanka
f0531c6fc2 TopBar and TopBarMenus: Code refactoring to use callbacks instead of direct use of UserAccount and Mainframe. 2024-06-12 14:39:12 +02:00
YuSanka
26d52595a8 WIP of Fixing of the re-scaling
+ TopBar: Deleted unused code
2024-05-14 08:06:16 +02:00
YuSanka
c3e0312b12 Fixed min size of application 2024-04-25 10:28:03 +02:00
YuSanka
2b93bd97c6 Topbar: do not redraw the buttons all the time 2024-04-25 10:28:03 +02:00
YuSanka
a62a90decf TopBar: Collapse/Expand "Workspace mode" and "Account" buttons in respect to the window size 2024-04-24 10:49:22 +02:00
YuSanka
0848fecb02 TopBar: Search improvements to respect to the ESettingsLayout::Dlg 2024-04-24 10:49:22 +02:00
YuSanka
9beef5e847 TopBar: Added "Show settings" button 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
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
YuSanka
3d4f2a7bba Fix for SPE-2227 : Prusa Account - long Nicknames overflow 2024-04-17 12:33:23 +02:00
YuSanka
44c8770df5 TopBar: Improvements and bug fixes
* Don't set a bold font on hovered items
* Don't hover selected item
* Fixed position of popup menu

+ Fix for SPE-2235 : Hard to see the numbers of printers after a change of application color mode
+ Fixed build warning with AddPage()
2024-04-11 15:55:10 +02:00
YuSanka
9f76f9051e TopBar buttons: Implemented render() function.
Note: on Linux wxButton doesn't receive wxEVT_PAINT event, so we cant redraw it with rounded corners.
So, we just set related colors of back/foreground for the TopBar buttons.
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
5804d5aa71 TopBar: Fixed Rescale() function 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
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
4263ca6283 TopBar: Fixed a hovering for the bar items 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