Commit Graph

127 Commits

Author SHA1 Message Date
Bruce B. Lacey
61658e60ad Qt5: Enabled HiDPI scaling and Use HiDPI Qt Pixmaps
* Enable HiDPI scaling on displays that support it
    on Qt 5.6 and later
  * Enable HiDPI Pixmaps on Qt 5.1 and later
2017-03-03 11:58:38 -03:00
Bruce B. Lacey
28f7944027 Use scalable application icon resources on macOS
Fixes #2920
2017-02-23 20:27:55 -08:00
wmayer
6c2a7b479f issue #0002891: Sketching impossible, Type.Error Exception 2017-02-09 12:46:58 +01:00
wmayer
bc84e88e31 add observer for GUI documents 2017-01-22 19:05:13 +01:00
wmayer
95b7610536 show exceptions when activating a workbench as error message, not log message 2017-01-06 18:40:20 +01:00
wmayer
524ee4a679 fix Qt5 port of messageHandler 2017-01-05 14:24:03 +01:00
Eivind Kvedalen
ef5fb087a2 Moved ObjectLabelObserver from Gui::Application to App::Application. 2017-01-01 21:41:11 +01:00
Mateusz Skowroński
419a5886a7 Fix building with Qt < 5.5. 2016-12-26 21:08:08 +01:00
wmayer
87f2866884 Linux specific Qt5 port 2016-12-13 19:47:32 +01:00
wmayer
57e71e5d55 port C++ code to Qt5 2016-12-13 14:22:59 +01:00
wmayer
1cdee20953 Qt4/Qt5 neutral changes:
+ replace Q_WS_WIN with Q_OS_WIN
+ replace Q_WS_X11 with Q_OS_LINUX
+ replace Q_WS_MACX with Q_OS_MACX
+ set explicit cast to HWND
2016-12-12 14:09:21 +01:00
wmayer
537cfb2d48 fix segmentation fault when caling setupWithoutGUI 2016-11-29 19:29:12 +01:00
wmayer
1329857359 issue #0001588: File browser dialogs initial starting directory ignores current working directory 2016-10-16 18:03:45 +02:00
wmayer
b322668d4e issue #0001588: File browser dialogs initial starting directory ignores current working directory 2016-10-16 17:35:08 +02:00
wmayer
2c5c0c2347 set directory of file dialog when opening file by double-click, recent files list or drag and drop 2016-10-16 14:47:13 +02:00
wmayer
3e041850f7 when using --single-instance option make relative path names absolute 2016-10-14 18:01:11 +02:00
Stefan Tröger
3a51404dd5 Extenions: Drop virtual inheritance
Due to problems onthe windows platform the virtual inheritance approach must be dropped. NExt to the already reimplemented proeprty interface the Type interface is reimplemented too. This change allows to revert some earlier changes.
2016-10-08 12:48:34 +02:00
Stefan Tröger
558e128b39 Extensions: Revert few changes after restructuring 2016-10-08 12:48:34 +02:00
Stefan Tröger
ed32752674 Extensions: Add ViewProvider extension python types 2016-10-08 12:48:34 +02:00
Stefan Tröger
51632426a0 Extension: Port ViewProvider of Part 2016-10-08 12:48:34 +02:00
Stefan Tröger
261798da2e Extensions: Port ViewProvider of GeoFeatureGroup 2016-10-08 12:48:34 +02:00
Stefan Tröger
0a539538de Extensions: Port ViewProvider of groups 2016-10-08 12:48:34 +02:00
Stefan Tröger
8c002f1709 Extensions: Introduce ViewProviderExtension 2016-10-08 12:48:34 +02:00
Stefan Tröger
1287f3007a Extensions: Fix rebase errors 2016-10-08 12:48:34 +02:00
wmayer
c48a9bfead fix -Wunused-parameter 2016-09-23 16:37:12 +02:00
wmayer
f944ab3846 replace deprecated auto_ptr with unique_ptr 2016-09-22 13:01:20 +02:00
wmayer
f19d424d8b fix -Wextra in FreeCADGui 2016-09-21 20:54:52 +02:00
wmayer
afa37847b5 remove Application::runPythonCode 2016-09-15 23:14:31 +02:00
wmayer
18cc6c1851 remove method Application::runCommand 2016-09-15 19:39:16 +02:00
wmayer
f0e00311cd prepare view provider for undo/redo 2016-07-23 11:45:21 +02:00
wmayer
ba72952dd8 + suppress log messages of active document or view in release build 2016-07-14 16:32:29 +02:00
wmayer
c832fb5561 + issue #0002578: Duplicate objects copied and exported 2016-06-16 14:40:28 +02:00
Sergo
dc17dbf510 filter selection to exclude object duplicates before export 2016-06-16 14:33:30 +02:00
wmayer
3c269f4ccd + use QString's vsprintf to avoid to truncate the output string 2016-06-04 10:37:08 +02:00
wmayer
dd3f85d1a1 + handle also std::exception when application unexpectedly leaves event loop 2016-05-13 12:12:17 +02:00
wmayer
61376ef135 + improve whitespaces
+ fix sequence protocol and fix crash
2016-05-01 15:49:00 +02:00
wmayer
e50950f070 + force FreeCAD to always show icons in menus if available (this overwrites system settings) 2016-04-30 18:52:13 +02:00
Alexander Golubev
9753f27064 Gui: refactor Plane's and Line's ViewProviders and add yet another one for OriginFeature
- Share the code of Gui::ViewProviderPlanes and Gui::ViewProviderLine
   in Gui::ViewProviderOriginFeature
 - Add support for coloring and transparencing the OriginFeatures by
   ViewProviderGeometryObject means.
2016-04-12 18:12:18 +02:00
Alexander Golubev
2c2d155ee9 OriginGroup: add new abstraction layer between the Part and the GeoFeatureGroup 2016-04-12 18:12:18 +02:00
DeepSOIC
e587cb8a5d Fix rebase mistake, application startup related
Caused docking restore problems, and probably toolbar state restoration
too.
See post 116 of thread "Test Request: Part Design Workflow" (
http://forum.freecadweb.org/viewtopic.php?f=20&t=11205&start=110#p95619
)
2016-04-12 18:12:14 +02:00
Stefan Tröger
3f5caa2181 group coordinate planes and lines 2016-04-12 18:12:05 +02:00
Stefan Tröger
915b8ef446 add base lines 2016-04-12 18:12:05 +02:00
jriegel
45f7c99c1c Changing active object handling in PartDesign 2016-04-12 18:12:03 +02:00
jriegel
51b46e1e37 Assembly: Add GeoFeatureGroup and helpers 2016-04-12 18:12:02 +02:00
jriegel
e9744c842d Make Part working 2016-04-12 18:12:02 +02:00
jriegel
d5663b4122 Slightly change start up code to run Workbench activate later and some implementations 2016-04-12 18:11:45 +02:00
jriegel
ed5a055444 implementing PlacementObject 2016-04-12 18:11:44 +02:00
wwmayer
c69aae4b2f Merge pull request #129 from ianrrees/20160327-use-SystemExitException-code
More fixes around Python exit codes
2016-03-28 10:17:13 +02:00
wmayer
7993938ab6 + delete transient directory if sub-directory fc_recovery_files is empty 2016-03-27 11:32:29 +02:00
Ian Rees
bc71c6e64b More fixes around Python exit codes 2016-03-27 13:01:04 +13:00