Commit Graph

358 Commits

Author SHA1 Message Date
enricoturri1966
286f3208fe Do not load ssl certificate when starting standalone gcode viewer 2020-10-07 11:04:06 +02:00
YuSanka
9ef12cc001 SplashScreen : Scale all font from default font 2020-10-06 19:38:46 +02:00
Vojtech Bubnik
57ae13b5e7 OSX: Clean-up of opening as G-codeviewer on startup. 2020-10-06 15:43:21 +02:00
test
309c068d10 Fix of previous commit 2020-10-06 15:13:04 +02:00
enricoturri1966
6920992799 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-10-06 15:11:22 +02:00
enricoturri1966
8b6c599d45 Added Preference dialog to standalone gcode viewer 2020-10-06 15:11:08 +02:00
Vojtech Bubnik
9b55a4a0c9 OSX specific: Switching to a G-code viewer if the Finder opens Slicer
with a G-code file argument.
2020-10-06 15:09:38 +02:00
test
ca81c9b335 OSX specific: Trying to detect opening of files through Finder at the application start to switch to G-code viewer 2020-10-06 14:23:17 +02:00
YuSanka
8f67cc29e0 Added info message about successfully save of the preset(s) modifications
+ more warnings fixes
2020-10-06 12:32:28 +02:00
test
ecc93fe38e Fix of an OSX build 2020-10-06 11:18:56 +02:00
YuSanka
ef5a2822db Fixed non_MSW build
+ fixed some warnings
2020-10-06 11:15:50 +02:00
Vojtech Bubnik
8541bb9292 WIP: Opening a G-code in PrusaSlicer at Drag & Drop onto
the application icon in Finder.
2020-10-06 11:07:49 +02:00
YuSanka
1e92de48a8 SplashScreen: Fixed font scaling 2020-10-06 10:33:27 +02:00
test
13c47bb24f WIP: Drag and drop of G-codes on OSX onto Docker icon 2020-10-06 09:56:36 +02:00
YuSanka
0ef3c67089 The scale of a splash screen is rewrote.
But now there is a problem with font scaling.
Function font.Scaled(val) return scaled system font from primary monitor.
That is why application's name and version has so strange scale.
2020-10-05 19:56:23 +02:00
enricoturri1966
10a5c9ece4 Fixed crash when starting gcode viewer on Linux 2020-10-05 16:06:14 +02:00
enricoturri1966
ac0b160612 AppConfig modified to generate a separate config file for the standalone gcodeviewer 2020-10-05 15:42:35 +02:00
YuSanka
5f60e6e1fe Merge remote-tracking branch 'origin/ys_splashscreen_on_mac' 2020-10-03 03:18:01 +02:00
YuSanka
6b0131e0b4 UnsavedChangesDialog improvements:
* Changed some labels on buttons. The Dialog name shows a purpose now
 * SaveDialog is called, when UnsavedChangesDialog is shown.
 * Added prototype for the "exit" icon

+ Fixed layout for the "Machine limits" page
2020-10-03 03:15:54 +02:00
YuSanka
b2fb9064f5 A part of code related to loads after App::OnInit() call is moved from PrusaSlicer.cpp to GUI_App.cpp
Splash Screen under OSX requires a call of wxYeild() for update.
But wxYield() furthers a case, when CallAfter() in CLI::run() was called at the wrong time, before some of the GUI was created.
So, there is workaround:
Parameters needed for later loads are encapsulated to GUI_App::AFTER_INIT_LOADS structure
and are used in GUI_App::AFTER_INIT_LOADS::on_loads which is called just ones after wxEVT_IDLE
2020-10-02 22:27:20 +02:00
enricoturri1966
ce6aed9691 New image for gcode viewer splash screen 2020-10-02 13:20:48 +02:00
YuSanka
db754ce870 Deleted use of TaskTimer in OnInit
+ code cleaning in MainFrame
2020-10-02 12:11:27 +02:00
YuSanka
081330f0fd use wxYield on mac to show the splashscreen 2020-10-02 08:32:44 +02:00
Vojtech Bubnik
75bc8f6d2c Merge branch 'vb_optgroup_refact' 2020-10-01 20:05:31 +02:00
enricoturri1966
78b9272503 Fixed splash screen info label 2020-09-30 13:35:19 +02:00
YuSanka
c69d6e4b01 OSX specific: Set SplashScreen as TopWindow 2020-09-29 08:39:57 +02:00
YuSanka
e340463eaf SplashScreen improvements:
* Added MakeBitmap() to create a bitmap from input version image
 * Editor/Viewer logo is added now in SplashScreen::Decorate()
2020-09-28 20:41:51 +02:00
YuSanka
925bdb2c16 Updated SplashScreen
+ Increased gap_size for main and undo/redo toolbars
2020-09-25 11:02:54 +02:00
YuSanka
247e9825a4 Fixed highlighting of the searched option
+ Create controls only on the shown and active tab
+ Line class : deleted unused sizer
+ In GUI_Utils added TaskTimer class for the print a time of some task duration
+ BedShapeDialog:: activated options_groups
+ commented some unused code
2020-09-24 15:41:48 +02:00
YuSanka
bb1ba1575a Merge remote-tracking branch 'origin/master' into ys_optgroup_refact 2020-09-23 08:38:21 +02:00
YuSanka
7126ab37b2 Fixed non-MSW builds 2020-09-23 08:33:16 +02:00
YuSanka
dfaf3c5c97 Fixed scaling on MSW for new OptionsGroup 2020-09-22 16:16:35 +02:00
YuSanka
9b1ae700e8 Code refactoring of the OptionsGroup class:
Controls are created only for the active page now
2020-09-22 11:17:43 +02:00
YuSanka
9e645c880c SplashScreen: Fixed message text
UnsavedChangesDialog: Disabled "Move changes to selected preset" button, when printer technology is changed
PresetComboBox: Fixed color of the filament, if it is modified
2020-09-17 15:40:27 +02:00
Vojtech Bubnik
f58ee46687 WIP Refactoring of exceptions:
1) All slicer's exceptions are now derived from Slic3r::Exception.
2) New exceptions are defined for slicing errors.
3) Exceptions are propagated to the Plater to show.
It remains to modify the slicing back-end to throw the new SlicingError
exceptions instead of std::runtime_error and to show the other exceptions
by a message dialog instead of a notification.
2020-09-14 18:03:22 +02:00
enricoturri1966
aad733f8d2 Fixed conflicts after merge with master 2020-09-11 08:18:41 +02:00
enricoturri1966
fb1c75d898 Updated Sys Info dialog, About dialog, Keyboard shortcuts dialog for gcode viewer 2020-09-11 08:03:13 +02:00
YuSanka
c4f2560205 SplashScreen:
* Show it on the display same as an Application
 * Code refactoring : All related functions moved to the SplashScreen class
 * Add a possibility o hide/show splash scree in Preferences
2020-09-10 18:54:29 +02:00
enricoturri1966
b56b719575 Updated titlebar and splash screen + hidden statusbar for gcode viewer 2020-09-10 14:33:55 +02:00
enricoturri1966
77787e36ad Tech ENABLE_GCODE_VIEWER_AS_STANDALONE_APPLICATION set as default 2020-09-10 08:49:50 +02:00
enricoturri1966
4add81eb28 Completed implementation of 'File->GCode preview...' command 2020-09-09 15:03:51 +02:00
enricoturri1966
c767db6d4f Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-09-09 08:39:43 +02:00
enricoturri1966
4eeb90e65b Fixed loading current presets 2020-09-08 15:30:01 +02:00
YuSanka
57e106672c Fixed Scale on Linux 2020-09-08 15:20:12 +02:00
YuSanka
f3e05fb4a0 Splash screen : Try to fix scaling on Linux 2020-09-08 13:40:14 +02:00
enricoturri1966
0c43c9aaed Fix build on OsX 2020-09-08 12:10:07 +02:00
enricoturri1966
12dabf7037 Splash screen for gcode viewer 2020-09-08 11:55:21 +02:00
enricoturri1966
c8a05030a9 Fixed conflicts after merge with master 2020-09-08 11:50:11 +02:00
enricoturri1966
0b88b32141 GCode viewer using the proper layout when started as a standalone application 2020-09-08 11:40:06 +02:00
YuSanka
f0c7f165e6 Linux: Try to fix warning "Na handler for image type 15" 2020-09-08 09:12:40 +02:00