Commit Graph

1162 Commits

Author SHA1 Message Date
wwmayer
fe3020a5a3 Merge pull request #112 from pgilfernandez/FreeCAD_stylesheets202
Dark and Light stylesheets fixes/improvements
2016-03-07 16:37:33 +01:00
wmayer
a676f2ba40 + add CMake file for stylesheet files 2016-03-07 16:08:40 +01:00
Pablo Gil
276b77eb90 Dark and Light stylesheets fixes/improvements:
+ fixed background logo for Win and Linux
+ improved QToolBar handle for different icon sizes (selectable by user inside Preferences)
+ tweaked editable fields inside QToolBar in order to work for all icon sizes (selectable by user inside Preferences)
+ fixed Ubuntu problem that caused a blank line inside up/down buttons of QSpinBox and similar
+ tweaked Python Editor color for Light theme
+ fixed buttons margin/padding inside Task tab
+ tweaked color for checked QPushButtons inside Draft WB for better user experience
2016-03-07 09:50:04 +01:00
Yorik van Havre
7d0012e160 Added latest translations from crowdin 2016-03-06 14:50:07 -03:00
Pablo Gil
2980b5d4c2 + Dark and Light stylesheets with 3 color variations each
(from version 2.01, more info: http://forum.freecadweb.org/viewtopic.php?f=9&t=14518)
2016-03-06 13:56:04 +01:00
wmayer
c82811fd79 + add properties with 'hidden' mode to property editor but hide the item 2016-03-05 18:24:58 +01:00
wmayer
c15da7f463 + dynamically hide/show and enable/disable item in property editor 2016-03-05 13:13:23 +01:00
Yorik van Havre
6e4308d6b5 Merge pull request #107 from triplus/Set-QComboBox-icon-size
Set QComboBox icon size
2016-03-01 00:13:49 -03:00
triplus
2b19558ce6 Set QComboBox icon size 2016-02-29 20:14:49 +01:00
wmayer
a453d15032 + use quantity boxes in location widget 2016-02-28 12:11:24 +01:00
wmayer
3fd02003a3 + add convenience methods to PrefQuantitySpinBox class 2016-02-27 17:03:14 +01:00
Yorik van Havre
f93b1b26df Added updated translations from crowdin - fixes #2443 2016-02-26 18:32:02 -03:00
Yorik van Havre
9e1ec2ac31 Turned Zoom At Cursor option True by default - fixes #2371 2016-02-26 13:51:39 -03:00
Yorik van Havre
2254a4698d Made Redirect python output options True by default - fixes #2454 2016-02-26 13:43:51 -03:00
maurerpe
2e4efb5b10 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
8fd08f9b43 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
c455a17fb7 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
5a85155565 Add missing header files
Needed for Qt5, recommended for Qt4
2016-02-24 23:55:40 +01:00
wmayer
9013e843e8 + fix bug in MDIView 2016-02-24 21:32:30 +01:00
wmayer
02e2117962 + add method to get display mask mode from view provider 2016-02-24 21:00:55 +01:00
wmayer
2bbe98cf3f + fix possible crash in parameter editor 2016-02-24 20:59:04 +01:00
Yorik van Havre
8e16345534 Updated the FreeCAD icon to the new style 2016-02-23 11:45:37 -03:00
wmayer
dd1ccdcba0 + fix to get gridline-color of stylesheet in property editor 2016-02-23 13:05:48 +01:00
wmayer
4db1e6b0a0 + make PropertyEditor class ready to be customized with Qt style sheet 2016-02-20 16:00:35 +01:00
wwmayer
a2749920a0 Merge pull request #94 from f3nix/qt5-compatibility-1
Qt5 compatibility changes.
2016-02-16 10:01:45 +01:00
wmayer
4982dba1fa + fix Debian bug #811200 2016-02-15 23:01:40 +01:00
Mateusz Skowroński
d13882fcb3 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
cd3d36342f + fix unit tests 2016-02-09 16:00:38 +01:00
wmayer
94c5ceddb8 + fix minor regression of issue 2417 2016-02-08 11:04:50 +01:00
wmayer
ef8f928367 + add Puthon binding to AbstractSplitView 2016-02-06 18:54:40 +01:00
wmayer
f3423ad75e + fix possible problems with roundoff errors of SbRotation 2016-02-06 18:51:22 +01:00
Yorik van Havre
b05987fada Create the macro path if inexistant when saving a macro 2016-02-05 16:40:53 -02:00
Yorik van Havre
3106ca7df3 Added slovenian language 2016-02-03 13:36:51 -02:00
Yorik van Havre
263f5951ce 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
758b0778d4 Updated translations with latest from crowdin 2016-02-01 23:32:58 -02:00
wmayer
41ffd21392 + fixes #0002417: console autocomplete runs python properties 2016-01-31 13:54:18 +01:00
wmayer
d42e9e81f2 + issue #0002417: console autocomplete runs python properties 2016-01-31 02:28:24 +01:00
wmayer
f9694de1a8 + move handwritten Python classes to PyCXX 2016-01-27 18:07:48 +01:00
wmayer
b30f03c66d + avoid throwing exceptions in property editor if not needed 2016-01-26 12:48:15 +01:00
Ian Rees
5402fbb007 Tidy logging (+whitespace) in Mac 3Dconnexion 2016-01-23 19:23:11 +13:00
wmayer
e8ef74d6ac + fix bug in animated fit for orthographic camera if view width < height 2016-01-16 00:06:37 +01:00
wmayer
91a65bf973 + improve whitespaces 2016-01-15 23:20:52 +01:00
wwmayer
1182a472ed Merge pull request #76 from reportingsjr/master
Change name prefix in the VRML/OpenInventor exporter
2016-01-13 13:54:53 +01:00
wmayer
268e545463 + allow to open system macros in read-only mode 2016-01-12 01:26:34 +01:00
wmayer
3e4a49671c + fix whitespaces 2016-01-11 23:48:59 +01:00
Abdullah Tahiri
89e89c8b2d 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
2dd6a72629 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
2c884ab5f5 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
89c3399bb7 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
33a67c39f6 Target URLs in Help menu are now translatable - fixes #2394 2016-01-11 13:36:42 -02:00