Commit Graph

118 Commits

Author SHA1 Message Date
wmayer
9e5b31fe2a add missing comma separator in list 2018-09-03 21:33:06 +02:00
wmayer
bb9d737ba1 when adding a dynamic property to the editor then move it to the correct group or create a new group 2018-08-25 13:26:14 +02:00
wmayer
24579fff32 Py3: fix PropertyStringListItem::setValue 2018-08-23 17:46:27 +02:00
Yorik van Havre
11b3f66202 Escape single quotes in PropertyStringList 2018-03-19 13:35:50 -03:00
wmayer
cc00dc85d0 #3325: DlgPropertyLink as editor of Tip property 2018-01-28 22:37:03 +01:00
wmayer
62819fec2a consistently add Q_OBJECT macro to all sub-clases of PropertyItem 2018-01-01 19:15:02 +01:00
wmayer
bd4736bf0d implement PropertyConstraintListItem::assignProperty to add item for each datum constraint 2017-12-30 19:49:34 +01:00
wmayer
28f7047bff use getRawValue in property editor to avoid normalizing the rotation axis 2017-12-13 17:00:38 +01:00
wmayer
f9892009f6 fixes #0003281: STL object doesn't retain its rotation after change 2017-12-12 21:46:18 +01:00
wmayer
fcb5b9cde1 in PropertyStringItem prepare input string for assignment via Python 2017-11-26 17:51:20 +01:00
Travers Carter
c71b579f97 Span property group headers across all cells to avoid text truncation
Render the background of property value editor widgets to avoid cell contents showing through the editor
2017-11-26 10:23:03 +01:00
wmayer
868d9cc6c2 improve whitespaces 2017-11-24 15:43:28 +01:00
wmayer
3b957a12b5 various minor changes:
+ whitespace improvement
+ code cleanup
2017-11-21 17:51:22 +01:00
wmayer
fb58d4b640 avoid normalizing axis of placement while changing it in property editor 2017-10-13 14:22:19 +02:00
wmayer
e3d8daac4c handle expression exception in property item, do not pass through event loop 2017-10-07 21:52:48 +02:00
Peter Lama
556d68680e Fix macOS button layout in property editor
The size of the "..." button calculated by QMacStyle was not correct,
causing other widgets in the layout to be clipped.

Also, set the size of all "..." buttons the same way.
2017-09-26 10:56:55 -03:00
wmayer
22ac03a5b5 property editor for PropertyLinkList 2017-09-23 18:03:03 +02:00
Eivind Kvedalen
f8a76066da Added PropertyPosition and PropertyDirection classes. Basically PropertyVector classes with units. 2017-07-23 22:14:05 +02:00
Yorik van Havre
a967c41b0b Small improvements to the PropertyLink editor
* The "Edit" link is now a button, same as the Placement editor
* Added a "None" entry on top of the Link dialog
2017-04-17 23:00:14 -03:00
Zheng, Lei
378f99f1b3 Added App::PropertyPrecision
The purpose of this property and the associated property item is to
properly display floating value of many decimal points, such as
Precision::Confusion()
2017-03-15 10:46:32 -03:00
wmayer
45bf8ed91e fix -Wunused-private-field, -Woverloaded-virtual 2017-03-05 10:10:53 +01:00
Kunda
19f8fd4c10 source typo fixes pt5
+ cleaning up some more non-short-URLs
Issue #2914
2017-03-04 13:07:13 -03:00
Yorik van Havre
bce02da0e3 Using system link color in property editor 2017-01-19 23:42:20 -02:00
wmayer
d2677d4c17 allow to translate property names 2016-12-29 14:20:55 +01:00
wmayer
938daf5c6d show expressions in axis of placement in property editor 2016-12-22 11:45:18 +01:00
wmayer
bb7e662e7c issue #0002673: Not memorize the rotation 2016-12-19 17:32:39 +01:00
wmayer
72ab17fb48 fix typos 2016-12-19 14:07:35 +01:00
wmayer
433202a881 drop inheritance of PropertyItem from BaseClass 2016-12-13 14:53:43 +01:00
wmayer
d18ad183f9 remove superfluous conversion methods 2016-12-12 17:30:13 +01:00
wmayer
b2487828f0 Qt4/Qt5 neutral changes:
+ change inheritance of PropertyItem to not derive from BaseClass (and QObject) any more to fix crashes with Qt5
2016-12-12 17:01:26 +01:00
wmayer
07943d2a9a Qt4/Qt5 neutral changes:
+ move meta types to own header to avoid double declaration
2016-12-12 15:22:34 +01:00
wmayer
d2cb4e4af9 Qt4/Qt5 neutral changes:
+ remove QCoreApplication::UnicodeUTF8/QApplication::UnicodeUTF8
+ remove QCoreApplication::CodecForTr/QApplication::CodecForTr
2016-12-12 14:52:09 +01:00
wmayer
88485684a5 improve unicode support for enumeration properties 2016-11-14 15:22:21 +01:00
wmayer
9fe82bfbb9 fixes #0002460: Use keyword 'explicit' for Quantity constructor 2016-11-05 23:21:42 +01:00
wmayer
9ac1810ea3 Fix issues:
+ improve formatting
+ remove superfluous semicolons
+ comment unused parameters
+ rename Initialisation to Initialization
+ rename Deinitialisation to Finalization
+ remove spaces
2016-10-08 12:48:34 +02:00
Stefan Tröger
15b14783d1 Extensions: Handle static/dynamic cast
After the change of the virtual inheritance position in the inheritance chain some
formally added dynamic_cast's can be reverted to the old behaviour
2016-10-08 12:48:34 +02:00
Stefan Tröger
258be36aad Extensions: Handle new dynamic_cast's 2016-10-08 12:48:34 +02:00
Stefan Tröger
1287f3007a Extensions: Fix rebase errors 2016-10-08 12:48:34 +02:00
Stefan Tröger
c5a2419e14 Extensions: Introduce classes and port App groups 2016-10-08 12:48:34 +02:00
wmayer
f19d424d8b fix -Wextra in FreeCADGui 2016-09-21 20:54:52 +02:00
wmayer
afa37847b5 remove Application::runPythonCode 2016-09-15 23:14:31 +02:00
wmayer
61f663d117 issue #0002524: Make property docstrings translatable 2016-09-08 18:29:27 +02:00
wmayer
e2345374ca use lower epsilon for double value in property editor 2016-08-15 10:59:27 +02:00
wmayer
f5b707e9a2 + implement PropertyMaterialListItem 2016-05-08 19:28:02 +02:00
wmayer
e2d780a14d + property editor for material 2016-05-08 17:51:21 +02:00
wmayer
77f667fcde + fix possible crash in some property editors 2016-05-07 22:59:19 +02:00
wmayer
8bbc642115 + editor for PropertyMaterial 2016-05-07 22:11:37 +02:00
Yorik van Havre
a38a78f6d6 Allow to enter empty values in PropertyFloatList and PropertyIntegerList - issue #2535 2016-04-29 23:00:11 -03:00
wmayer
0ec81d2760 + add properties with 'hidden' mode to property editor but hide the item 2016-03-05 18:24:58 +01:00
wmayer
948ccac021 + dynamically hide/show and enable/disable item in property editor 2016-03-05 13:13:23 +01:00