Commit Graph

173 Commits

Author SHA1 Message Date
wmayer
4c4ed6d965 show exceptions when activating a workbench as error message, not log message 2017-01-06 18:40:20 +01:00
wmayer
0c3e5aa953 fix Qt5 port of messageHandler 2017-01-05 14:24:03 +01:00
Eivind Kvedalen
0e2e34fb33 Moved ObjectLabelObserver from Gui::Application to App::Application. 2017-01-01 21:41:11 +01:00
Mateusz Skowroński
dd4c6a4320 Fix building with Qt < 5.5. 2016-12-26 21:08:08 +01:00
wmayer
11ffc5bca9 Linux specific Qt5 port 2016-12-13 19:47:32 +01:00
wmayer
5096f55ccb port C++ code to Qt5 2016-12-13 14:22:59 +01:00
wmayer
a34c441373 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
9a44f16974 fix segmentation fault when caling setupWithoutGUI 2016-11-29 19:29:12 +01:00
wmayer
c2479b2fb4 issue #0001588: File browser dialogs initial starting directory ignores current working directory 2016-10-16 18:03:45 +02:00
wmayer
d1fe837e55 issue #0001588: File browser dialogs initial starting directory ignores current working directory 2016-10-16 17:35:08 +02:00
wmayer
7fdf39244d 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
a335b69c5a when using --single-instance option make relative path names absolute 2016-10-14 18:01:11 +02:00
Stefan Tröger
0ae9346b3c 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
2420559431 Extensions: Revert few changes after restructuring 2016-10-08 12:48:34 +02:00
Stefan Tröger
1b150a86c3 Extensions: Add ViewProvider extension python types 2016-10-08 12:48:34 +02:00
Stefan Tröger
6e1a029996 Extension: Port ViewProvider of Part 2016-10-08 12:48:34 +02:00
Stefan Tröger
5b9aea71d5 Extensions: Port ViewProvider of GeoFeatureGroup 2016-10-08 12:48:34 +02:00
Stefan Tröger
f61bb9062e Extensions: Port ViewProvider of groups 2016-10-08 12:48:34 +02:00
Stefan Tröger
b5f4023050 Extensions: Introduce ViewProviderExtension 2016-10-08 12:48:34 +02:00
Stefan Tröger
2a61aec97b Extensions: Fix rebase errors 2016-10-08 12:48:34 +02:00
wmayer
d88ecd5f56 fix -Wunused-parameter 2016-09-23 16:37:12 +02:00
wmayer
2af6bb6e49 replace deprecated auto_ptr with unique_ptr 2016-09-22 13:01:20 +02:00
wmayer
1e6dcabefc fix -Wextra in FreeCADGui 2016-09-21 20:54:52 +02:00
wmayer
947f9575de remove Application::runPythonCode 2016-09-15 23:14:31 +02:00
wmayer
25f2de76c3 remove method Application::runCommand 2016-09-15 19:39:16 +02:00
wmayer
3d16ae0f04 prepare view provider for undo/redo 2016-07-23 11:45:21 +02:00
wmayer
d9ad234539 + suppress log messages of active document or view in release build 2016-07-14 16:32:29 +02:00
wmayer
39ab11c701 + issue #0002578: Duplicate objects copied and exported 2016-06-16 14:40:28 +02:00
Sergo
1644f4d64d filter selection to exclude object duplicates before export 2016-06-16 14:33:30 +02:00
wmayer
a2a8a517a9 + use QString's vsprintf to avoid to truncate the output string 2016-06-04 10:37:08 +02:00
wmayer
4885250a68 + handle also std::exception when application unexpectedly leaves event loop 2016-05-13 12:12:17 +02:00
wmayer
88f472d411 + improve whitespaces
+ fix sequence protocol and fix crash
2016-05-01 15:49:00 +02:00
wmayer
8e19a2064f + force FreeCAD to always show icons in menus if available (this overwrites system settings) 2016-04-30 18:52:13 +02:00
Alexander Golubev
1b76b1117d 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
d72a919384 OriginGroup: add new abstraction layer between the Part and the GeoFeatureGroup 2016-04-12 18:12:18 +02:00
DeepSOIC
801857e98f 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
46e4e3b2b4 group coordinate planes and lines 2016-04-12 18:12:05 +02:00
Stefan Tröger
b401f07bdf add base lines 2016-04-12 18:12:05 +02:00
jriegel
d7c932d714 Changing active object handling in PartDesign 2016-04-12 18:12:03 +02:00
jriegel
4fb12b7dcd Assembly: Add GeoFeatureGroup and helpers 2016-04-12 18:12:02 +02:00
jriegel
cf9158abc9 Make Part working 2016-04-12 18:12:02 +02:00
jriegel
11b0178a42 Slightly change start up code to run Workbench activate later and some implementations 2016-04-12 18:11:45 +02:00
jriegel
7a76df4013 implementing PlacementObject 2016-04-12 18:11:44 +02:00
wwmayer
ae6c4338a7 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
32dc67cd71 + delete transient directory if sub-directory fc_recovery_files is empty 2016-03-27 11:32:29 +02:00
Ian Rees
7f42b2b8fb More fixes around Python exit codes 2016-03-27 13:01:04 +13:00
wmayer
dcb5d09581 + add clean-up function to recovery dialog 2016-03-21 17:56:18 +01:00
wmayer
cd3d36342f + fix unit tests 2016-02-09 16:00:38 +01:00
wmayer
f9694de1a8 + move handwritten Python classes to PyCXX 2016-01-27 18:07:48 +01:00
Mateusz Skowroński
c275b35d48 QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:25 +01:00