Commit Graph

81 Commits

Author SHA1 Message Date
wmayer
2f5ff3186c fix for mixing up SchemeVersion and FileVersion 2017-07-06 17:59:01 +02:00
wmayer
ffa10bbf0c Qt5: workaround for undocking of mdi view
fix minor issues reported by clang static analyzer
2017-05-03 22:01:46 +02:00
wmayer
ba9ffed16b fix scan coverity issues 2017-04-11 15:06:37 +02:00
wmayer
9e42badfaf move QuarterWidget to QOpenGLWidget 2017-03-21 20:37:03 +01:00
Kunda
de2392eb18 source typo fixes pt5
+ cleaning up some more non-short-URLs
Issue #2914
2017-03-04 13:07:13 -03:00
Stefan Tröger
b09ca0c787 Extensions: Implement persistence 2016-12-11 19:27:35 +01:00
Sergo
c12f81814f check extension, get children 2016-12-09 21:31:51 +01:00
Sergo
6fdecb93de fixes #0002633 - body disappear if dragged out of Part container 2016-12-09 21:31:51 +01: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
2a61aec97b Extensions: Fix rebase errors 2016-10-08 12:48:34 +02:00
wmayer
bb103cba18 convert utf-8 encoded path name to escaped unicode when saving document with Python 2016-09-12 20:58:41 +02:00
wmayer
252459e8e7 Define shortcuts for Save & Discard buttons of message box that appears when closing a document 2016-08-22 18:58:10 +02:00
wmayer
4686997786 fix more Coverity issues 2016-08-17 21:55:00 +02:00
wmayer
683f943d38 Coverity issues:
129097
129098
129099
129101
129102
129132
129134
129203
2016-08-16 16:34:51 +02:00
wmayer
554875b930 add method to get view that contains a given node 2016-08-14 18:01:10 +02:00
wmayer
ac32ab0b00 + fix order of removed objects in transaction list
+ add assert to check for obvious error
+ removed unneeded method
2016-07-23 11:47:01 +02:00
wmayer
e471ebe1fb prepare view provider for undo/redo 2016-07-23 11:45:38 +02:00
wmayer
ec777b540f + make Document::getViewOfViewProvider() working reliably also for view providers that are a child of another view provider 2016-05-23 11:06:50 +02:00
Stefan Tröger
f784daf7f1 Ensure claimchildren3d is always respected
With the new setup object signals it may happen that a document object claims children but has no property changed after the viewprodivers creation. This scenario is not supportet up to now as the scene graph children are only set when the object changes.
2016-04-12 18:12:20 +02:00
Alexander Golubev
ad64c4f453 Fix a crash then sketch calls recalculation 2016-04-12 18:12:17 +02:00
Stefan Tröger
982af48e86 make new document views obey the scene graph children stacking 2016-04-12 18:12:08 +02:00
Stefan Tröger
5ac3de35d1 dont remove already removed view providers from the toplevel inventor node 2016-04-12 18:11:56 +02:00
jriegel
8eb0d198f8 First claimChildren3D implementation and Starting PartItem implementation 2016-04-12 18:11:45 +02: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
Mateusz Skowroński
0695552cff QString::toAscii() is obsolete in Qt5. Replace it with toLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:06:48 +01:00
wmayer
1248fa0b35 + when trying to close a document then do it even if a task dialog is open 2015-11-09 19:21:56 +01:00
wmayer
d19ada810f + split file extension from descriptive text of file format to avoid that invalid translation breaks file dialog
+ add method to make image view unclosable for user
+ fix possible crash in MeshAlgorithm::GetMeshBorder
+ fix possible crash in MeshAlgorithm::ConnectLines
2015-10-06 17:28:52 +02:00
wmayer
e5348c743d + rename signal to signalRelabelObject and remove unused code 2015-09-22 17:13:03 +02:00
Mateusz Skowroński
05f95c0506 Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00
wmayer
eb05da7cd7 + fixes #0001237: the project file is not saved when the /tmp directory is full, but the user is not aware of it 2015-09-19 18:59:22 +02:00
wmayer
dffaebd346 + check returned mdi view to be of the requested type 2015-09-16 16:15:19 +02:00
wmayer
fed9501489 + To avoid possible memory leaks or inconsistencies on Document::resetEdit() call finishEditing() of view provider inside document because the editing view could be closed already 2015-09-16 14:20:13 +02:00
wmayer
a2d8a5b0aa + add convenience method to get editing view of a view provider 2015-09-15 22:09:28 +02:00
wmayer
d9aa9e4bf1 + fixes #0000870: Center sketch to a constraint that has been double clicked in the constraint list. 2015-09-15 17:24:23 +02:00
Yorik van Havre
e122ea8bf7 Added SaveCopy command
This command saves a copy of the current document under a new name,
without modifying the document itself.

Available in menu File -> Save a Copy or from python with
FreeCAD.ActiveDocument.saveCopy(filename)
2015-09-02 13:38:14 -03:00
wwmayer
6bf065c097 + fix many minor warnings, activate -Wall for gcc 2015-08-02 22:32:18 +02:00
Abdullah Tahiri
8d9c23a6f2 Gui New Feature: Gui::Document support for App::Document undo and redo signals
==========================================================================

It defines new slots connected to App::Document's signalUndo/signalRedo, which
triggers Gui::Document's signalUndoDocument and signalRedoDocument signals.

setModified is not executed upon redo/undo, as this is already done on modification of the properties if
properties were modified, and if there were not, no setModified is needed anyway.
2015-06-15 22:55:49 +02:00
wmayer
c1492bf5a0 + whitespacee/typo fixes 2015-04-30 23:16:57 +02:00
wmayer
a77fd99e85 + add Document::sendMsgToFirstView, fix memory leak 2015-04-12 18:39:01 +02:00
wmayer
56234513b3 + fixes #0001678: Visibility property is ignored on drawing sheets 2015-01-03 17:09:17 +01:00
wmayer
6c72b4cb29 + fixes #0001885: Unhandled exception when trying to enter edit-mode for objects while drawing view is active 2014-12-31 14:08:03 +01:00
wmayer
54b006d810 + fixes #0001864: Support Command-D and Command-. on Mac OSX 2014-12-21 14:56:56 +01:00
wmayer
4815db267e + handle std::exception in Document::slotChangedObject 2014-12-16 15:06:40 +01:00
wmayer
4b29119eb7 + merge project on app level 2014-12-13 16:15:21 +01:00
wmayer
cd139eca5f + support of merging projects on App level 2014-12-07 00:38:53 +01:00
wmayer
64839751f4 + fix saving problem with file names containing an apostrophe 2014-11-15 22:45:56 +01:00
wmayer
e0d755b91d + share GL widgets when creating further 3d views of a document 2014-10-15 12:04:06 +02:00
wmayer
7226f436fc + fixes #0001726: Dialog for saving document should indicate documentname 2014-09-03 14:45:19 +02:00
wmayer
17ce376924 + code cleanup 2014-08-16 14:15:46 +02:00
wmayer
e131aa976e + on document load set camera setting of the MDI views 2014-08-12 00:07:16 +02:00