Commit Graph

1073 Commits

Author SHA1 Message Date
Stefan Tröger
96a586d04a Expressions: Integrate into the property editor
- basic infrastructure for handling of expressions
- port the unit properties editor to support expressions
- port placement editor to support expressions
- expressions for double spinbox
- expressions in sketch constraints
2015-12-09 14:08:48 +01:00
wmayer
93a3dc0cdd + fix warnings with Win32 build 2015-12-01 00:51:57 +01:00
wmayer
201a121ce0 + fixes #0001860: Can not open a FreeCAD project in FreeCAD by double-clicking the project file on Macintosh 2015-11-29 15:36:47 +01:00
wmayer
96611d0a71 + correctly handle toggle selection in BRep shape nodes 2015-11-28 16:21:20 +01:00
Pablo Gil
127442be75 Adds the ViewFitSelection to the main toolbar (improves usability) 2015-11-27 10:59:15 +01:00
wmayer
0a120ba84d + do view fit only on file import if document was empty 2015-11-26 20:24:00 +01:00
Yorik van Havre
d5a6120f7d Relocated the WB switcher to its original location 2015-11-26 09:11:39 -02:00
Yorik van Havre
ea2549d1a6 Added automatic Ctrl+Number shortcuts for the 10 first woekbenches 2015-11-26 09:11:39 -02:00
Yorik van Havre
199f16f4c8 Split workbench selector and placed it left 2015-11-26 09:11:39 -02:00
wmayer
5427fad693 + Add Python example of embedding FreeCAD 2015-11-20 22:35:26 +01:00
wmayer
e6cafe2206 + set object name to tool buttons with popup menu 2015-11-17 18:39:23 +01:00
wmayer
6ea05d01b9 + fix build failure with gcc 2015-11-16 23:21:47 +01:00
wmayer
ba053abec9 + support of adding/removing dynamic properties in property editor 2015-11-16 22:47:29 +01:00
wmayer
0ec8dd48b1 + property editor handles case when dynamic property is removed 2015-11-16 15:24:36 +01:00
wmayer
0cddf520d0 + make isReadOnly & isHidden of PropertyContainer non-virtual 2015-11-14 02:07:57 +01:00
Eivind Kvedalen
68fc3b5917 QuantitySpinBox: Make sure Python code is emitted also when expressions are not used.
In that case, the property should be set directly.
2015-11-13 20:26:13 +01:00
wmayer
6a3d7fac55 + fix documentation of task dialog 2015-11-09 19:22:19 +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
ea252c7426 + implement mechanism to allow only a single application instance 2015-11-05 15:56:50 +01:00
wmayer
143add5d1b + move GuiApplication class into its own source files 2015-11-04 22:04:48 +01:00
wmayer
123f182c96 + support of drag'n'drop for custom view provider 2015-11-03 16:21:51 +01:00
wmayer
3ae14cb798 + extend interface of Document.setEdit() according to the doc string 2015-11-03 12:36:29 +01:00
wmayer
4295d6f8bd + fixes #0002306: Allow *.py files in the Customize/Macros/Macro dropdown 2015-10-26 09:42:27 +01:00
wmayer
2180f02f1c + fix comment, convert native separators to UNIX separators 2015-10-25 14:16:38 +01:00
Przemo Firszt
a4c8a562ff GUI: improve App::PropertyPath directory selector
Editing direcotry in lineEdit was open to escaped character problems
i.e. \t or \n which can be pert of notmal directory path were converted
to tab or new line. Also leaving the lineEdit without hitting Enter was
discarding changes.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-25 12:46:19 +01:00
Przemo Firszt
22451eb9ac GUI: Add completer to directory selector
Directory selector now suggest directory names

Probably similar fixes should be applied to FileChooser in File mode

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:27:51 +02:00
Przemo Firszt
e56fd5b660 GUI: Fix invalid selection mode in PropertyPathItem::createEeditor
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:27:51 +02:00
wmayer
7ee9bbcd8c + make Python API of Selection consistent to C++ API 2015-10-18 19:50:47 +02:00
wmayer
c5f6687872 + improve active document handling 2015-10-18 19:35:15 +02:00
wmayer
bd9d1d91c1 + allow that an object cannot be set to edit mode 2015-10-18 16:09:25 +02:00
wmayer
f0e1df82ed + Allow to select item in completion box with mouse 2015-10-17 13:40:47 +02:00
wmayer
787fc283b5 + fixes #0002297: 'Export to PDF...' from drawing view does not show an error if existing file can not be overwritten 2015-10-17 00:31:30 +02:00
wmayer
f46dc20fca + fix & suppress msvc warnings 2015-10-16 18:26:30 +02:00
wmayer
f6023d36d2 + rework BoundingBox class and its Python binding 2015-10-11 00:18:53 +02:00
wmayer
c5192299f7 + fix warning 2015-10-10 09:48:45 +02:00
wmayer
19bbce6413 + when running a bound macro check if file exists, proper unicode handling of macros in customize dialog 2015-10-08 12:37:30 +02:00
wmayer
60cffb685e + When adding new commands to custom toolbar set user data if required in order to move them up/down 2015-10-08 11:13:10 +02:00
wmayer
5f5817b033 + Prefer prefix ++/-- operators for non-primitive types 2015-10-07 14:29:49 +02:00
wmayer
de41dc46ec + Prefer prefix ++/-- operators for non-primitive types 2015-10-07 13:38:17 +02:00
wmayer
963bebe696 + fixes #0002287: Entry Point Not Found IsWow64Process 2015-10-07 10:24:35 +02:00
wmayer
51e4eebbc6 + Prefer prefix ++/-- operators for non-primitive types 2015-10-06 21:16:44 +02:00
wmayer
b374fcb6ef + split file extension from descriptive text of file format to avoid that invalid translation breaks file dialog 2015-10-06 18:45:06 +02: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
094b3b9d70 + remove SubWindow flag on OSX to put the expression input on top and get focus 2015-10-04 12:54:25 +02:00
wmayer
7548e4cb30 + fix clang warnings 2015-10-02 23:32:01 +02:00
wmayer
918d42c856 + fix build failure on Windows 2015-09-30 16:37:48 +02:00
Eivind Kvedalen
185a0916ef SpinBox: Added expression binding functionality. 2015-09-30 15:54:18 +02:00
Eivind Kvedalen
f33ce91c8f QuantitySpinBox: Moved getIcon() and some data members to ExpressionBinding class.
Conflicts:
	src/Gui/QuantitySpinBox.cpp
2015-09-30 15:54:17 +02:00
Eivind Kvedalen
273698307e QunatitySpinBox: Removed unused code. 2015-09-30 15:54:16 +02:00
wmayer
6eb0442826 + always save macro before executing 2015-09-29 10:00:23 +02:00