Commit Graph

57 Commits

Author SHA1 Message Date
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
wmayer
1767be704f + fixes #0001332: Allow copy-paste on elements in Project tree 2014-03-16 11:22:42 +01:00
tanderson
b7a41fa382 implemented 2014-01-16 10:27:21 -02:00
wmayer
668f337963 + Fix typo 2013-12-30 12:57:08 +01:00
wmayer
85f4a35b61 +Add method to get mdi view by view provider, add method to get flag widgets 2013-11-22 15:14:15 +01:00
wmayer
b7dbc2f047 +Fix crash when loading object without view provider 2013-09-26 17:43:27 +02:00
jriegel
ec0a5ccb0c Merge branch 'refs/heads/double-precision-werner'
Conflicts:
	src/App/Document.cpp
	src/App/PropertyGeo.cpp
	src/App/PropertyStandard.cpp
	src/Base/Reader.cpp
	src/Base/Reader.h
	src/Gui/propertyeditor/PropertyItem.cpp
	src/Mod/Fem/Gui/ViewProviderFemMesh.cpp
	src/Mod/Inspection/Gui/ViewProviderInspection.cpp
	src/Mod/Mesh/App/MeshProperties.cpp
	src/Mod/Part/App/TopoShapeFacePyImp.cpp
	src/Mod/PartDesign/App/FeatureRevolution.cpp
2013-09-26 00:05:05 +02:00
jriegel
abf1623f07 Add SchemaVersion to RestoreDocFile to distinquish double from float binary 2013-09-24 11:01:09 +02:00
Yorik van Havre
4005b199e0 0001102: Updated all links to old freecad homepage and wiki to the new ones 2013-09-15 17:04:42 -03:00
wmayer
b737eeb52d Use rubberband for box selection 2013-07-02 10:04:33 +02:00
wmayer
6deb50ba57 Replace native file dialog with Qt's file dialog on Linux 2013-06-29 15:11:48 +02:00
wmayer
eafd67e74d + Make transient directory of the form ExeName_Doc_{UUID}_{HASH}_{PID}
+ Set some properties in Document read-only

+ Implement Document::saveAs

+ Fix PropertyUUID::setValue()

+ Add a field for UUID in document information panel
2013-05-04 03:16:34 +02:00
wmayer
8eb07e0184 Make information if tree item is expanded/collapsed persistent 2013-04-29 14:30:26 +02:00
wmayer
bb63f7a4d5 Remove FileVersion from RestoreDocFile, convert point data back to floats 2013-03-29 15:23:51 +01:00
jrheinlaender
ad6444053b Added FileVersion attribute to XML format to distinguish legacy float binary files from new double binary files 2013-03-27 11:47:18 +04:30
jriegel
61914bc772 Add all base system changes from the Assembly branch 2013-02-10 20:02:33 +01:00
wmayer
9c61558ffc Add thickness function 2012-11-26 21:10:09 +01:00
wmayer
2f690378ac Reset modified flag after document is loaded, touch pad/pocket if its Type has changed 2012-11-06 21:12:39 +01:00
wmayer
b2d9026e7c Prepare sketch solver messages to be translated 2012-10-30 13:51:08 +01:00
wmayer
71bf1db879 Optimize loading of projects with many document objects 2012-10-29 20:11:30 +01:00
wmayer
bc4a3b0c76 0000665: Follow up 0000640: This file crashes FreeCAD UI latest Git 2012-10-01 13:58:40 +02:00
wmayer
17c374b704 0000813: set colors dialog crash 2012-08-07 10:59:54 +02:00
wmayer
8080baa536 0000789: Sketcher active in one document blocks closing another. 2012-07-11 17:24:53 +02:00
wmayer
847c44e6bb 0000736: when object is deleted, auto show its parametric objects 2012-07-07 13:32:27 +02:00
wmayer
77ad759b73 Enhance Branding 2012-07-02 17:04:13 +02:00