wmayer
991394dc76
+ improve exception handling in initialization scripts
2015-12-29 23:42:29 +01:00
Yorik van Havre
1e5b8d66ba
Renamed menu View->Views to View->Panels
2015-12-28 12:02:20 -02:00
wmayer
b45f321f9c
+ issue: #0002350 , handle Python's SystemExit exceptions and do not exit application when running from macro dialog or Python editor
2015-12-27 23:00:59 +01:00
wmayer
214306edc8
+ whitespace improvement
2015-12-27 19:16:05 +01:00
Mateusz Skowroński
83bcbebe5f
Add missing QMimeData.h includes.
...
This change is Qt4/Qt5 neutral.
2015-12-24 13:36:46 +01:00
Mateusz Skowroński
803a845242
qVariantValue() is obsolete in Qt4. Replace it with equivalent QVariant::value<T>(value).
...
This change is Qt4/Qt5 neutral.
2015-12-24 12:49:26 +01:00
Mateusz Skowroński
9fe645d660
QFileDialog::selectFilter() is obsolete in Qt4. Replace it with selectNameFilter().
...
This change is Qt4/Qt5 neutral.
2015-12-24 12:49:08 +01:00
Mateusz Skowroński
984f4e335b
QFileDialog::filters() is obsolete in Qt4. Replace it with nameFilters().
...
This change is Qt4/Qt5 neutral.
2015-12-24 12:48:49 +01:00
Mateusz Skowroński
1858400e61
QInputDialog::getInteger() is obsolete in Qt4. Replace it with getInt().
...
This change is Qt4/Qt5 neutral.
2015-12-22 14:18:47 +01:00
Mateusz Skowroński
eef82c47e7
QFileDialg::selectedFilter() is obsolete in Qt4. Replace it with selectedNameFilter().
...
This change is Qt4/Qt5 neutral.
2015-12-22 14:18:46 +01:00
Mateusz Skowroński
25e68f180c
QFileDialg::setFilters() is obsolete in Qt4. Replace it with setNameFilters().
...
This change is Qt4/Qt5 neutral.
2015-12-22 14:18:45 +01:00
Mateusz Skowroński
c7ddc3fd9a
QWidget::setShown() is obsolete in Qt4. Replace it with setVisible().
...
This change is Qt4/Qt5 neutral.
2015-12-22 14:18:45 +01:00
Mateusz Skowroński
862b75b10b
Add missing forward declaration of QPrinter to MDIView.h.
...
This change is Qt4/Qt5 neutral.
2015-12-22 05:44:52 +01:00
Ian Rees
432e2ff121
Fixed paths for 3Dconnexion headers on Mac
2015-12-19 15:08:54 +13:00
Yorik van Havre
fc5c96c537
Changed default shortcuts for 10 first workbenches from CTRL+number to ALT+CTRL+number
2015-12-18 10:39:27 -02:00
wmayer
9f472f5c41
+ improve getting proper group name from Python module path name
2015-12-17 18:56:40 +01:00
wmayer
0dad1fac15
+ improve getting proper group name from Python module name
2015-12-17 10:41:01 +01:00
wmayer
32377b7635
+ use Python's inspect module to get calling instance of addCommand
2015-12-16 23:07:24 +01:00
wmayer
b3190ca956
+ improve autoload mechanism to get commands of custom toolbars
2015-12-16 21:19:12 +01:00
wmayer
01889f9c9f
+ limit display role of property list items to 10 elements
2015-12-13 12:01:16 +01:00
wmayer
b18d4c2f42
+ fix: -Wunused-variable
2015-12-09 16:52:47 +01:00
Stefan Tröger
2c249e69f2
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
08b1c4619e
Expressions: port int spinbox for property editor
2015-12-09 14:08:49 +01:00
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