Commit Graph

1153 Commits

Author SHA1 Message Date
wmayer
dd3d30a4da + use quantity boxes in location widget 2016-02-28 12:11:24 +01:00
wmayer
d8abb92ba5 + add convenience methods to PrefQuantitySpinBox class 2016-02-27 17:03:14 +01:00
Yorik van Havre
28b6c82555 Added updated translations from crowdin - fixes #2443 2016-02-26 18:32:02 -03:00
Yorik van Havre
83f87ba3ea Turned Zoom At Cursor option True by default - fixes #2371 2016-02-26 13:51:39 -03:00
Yorik van Havre
7675a8effa Made Redirect python output options True by default - fixes #2454 2016-02-26 13:43:51 -03:00
maurerpe
3f3d8a95f5 Fix remaining toAscii/fromAscii
Qt5 does not have toAscii or fromAscii.  Use toLatin1 and fromLatin1
respectively.  Both replacement functions exist in Qt4.8.
2016-02-24 23:56:43 +01:00
maurerpe
e1f3fe1be4 Change numBytes() to byteCount()
numBytes() is obsolete in Qt 4.8 and removed in Qt5.  byteCount() is a
drop in replacement that works in 4.8 and 5.
2016-02-24 23:56:25 +01:00
maurerpe
31fd2d1762 Ensure mutexes are always properly unlocked
Error exists with Qt4 and Qt5.  Qt5 generated helpful warnings that made
it easier to debug.
2016-02-24 23:56:05 +01:00
maurerpe
8de9436c36 Add missing header files
Needed for Qt5, recommended for Qt4
2016-02-24 23:55:40 +01:00
wmayer
52fac57d73 + fix bug in MDIView 2016-02-24 21:32:30 +01:00
wmayer
e6624bf1c3 + add method to get display mask mode from view provider 2016-02-24 21:00:55 +01:00
wmayer
35fa65ec96 + fix possible crash in parameter editor 2016-02-24 20:59:04 +01:00
Yorik van Havre
c8d8df59b1 Updated the FreeCAD icon to the new style 2016-02-23 11:45:37 -03:00
wmayer
f4b288fcf8 + fix to get gridline-color of stylesheet in property editor 2016-02-23 13:05:48 +01:00
wmayer
60e0c447ca + make PropertyEditor class ready to be customized with Qt style sheet 2016-02-20 16:00:35 +01:00
wwmayer
69c241ba89 Merge pull request #94 from f3nix/qt5-compatibility-1
Qt5 compatibility changes.
2016-02-16 10:01:45 +01:00
wmayer
167b78ed8e + fix Debian bug #811200 2016-02-15 23:01:40 +01:00
Mateusz Skowroński
4ef8c9707f Qt5 compatibility changes.
QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
QString::toAscii() is obsolete in Qt5. Replace it with toLatin1().
QChar::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().

This change is Qt4/Qt5 neutral.
2016-02-14 08:23:00 +01:00
wmayer
fe8be472a9 + fix unit tests 2016-02-09 16:00:38 +01:00
wmayer
bb6a66bd82 + fix minor regression of issue 2417 2016-02-08 11:04:50 +01:00
wmayer
6763d3a6e4 + add Puthon binding to AbstractSplitView 2016-02-06 18:54:40 +01:00
wmayer
c30031f3d2 + fix possible problems with roundoff errors of SbRotation 2016-02-06 18:51:22 +01:00
Yorik van Havre
dea9127ac2 Create the macro path if inexistant when saving a macro 2016-02-05 16:40:53 -02:00
Yorik van Havre
2e2192f88a Added slovenian language 2016-02-03 13:36:51 -02:00
Yorik van Havre
5ef5a8ec3c Gui: added Gui.showPreferences() python function
This function accepts 2 optional arguments: a string (ex. "Draft")
and an integer (ex. 2). If given, the preferences dialog will open at
the third tab of the Draft group, if existing.
2016-02-02 15:01:42 -02:00
Yorik van Havre
37b1bdbe27 Updated translations with latest from crowdin 2016-02-01 23:32:58 -02:00
wmayer
a3bf5421fe + fixes #0002417: console autocomplete runs python properties 2016-01-31 13:54:18 +01:00
wmayer
0f858f99b7 + issue #0002417: console autocomplete runs python properties 2016-01-31 02:28:24 +01:00
wmayer
173f19eff4 + move handwritten Python classes to PyCXX 2016-01-27 18:07:48 +01:00
wmayer
72328ed0a1 + avoid throwing exceptions in property editor if not needed 2016-01-26 12:48:15 +01:00
Ian Rees
b5688aade5 Tidy logging (+whitespace) in Mac 3Dconnexion 2016-01-23 19:23:11 +13:00
wmayer
7773ad03c1 + fix bug in animated fit for orthographic camera if view width < height 2016-01-16 00:06:37 +01:00
wmayer
1027801be6 + improve whitespaces 2016-01-15 23:20:52 +01:00
wwmayer
bf151fe5e5 Merge pull request #76 from reportingsjr/master
Change name prefix in the VRML/OpenInventor exporter
2016-01-13 13:54:53 +01:00
wmayer
e0ee8bb8ca + allow to open system macros in read-only mode 2016-01-12 01:26:34 +01:00
wmayer
db539008be + fix whitespaces 2016-01-11 23:48:59 +01:00
Abdullah Tahiri
8a3958ced5 Gui: Extension of CommandMacro for system-wide macros
=====================================================

What?
Extension of the CommandMacro constructor to take an additional optional argument to indicate that the macro
is located in the system-wide directory, and shall be executed accordingly.
2016-01-11 19:25:53 +01:00
Abdullah Tahiri
3d551450a2 Gui Bug fix: Tabbed support for system-wide macros
===============================================

What?
Implementation of triplus' idea of making user-specific and system-specific macros
having a different list in different tabs.

Fixing of a bug related to the previous "separator".

Suggested terminology.
2016-01-11 19:25:36 +01:00
Abdullah Tahiri
7fc7bdc302 Gui Enhancement: Support for macros in AppUserHome/Macro
=====================================================

What?
It was suggested that the macros should be moved to AppUserHome/Macro
http://forum.freecadweb.org/viewtopic.php?f=10&t=13433

Solution:
The solution is backwards compatible in the sense that if you have a running
configuration, updating should not change anything.

For new installations the macro directory will default to AppUserHome/Macro. However
this would break all the installation scripts (probably also ME's plugin manager).

Conflicts:
	src/Mod/Path/Gui/AppPathGuiPy.cpp
2016-01-11 19:24:22 +01:00
Abdullah Tahiri
f78a239167 Gui Enhancement: Support for system-wide macros
===============================================

What?
Support for executing system-wide macros in /usr/lib/freecad/Macro
http://forum.freecadweb.org/viewtopic.php?f=10&t=13433

Why?
To allow to package macros and install them system-wide so that they are available to all users.
2016-01-11 19:22:50 +01:00
Yorik van Havre
5c1ab74329 Target URLs in Help menu are now translatable - fixes #2394 2016-01-11 13:36:42 -02:00
Yorik van Havre
cbad63100a Detecting windows10 in about dialog 2016-01-11 13:08:13 -02:00
Eivind Kvedalen
48b699071c ExpressionCompleter: Remove '=' before tokenizing string, to improve completer when used in the spreadsheet. 2016-01-08 23:09:00 +01:00
Yorik van Havre
e740a42075 Removed workbench keyboard shortcut W+0. Now only W+1-9 work. 2016-01-08 10:30:44 -02:00
Yorik van Havre
7886675faa Changed shortcuts of workbenches to W + number 2016-01-07 11:47:53 -02:00
wmayer
0b3f60a68c + replace use of accessibleName with custom property 2016-01-06 16:59:11 +01:00
Mateusz Skowroński
7d0e892d36 Qt4's qglobal.h defined TRUE and FALSE. Qt5 does not do it anymore. Replace it with true and false.
158f39ec78

This change is Qt4/Qt5 neutral.
2016-01-05 16:43:33 +01:00
Mateusz Skowroński
0aa944a1b7 Change includes in Quarter to be compatible with Qt5.
This change is Qt4/Qt5 neutral.
2016-01-05 16:10:02 +01:00
Mateusz Skowroński
ab26271756 QAbstractItemModel::reset() is obsolete in Qt5. Use beginResetModel() and endResetModel() instead.
This change is Qt4/Qt5 neutral.
2016-01-05 16:09:12 +01:00
Mateusz Skowroński
9beb7d21f3 QKeySequence::operator QString() is obsolete in Qt5. Use toString(QKeySequence::NativeText) instead.
This change is Qt4/Qt5 neutral.
2016-01-05 16:08:31 +01:00