Commit Graph

1125 Commits

Author SHA1 Message Date
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
wmayer
043dc1616d + fixes #0002197: Buggy Placement dialog when using Euler angles 2015-09-13 15:17:44 +02:00
wmayer
ec898944af + don't use hardcoded height in PropertyItemDelegate::sizeHint 2015-09-11 10:35:48 +02:00
wmayer
003199d6df + fix possible loss of data with recovery function, show auto-save message in status bar 2015-09-09 18:49:45 +02:00
wmayer
cff386e210 + easier way to change license and url of an existing document 2015-09-09 13:53:07 +02:00
wmayer
bd94486c7e + fix inconsistencies between license note and url 2015-09-08 19:17:36 +02:00
Yorik van Havre
98e9dd08ac Preferences->Document->License URL field is now editable 2015-09-07 20:10:02 -03:00
Mateusz Skowroński
b4e3fcb428 Fix for bugs #2236 & #2237 2015-09-07 15:28:18 -03:00
wmayer
134acba916 + fix switching to another mdi view when using the sketcher creation command from task panel 2015-09-04 21:34:26 +02:00
wmayer
568f2634fe + fix switching to another mdi view when using the sketcher creation command from task panel 2015-09-04 21:06:56 +02:00
wmayer
16f813281c + issue #0000175: Auto save function 2015-09-04 17:53:22 +02:00
wmayer
9cb63295e9 + issue #0000175: Auto save function 2015-09-04 15:08:12 +02:00
wmayer
9253572afe + implement GUI to enable/disable auto-save and its timeout 2015-09-04 00:48:26 +02:00
wmayer
60b555d64b + implement auto-save function for documents 2015-09-03 19:09:03 +02:00
wmayer
26b424e776 + support of exclusive Python command groups 2015-09-02 22:52:04 +02:00
Yorik van Havre
a90fd14fe7 Merge branch 'master' of github.com:FreeCAD/FreeCAD 2015-09-02 13:41:32 -03:00
Yorik van Havre
da2c497671 Added SaveCopy command
This command saves a copy of the current document under a new name,
without modifying the document itself.

Available in menu File -> Save a Copy or from python with
FreeCAD.ActiveDocument.saveCopy(filename)
2015-09-02 13:38:14 -03:00
wmayer
49dfb24267 + Fix suffix for Korean 2015-09-02 18:06:14 +02:00
Yorik van Havre
9426a77690 Fixed crash when empty lines in App::Annotation - fixes #2016 2015-09-01 11:48:08 -03:00
Yorik van Havre
e19e7336cd Added new property type: App::PropertyVectorDistance
This works exactly as a normal PropertyVector, but it
uses the Units-enabled GUI editor instead.
2015-08-31 22:57:29 -03:00
Przemo Firszt
bade81ddcf Doc: Quarter doc main page is not FreeCAD documentation main page
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-08-30 11:59:21 +02:00
wmayer
cb16fec6bb + fix various warnings 2015-08-29 22:05:09 +02:00
Alexander Golubev
4326c9657e Gui: fix constructor arguments due to prototype change
Warning message was:
src/Gui/DownloadManager.cpp|295 col 54| warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
2015-08-29 18:35:55 +02:00
Alexander Golubev
80941aa0e0 Gui & Mod/Sketcher: use fabs() instead abs()
Warnings was like:
src/Mod/Sketcher/Gui/DrawSketchHandler.cpp|350 col 28| warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
Also see:
http://forum.freecadweb.org/viewtopic.php?t=10920
http://forum.freecadweb.org/viewtopic.php?f=10&t=5258
2015-08-29 18:35:54 +02:00
wmayer
a801fb20b8 + disable SVG and IDTF export for 3d view 2015-08-26 22:11:53 +02:00
wmayer
99fc24ea07 + fixes #0002221 2015-08-26 19:24:00 +02:00
wmayer
84a65a53ef + remove method View3DInventor::dumpSelection 2015-08-26 18:58:59 +02:00
wmayer
04cb2d4411 + code refactoring for VRML and Inventor export 2015-08-26 18:55:14 +02:00
wmayer
a7a1edbc64 + restore old axonometric behaviour 2015-08-26 13:44:01 +02:00
wmayer
27dc80c846 + support of checkable commands 2015-08-25 18:01:37 +02:00
wmayer
1e745a6a6f + improve formatting 2015-08-25 15:11:42 +02:00
Yorik van Havre
62c0a19071 Added preferences setting for default App::Annotation color 2015-08-13 23:12:00 -03:00
wmayer
4dee0663c3 + test command to show race conditions in Console class
+ fix race conditions in Console class
2015-08-13 18:57:52 +02:00
wmayer
ab8d8a04ad + check for null pointer when trying to get associated view provider of a document object 2015-08-12 17:44:29 +02:00
Przemo Firszt
95a7083267 Gui: add missing X11 lib
Code by wmayer
2015-08-05 11:02:36 +02:00
wwmayer
e7441149f0 + fix many minor warnings, activate -Wall for gcc 2015-08-02 22:32:18 +02:00
wmayer
b81482d597 + harmonize Coin3D cmake variables with official check 2015-07-28 14:55:15 +02:00
wmayer
7d98705396 + harmonize XercesC cmake variables with official check 2015-07-28 14:17:49 +02:00
wmayer
d95003e92c + replace deprecated PYTHON_INCLUDE_PATH 2015-07-25 18:29:42 +02:00
wmayer
7c517e7620 + change axonometric view 2015-07-25 17:51:18 +02:00
wmayer
4319548f08 + fix typo in 'axonometric' 2015-07-25 16:54:18 +02:00
Pablo Gil
18c63c1ee4 + improved comments 2015-07-19 11:27:20 +02:00
Pablo Gil
9e9cbfb1a7 + Maya navigation style 2015-07-18 19:33:05 +02:00
wmayer
36249a64ce + use variables instead of hard-coded library names 2015-07-17 14:54:02 +02:00
wmayer
0b1da87302 + eliminate cmake variable QT_DEBUG_LIBRARIES 2015-07-16 19:06:20 +02:00
wmayer
6b3d7b17a7 + implement onDelete for Python proxy of view provider 2015-07-16 16:13:39 +02:00
wmayer
3241b1ece1 + Support preference pages for Python widget class 2015-07-16 00:10:23 +02:00
wmayer
3a00aa5918 + fix wrong vertical size policy of task groups 2015-07-14 19:05:12 +02:00
wmayer
2ce0fac098 + set a minimalistic style sheet on task panel 2015-07-14 16:27:49 +02:00
wmayer
5273c47c1b + fix layouting problem due to bad implementation of minimumSizeHint() in ActionPanel and ActionGroup 2015-07-14 14:22:00 +02:00
wmayer
a369791665 + issue #0002053: Support of themes 2015-07-12 23:59:26 +02:00
wmayer
a5619f3bb6 + issue #0002053: Support of themes 2015-07-12 23:12:05 +02:00
wmayer
f7644fc9f3 + issue #0002053: Support of themes 2015-07-12 22:54:56 +02:00
wmayer
66de19b162 + improve loading splash screen of branded application 2015-07-11 02:59:56 +02:00
wmayer
d6d9264f25 + fix possible crash when application icon is empty 2015-07-11 01:12:52 +02:00
wmayer
af793f16b0 + event to restore/clear action style scheme 2015-07-09 23:08:10 +02:00
wmayer
ce5ce0f933 + implement SystemPanelScheme and use for Linux 2015-07-09 12:12:51 +02:00
wmayer
5fc3370235 + fix possible inconsistency of arrow button in task header 2015-07-08 22:23:24 +02:00
wmayer
1eb76ba48c + support dynamic property 'fold' in TaskHeader 2015-07-08 20:22:21 +02:00
wmayer
5b3d50afc4 + use icon of style sheet for task header
+ fix size issue with task panel
+ enable QSint task panel
2015-07-08 15:17:49 +02:00
wmayer
7b37841fdc + reset built-in scheme when setting global style sheet 2015-07-07 12:35:48 +02:00
wmayer
997001bbd9 + usage of QSint 2015-07-07 12:34:20 +02:00
wmayer
b738537452 + add QSint scheme for FreeCAD 2015-07-07 11:45:57 +02:00
wmayer
61db2cb15e + extend QSint API, fix problems with Qt macro 2015-07-07 11:42:24 +02:00
wmayer
83bef31698 + add QSint source to build 2015-07-07 11:41:20 +02:00
wmayer
bf97878f37 set export macro for QSint 2015-07-07 11:33:21 +02:00
wmayer
36241de2c6 + remove test class TaskPanelView 2015-07-07 11:25:31 +02:00
wmayer
3299e0c377 + add license notice 2015-07-07 11:10:54 +02:00
wmayer
f71f962f54 + Add QSint sources 2015-07-07 11:10:13 +02:00
wmayer
e404490651 + fix broken PolyPickerSelection 2015-07-02 14:51:38 +02:00
wmayer
2b53da4eee + include missing header files 2015-06-30 17:48:03 +02:00
wmayer
d826ad5b51 + Remove dependency to iisTaskPanel when not needed 2015-06-30 16:53:22 +02:00
wmayer
de7c8fcbbf + issue #0002053: Support of themes 2015-06-30 13:14:56 +02:00
wmayer
28a142d94e + alternative paintEvent implementation for ColorButton 2015-06-30 01:04:43 +02:00
wmayer
48c25da133 + issue #0002053: Support of themes 2015-06-29 14:33:14 +02:00
wmayer
cd0b369425 + issue #0002053: Support of themes 2015-06-28 23:30:42 +02:00
wmayer
0765dc1aae + move up/down commands with action group 2015-06-28 17:32:44 +02:00
wmayer
eaa5b15291 + return 0 for empty icon names of Python commands 2015-06-27 19:24:11 +02:00
wmayer
882ecd3ce3 + implement class PythonGroupCommand 2015-06-27 17:21:02 +02:00
Abdullah Tahiri
02df1acb5f Gui: New feature: Extension of TaskView to notify if a taskbox is hidden or visible
===================================================================================

http://forum.freecadweb.org/viewtopic.php?f=10&t=11363
2015-06-24 17:56:58 +02:00
DeepSOIC
ed6af74a78 Navigation: fix unable to deselect after editing a sketch
After editing a sketch, it was impossible to deselect the just-edited
sketch by clicking empty space (gesture navigation).
2015-06-24 17:27:07 +02:00
lorenz_l
bc920f9a24 set names for QTimer in mainWindow, to find them from python 2015-06-23 20:23:52 +02:00
wmayer
72abf54d12 + setup qss search paths 2015-06-19 23:27:39 +02:00
wmayer
0ea718177d + set utf-8 encoding when recording a macro 2015-06-19 14:52:20 +02:00
Abdullah Tahiri
da5270131c Gui New Feature: Gui::Document support for App::Document undo and redo signals
==========================================================================

It defines new slots connected to App::Document's signalUndo/signalRedo, which
triggers Gui::Document's signalUndoDocument and signalRedoDocument signals.

setModified is not executed upon redo/undo, as this is already done on modification of the properties if
properties were modified, and if there were not, no setModified is needed anyway.
2015-06-15 22:55:49 +02:00
Eivind Kvedalen
f99fd100e6 Added zoom and automatic refresh of dependency graph view. 2015-06-15 11:32:24 +02:00
Yorik van Havre
1749ff2d5d Added a Revert command to the File menu - fixes #2040 2015-06-14 22:58:07 -03:00
wmayer
5040a97b0b + filter out removed workbenches 2015-06-11 00:19:20 +02:00
wmayer
4a7419c064 + fix whitespaces 2015-06-10 23:21:46 +02:00
Przemo Firszt
615d037de0 App: Add workbenches with unknown status to enabled list
Newly installed workbenches are not on enabled nor disabled list, so
they were treated as disabled. That behaviur could be confusing for
the user as a newly installed workbench was not shouwing up on the
workbench list. This commit changes that behaviour and new workbenches
are enabled by default.

Reported-by: r-frank
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-10 22:11:24 +02:00
wmayer
4f5534a87a + fixes #0002116: FreeCAD crash when I click on treeview 2015-06-09 21:55:35 +02:00
Yorik van Havre
beedcc06fe New splashscreen 2015-06-09 11:36:19 -03:00
Ian Rees
5ced7e5cbe Add #include that's required with Homebrew 2015-06-04 09:54:20 +12:00
wmayer
c91018946c + Extend Command framework to allow to update QAction 2015-06-03 18:30:36 +02:00
wmayer
1808fd83ed Expose attribute to Python to access icon of view provider 2015-06-02 16:21:56 +02:00
wmayer
2e14552a50 + fixes #0002134: FreeCAD crashes when the window is restored and a plot is shown 2015-05-31 17:29:30 +02:00
wmayer
b882109cb1 + rename method for points of selection 2015-05-26 12:51:39 +02:00
wmayer
a4441f2a41 + implement missing methods of Python API for SelectionObject 2015-05-21 12:45:36 +02:00
wmayer
f20519d352 + new parameter 'CoinOffscreenRenderer' to use Coin's offscreen renderer 2015-05-20 22:11:25 +02:00
wmayer
ef610c8c96 + remove SoFCSelection from ViewProviderGeometryObject 2015-05-20 21:44:27 +02:00
wmayer
27863408c9 + remove references to SoFCSelection where not needed 2015-05-20 19:24:12 +02:00