Commit Graph

1786 Commits

Author SHA1 Message Date
wmayer
ca77c54d10 rename status bit 'Delete' to 'Remove' as it fits better for its purpose, add new bit 'Destroy' 2017-09-13 15:47:48 +02:00
wmayer
161c820939 add example code to selection classes 2017-09-11 19:13:48 +02:00
Pablo Gil
a07790f0df updating Body, Part and Assembly icons 2017-09-09 18:29:53 +02:00
wmayer
3a0c3499e5 improve whitespaces 2017-09-09 18:07:46 +02:00
Stefan Tröger
3355942966 Prevent error messages when restoring a origin 2017-09-09 16:55:55 +02:00
Stefan Tröger
c14e508c74 Fix GeoFeatureGroup claimChildren in case some out-of-group item links to a child 2017-09-09 16:55:55 +02:00
Stefan Tröger
a65856c022 Ensure that GeoFeatureGroup claims children when a parent of it is deleted. fixes #0003150 2017-09-09 16:55:55 +02:00
Stefan Tröger
3e12f4b8c0 PartDesign: Prevent problems with link scopes during feature creation 2017-09-09 16:55:55 +02:00
Stefan Tröger
7829849104 Fix deleting a Part 2017-09-09 16:55:55 +02:00
Stefan Tröger
5da7aed8e1 Update Group/Part Icons and copy/paste behaviour 2017-09-09 16:55:55 +02:00
Stefan Tröger
f2249d1eb2 Prevent ViewProvider at toplevel when adding object to Group in GeoFeatureGroup 2017-09-09 16:55:55 +02:00
Stefan Tröger
0dd5f14918 Add new icons for Part and Group 2017-09-09 16:55:55 +02:00
Stefan Tröger
03721b91b8 Prevent crash on cyclic group relations. fixes #0002567 2017-09-09 16:55:55 +02:00
Stefan Tröger
553514bd15 Add group command to structure toolbar 2017-09-09 16:47:07 +02:00
Stefan Tröger
1a3fb02eb9 Move App::Part to a separate global toolbar 2017-09-09 16:47:07 +02:00
Stefan Tröger
97828a9ce5 Ensure viewprovider is shown after drop from claimChildren3D fixes #0003078 2017-09-09 16:47:07 +02:00
Stefan Tröger
81572d4a14 Tree: Adopt to special GeoFeatureGroup behaviours 2017-09-09 16:47:07 +02:00
triplus
f211c63da2 Add standard fullscreen mode 2017-09-08 13:15:46 +02:00
wmayer
938dae033e Improvements for PR973 to rename a macro:
+ remove check for write-protected macro because this still can be renamed
+ do nothing if the user didn't define a different file name
+ keep the item in the list view selected
2017-09-07 10:33:16 +02:00
apelly
a2465b8291 Add a rename option to the macro dialog
Forum thread: https://forum.freecadweb.org/viewtopic.php?f=8&t=24005
Fixes #3173
2017-09-07 10:31:35 +02:00
wmayer
8112926a2a show cursor for selection in Blender style when Ctrl is pressed while left-clicking 2017-09-05 08:36:43 +02:00
wmayer
501327d2c5 do not clear selection when clicking on empty space while Ctrl key is pressed 2017-09-04 22:53:15 +02:00
Pablo Gil
84754aef7e fixed typos kindly highlighted by @luzpaz 2017-09-01 11:25:02 -03:00
wmayer
ff4904e2f3 improve whitespaces 2017-08-31 23:01:34 +02:00
Yorik van Havre
b16b17ced2 Updated translation strings (and sent to crowdin) 2017-08-31 10:46:55 -03:00
wmayer
a5bf15b55d remove properties from transactions when being deleted 2017-08-28 21:20:17 +02:00
luzpaz
f7b8e070db Misc. typos discovered via crowdin
should close several crowdin issues.
2017-08-28 11:50:33 -03:00
Pablo Gil
a5322dfdcf Stylesheets: update to v.2.07
- several improvements and bugs fixed
- added Selector styles (by now it's a 3rd party plugin but for anyone that installs it, it will style the bar nicely)
- hide redundant info inside cells with links inside the Properties View
2017-08-28 11:42:28 -03:00
wmayer
dd66a9c9fc add method toFormat to get number format from character 2017-08-20 18:50:13 +02:00
Oliver Oxtoby
966fbf422b Base: Add properties to InputField for setting Quantity from Python
These additions are designed to allow easier interaction with the
InputField box from Python. Particularly, the ability to put the
format into scientific notation to prevent truncation of values.
There is also a need for a way to input a new value into the
text box such that it is formatted correctly.
- 'quantityString' property - allows to check, set, format and
display the underlying value. The only way to achieve this
currently from Python is to set the widget text, then hide and
re-show it to format the value.
- 'format' property: set to 'f' (fixed - default),
'e' (scientific) or 'g' (general - recommended)
to set the number format from Python or UI file
- 'precision' property: as above, number of decimals/significant
figures if it is desired to override the global default
2017-08-20 16:50:01 +02:00
Markus Lampert
604365a6b8 Do not overwrite tooltips for InputFields. 2017-08-20 10:22:33 +02:00
wmayer
1839adc7bf in selection view do not extract element names from item text but set and get user data 2017-08-15 19:51:41 +02:00
triplus
13e7946faf WhatsThis support for Python based commands
Enables What's This command for Python based FreeCAD commands.

Forum discussion:
https://forum.freecadweb.org/viewtopic.php?f=15&t=23865
2017-08-13 11:20:25 +02:00
joha2
c00fb315ba FEM: Fenics: issue #3038: fixes missing isatty() function in Python wrapper classes for stderr and stdout 2017-08-12 13:32:27 +02:00
Eivind Kvedalen
0684109663 ExpressionBinding/QuantitySpinBox: skip updating if bound to a read-only property. 2017-07-26 23:39:00 +02:00
Eivind Kvedalen
03c39f3a13 Added PropertyPosition and PropertyDirection classes. Basically PropertyVector classes with units. 2017-07-23 22:14:05 +02:00
wmayer
d5b77eb061 make link clickable as suggested in PR 892 2017-07-22 16:50:19 +02:00
Itai Nahshon
258ca0723d Add UnitsSchemaMmMin - izes are only in mm, speed in mm/munute. 2017-07-18 17:41:36 +02:00
wmayer
234df4e661 calling close() causes the MDI view to get deleted as soon as possible while deleteLater() waits until the GUI is responsive 2017-07-17 11:11:58 +02:00
wmayer
eb9a4ab21e add locale information to system information 2017-07-16 08:14:26 +02:00
wmayer
262759d371 add export macro, extend enum of class AbstractMouseSelection 2017-07-15 15:46:13 +02:00
luzpaz
117fe44b0c typo fix 2017-07-10 19:29:55 -03:00
luzpaz
ba17b99cfb typo fix 2017-07-10 19:29:55 -03:00
wmayer
9148412400 + exception handling in FreeCADGui.addModule 2017-07-07 09:58:28 +02:00
wmayer
2f5ff3186c fix for mixing up SchemeVersion and FileVersion 2017-07-06 17:59:01 +02:00
wmayer
75d6672159 fix some issues:
+ fix unicode <-> utf-8 conversion
+ fix translation issue
+ fix closing logic
2017-07-05 15:00:15 +02:00
Markus Hovorka
f9f2d8c31b Add TextDocument with full size editor
A new document object App::TextDocument. It has a property Text which
holds the text of the document as a string. This commit also contains a
full size editor based on QPlainTextEdit. It can only be used by the
TextDocument and has a read only mode invoked for read only documents
(ReadOnly property set to true). The editor is invoked by a double
click on the TextDocument.
2017-07-04 19:36:10 +02:00
Markus Lampert
c07fe542d7 Forward modifyStandardButtons into python task dialogs. 2017-06-21 11:41:35 -07:00
wmayer
90653787a6 various fixes:
+ fix typos
+ fix const correctness
+ whitespace improvements
2017-06-19 17:18:16 +02:00
Stefan Tröger
601d9bd8e3 Drag&Drop: Tree is responsible for undo/redo
The user expects to undo the drag and drop action with a single click (as it happens with a single drag&drop action). Hence the command must be handled by the tree, not the viewproviders.
2017-06-19 15:37:09 +02:00