Stefan Tröger
dcad131357
Expressions: Fix property editor behavior
...
- change responsibility of python code emition
- Correct python code handling for expressions
- handle constraints expressions handling
2015-12-09 14:08:50 +01:00
Stefan Tröger
580a4e15d1
Expressions: port int spinbox for property editor
2015-12-09 14:08:49 +01:00
Stefan Tröger
4203a6f35b
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
2b2358e70b
+ fix warnings with Win32 build
2015-12-01 00:51:57 +01:00
wmayer
76c238fc98
+ 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
6111f55a89
+ correctly handle toggle selection in BRep shape nodes
2015-11-28 16:21:20 +01:00
Pablo Gil
8b745b3751
Adds the ViewFitSelection to the main toolbar (improves usability)
2015-11-27 10:59:15 +01:00
wmayer
559194edab
+ do view fit only on file import if document was empty
2015-11-26 20:24:00 +01:00
Yorik van Havre
e0f3bb00b8
Relocated the WB switcher to its original location
2015-11-26 09:11:39 -02:00
Yorik van Havre
3d6869bf68
Added automatic Ctrl+Number shortcuts for the 10 first woekbenches
2015-11-26 09:11:39 -02:00
Yorik van Havre
7c5e8d58cb
Split workbench selector and placed it left
2015-11-26 09:11:39 -02:00
wmayer
2362239edf
+ Add Python example of embedding FreeCAD
2015-11-20 22:35:26 +01:00
wmayer
3268acf9a2
+ set object name to tool buttons with popup menu
2015-11-17 18:39:23 +01:00
wmayer
a839a13b59
+ fix build failure with gcc
2015-11-16 23:21:47 +01:00
wmayer
1225a7ac06
+ support of adding/removing dynamic properties in property editor
2015-11-16 22:47:29 +01:00
wmayer
ba21766096
+ property editor handles case when dynamic property is removed
2015-11-16 15:24:36 +01:00
wmayer
53d323b5e0
+ make isReadOnly & isHidden of PropertyContainer non-virtual
2015-11-14 02:07:57 +01:00
Eivind Kvedalen
081bc6b107
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
dff58e5df3
+ fix documentation of task dialog
2015-11-09 19:22:19 +01:00
wmayer
d3280a0b82
+ 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
3d8d6eca5e
+ implement mechanism to allow only a single application instance
2015-11-05 15:56:50 +01:00
wmayer
899199daf5
+ move GuiApplication class into its own source files
2015-11-04 22:04:48 +01:00
wmayer
919d47015a
+ support of drag'n'drop for custom view provider
2015-11-03 16:21:51 +01:00
wmayer
06d3926603
+ extend interface of Document.setEdit() according to the doc string
2015-11-03 12:36:29 +01:00
wmayer
8fa41edc04
+ fixes #0002306 : Allow *.py files in the Customize/Macros/Macro dropdown
2015-10-26 09:42:27 +01:00
wmayer
a3cd03ac03
+ fix comment, convert native separators to UNIX separators
2015-10-25 14:16:38 +01:00
Przemo Firszt
89b74a5231
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
0b310174ee
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
8c93b29737
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
5e48d2ec33
+ make Python API of Selection consistent to C++ API
2015-10-18 19:50:47 +02:00
wmayer
969b43bb64
+ improve active document handling
2015-10-18 19:35:15 +02:00
wmayer
9257e9471f
+ allow that an object cannot be set to edit mode
2015-10-18 16:09:25 +02:00
wmayer
b6c2f8f822
+ Allow to select item in completion box with mouse
2015-10-17 13:40:47 +02:00
wmayer
efd3a494d7
+ 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
9abedaf0d2
+ fix & suppress msvc warnings
2015-10-16 18:26:30 +02:00
wmayer
a4d1dbe5f0
+ rework BoundingBox class and its Python binding
2015-10-11 00:18:53 +02:00
wmayer
f295ac470a
+ fix warning
2015-10-10 09:48:45 +02:00
wmayer
c133457da5
+ 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
52957ffcb5
+ 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
7ca6bb4072
+ Prefer prefix ++/-- operators for non-primitive types
2015-10-07 14:29:49 +02:00
wmayer
b7be7aec13
+ Prefer prefix ++/-- operators for non-primitive types
2015-10-07 13:38:17 +02:00
wmayer
4909d628f5
+ fixes #0002287 : Entry Point Not Found IsWow64Process
2015-10-07 10:24:35 +02:00
wmayer
f53a691bba
+ Prefer prefix ++/-- operators for non-primitive types
2015-10-06 21:16:44 +02:00
wmayer
48bf07e622
+ 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
967eead27a
+ 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
c5246875b1
+ remove SubWindow flag on OSX to put the expression input on top and get focus
2015-10-04 12:54:25 +02:00
wmayer
36dd6946a9
+ fix clang warnings
2015-10-02 23:32:01 +02:00
wmayer
232623d372
+ fix build failure on Windows
2015-09-30 16:37:48 +02:00
Eivind Kvedalen
cbb4c52310
SpinBox: Added expression binding functionality.
2015-09-30 15:54:18 +02:00
Eivind Kvedalen
014bb5b519
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
5826a6ccb3
QunatitySpinBox: Removed unused code.
2015-09-30 15:54:16 +02:00
wmayer
d248e8f914
+ always save macro before executing
2015-09-29 10:00:23 +02:00
wmayer
ee28daa669
+ replace old C casts with static_cast in generated C++ code, remove unused parent structure of Python classes, support of -1 as return value of setCustomAttributes
2015-09-27 22:08:08 +02:00
wmayer
cff628737b
To see if the DlgExpressionInput can be closed check if it's under the cursor
...
Add some test code to deal with modal dialogs on Windows
2015-09-27 16:56:44 +02:00
wmayer
cc446b1c5a
+ fix gcc warnings
2015-09-27 11:25:39 +02:00
wmayer
309373c404
+ fix transparent background for Windows systems
...
+ set application-wide event filter and handle mouse press events
+ fix expressPosition() to return exact position of line edit
+ fix warnings in ui file
+ use DlgExpressionInput as non-modal dialog in QuantitySpinBox
2015-09-26 19:36:11 +02:00
Stefan Tröger
98ed315b2d
Enhance expression icon
...
- fix size and position on kubuntu
- different icon for set or unset expression for better visual feedback
2015-09-26 19:09:07 +02:00
Stefan Tröger
ae033fc046
Fix usability bugs of new expression input
...
- click on background closes popup
- size on open is now correct if expression is set initially
2015-09-26 19:09:07 +02:00
Stefan Tröger
96998d390a
first take on alternative expression ui input dialog
2015-09-26 19:09:07 +02:00
wmayer
29c8e82dae
+ fixes unicode support in expression engine
2015-09-24 13:10:54 +02:00
Eivind Kvedalen
89df605c3b
Expression editor: Qt-workaround for '='-key; compare with text() instead.
2015-09-24 09:53:14 +02:00
Eivind Kvedalen
0894d5bdae
ExpressionCompleter: Skip all types of links when building completer model.
2015-09-24 09:52:45 +02:00
Yorik van Havre
de1bdefc7c
Merge pull request #49 from pgilfernandez/pablogil-maya
...
New Maya navigation style
2015-09-23 20:05:05 -03:00
Eivind Kvedalen
28fe9b481d
QuantitySpinBox: Fixed placement of expression editor pop-up.
2015-09-23 18:48:22 +02:00
wmayer
b33be62bb6
+ rename signal to signalRelabelObject and remove unused code
2015-09-22 17:13:03 +02:00
Mateusz Skowroński
43a4a5938c
Fix files encoding. Go from ISO8859-1 to UTF-8.
2015-09-21 19:50:49 -03:00
Eivind Kvedalen
cea2e62f57
Added QStyledItemDelegate to Qt4All.h
2015-09-21 14:51:09 +02:00
Eivind Kvedalen
897f8b78b8
Added expression support to QuantitySpinBox and InputField classes.
2015-09-21 14:51:08 +02:00
Eivind Kvedalen
31a6fece52
Added ExpressionCompleter class.
2015-09-21 14:51:07 +02:00
wmayer
ee59f1263c
+ if translation of group is done do not overwrite
2015-09-20 17:00:21 +02:00
wmayer
433efbc115
+ fix possible crash in debug mode
2015-09-20 16:59:17 +02:00
wmayer
cda9bf9ed5
+ allow to set a default action for an exclusive group
2015-09-20 15:47:11 +02:00
wmayer
ec91085765
+ duplicate string array for Python commands
2015-09-20 14:11:53 +02:00
wmayer
bd105711d4
+ delete helper file for copy/paste on application exit
2015-09-19 22:10:49 +02:00
wmayer
b9a512361d
+ by default create a zip file for auto-save
2015-09-19 21:32:17 +02:00
wmayer
7d09444dd9
+ 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
bd1fc886fe
+ fix typo
2015-09-19 17:03:38 +02:00
wmayer
2991bbf033
+ fixes #0001238 : Preferences: set temp files directory
2015-09-19 16:07:33 +02:00
wmayer
e5c3a09502
+ for file-based recovery write the data files in worker threads
2015-09-19 13:12:59 +02:00
wmayer
848f9c4d46
+ implement file based auto-save & recovery mechanism
2015-09-19 01:13:33 +02:00
wmayer
8db1280a4d
+ make RecoveryWriter more robust
2015-09-18 15:32:33 +02:00
wmayer
bb05d17596
+ implement FileWriter class based on files and a specialized sub-class for recovery purposes
2015-09-17 21:37:47 +02:00
wmayer
300e176eb3
+ fixes #0002268 : Segmentation Fault when using sketcher
2015-09-17 13:31:10 +02:00
wmayer
32367b1744
+ save Brep in binary format for recovery files
2015-09-16 22:58:47 +02:00
wmayer
739e643f2f
+ check returned mdi view to be of the requested type
2015-09-16 16:15:19 +02:00
wmayer
b9797ec92a
+ 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
6dfc395a06
+ fix method ViewProviderDocumentObject::getActiveView()
...
+ fix SoAutoZoomTranslation and SoZoomTranslation to get correct scaling factor
(do not rely on active view because this can be the wrong one and thus delivers wrong results)
2015-09-16 11:32:35 +02:00
wmayer
470b9ff756
+ add convenience method to get editing view of a view provider
2015-09-15 22:09:28 +02:00
wmayer
cbfdfd5c2e
+ proper Python exception handling in Gui.doCommand(Gui)
2015-09-15 18:36:15 +02:00
wmayer
5652ca2c61
+ fix crash due to sloppy reference counting
2015-09-15 18:19:36 +02:00
wmayer
fa1d43345a
+ fixes #0000870 : Center sketch to a constraint that has been double clicked in the constraint list.
2015-09-15 17:24:23 +02:00
wmayer
b28680f3d8
+ fixes #0002150 : [Ctrl]+[Z] is buffered in a non-intuitive way, does not function in 'edit mode'
2015-09-15 14:30:15 +02:00
wmayer
29f827a575
+ do not update item while editor is active
2015-09-15 00:30:28 +02:00
wmayer
a7012575d4
+ fixes #0002106 : Add 'Default' option in Preferences
2015-09-15 00:12:40 +02:00
Yorik van Havre
163d206513
Updated ts files
2015-09-14 14:31:47 -03:00
wmayer
718982cdcf
+ fixes #0002223 : Units not displaying correctly
2015-09-14 15:57:35 +02:00
wmayer
c135ca40a5
+ fixes #0002222 : Number of normals in exported VRML is wrong
2015-09-14 14:45:34 +02:00
wmayer
b9865ed4f1
+ fixes #0002209 : Files that have a dot in name do not get the extension
2015-09-13 21:25:18 +02:00
wmayer
337a84328d
+ fixes #0002160 : Customised keyboard shortcuts: D, U conflict
2015-09-13 18:29:21 +02:00
wmayer
9f5283d001
+ fixes #0001941 : Refresh Property Editor
2015-09-13 15:53:59 +02:00