Commit Graph

1122 Commits

Author SHA1 Message Date
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
Yorik van Havre
000beb9677 Detecting windows10 in about dialog 2016-01-11 13:08:13 -02:00
Eivind Kvedalen
205feae9d1 ExpressionCompleter: Remove '=' before tokenizing string, to improve completer when used in the spreadsheet. 2016-01-08 23:09:00 +01:00
Yorik van Havre
a6dd30877b Removed workbench keyboard shortcut W+0. Now only W+1-9 work. 2016-01-08 10:30:44 -02:00
Yorik van Havre
98d4c5efd5 Changed shortcuts of workbenches to W + number 2016-01-07 11:47:53 -02:00
wmayer
9bae526756 + replace use of accessibleName with custom property 2016-01-06 16:59:11 +01:00
Mateusz Skowroński
6942c23895 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
fe6face07b 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
56ece555b7 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
78b16b2bf0 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
Mateusz Skowroński
f48f0f69be Qt::WFlags is obsolete in Qt5. Replace it with Qt::WindowFlags.
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:58 +01:00
Mateusz Skowroński
c275b35d48 QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:25 +01:00
Mateusz Skowroński
0695552cff QString::toAscii() is obsolete in Qt5. Replace it with toLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:06:48 +01:00
Jon Neal
c93bcc7d6a Change name prefix in the VRML exporter to one that is allowed in the standards. 2016-01-04 01:03:18 -05:00
Yorik van Havre
80f27ca316 Updated ts files prior to translation cycle 2016-01-03 19:45:29 -02:00
wmayer
750897c20e + introduce proper enum for property status to replace plain integers 2016-01-01 15:36:24 +01:00
wmayer
e2a02cb434 if offscreen rendering for thumbnail fails then only write out application icon 2015-12-31 17:04:56 +01:00
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