Commit Graph

3086 Commits

Author SHA1 Message Date
bitacovir
acf9b1f0de Add SVG icons for five Std Tool commands
This commit adds SVG files with icons for these commands. Also, it makes the necessary changes on CommandStd.cpp, CommandDoc.cpp, CommandView.cpp and resource.qrc files. 
Forum Discussion: https://forum.freecadweb.org/viewtopic.php?f=34&t=51502&start=10
2020-11-22 11:58:14 +01:00
wmayer
5a9da45e08 Gui: [skip ci] add method to Python binding of ViewProviderExtension to ignore overlay icon 2020-11-22 11:20:54 +01:00
wmayer
d0e5a281c6 Gui: [skip ci] merge icons of extensions of view provider of a Python feature 2020-11-22 11:15:11 +01:00
wmayer
f9104f5884 Gui: [skip ci] add method to ignore to merge icon of an extension that is e.g. used for Part primitives 2020-11-21 16:49:08 +01:00
wmayer
99e9b4db1c Gui: [skip ci] Fix navigation styles
If a joystick is connected events of type Spaceball::MotionEvent might be emitted but the last saved mouse position is not passed to the SoMotion3Event and thus will lead to problems while panning.

See also: https://forum.freecadweb.org/viewtopic.php?f=3&t=50628 and https://github.com/FreeCAD/FreeCAD/pull/3902
2020-11-21 10:15:13 +01:00
donovaly
5916572c40 [Gui] get rid of MSCV compiler warning 2020-11-15 12:08:01 +01:00
wmayer
aabff60388 Gui: [skip ci] try to avoid to truncate QuantitySpinBox at bottom margin on macOS 2020-11-14 13:18:45 +01:00
wmayer
b7f9e351c5 Win: [skip ci] check if NOMINMAX is already defined before setting it 2020-11-11 13:34:42 +01:00
Yorik van Havre
e76c857036 Merged crowdin translations 2020-11-10 14:58:06 +01:00
wmayer
c5a4b01d2e Gui: [skip ci] try to avoid to truncate QuantitySpinBox at bottom margin on macOS 2020-11-08 16:07:10 +01:00
wmayer
31ff1921ce Gui: [skip ci] add method extensionSetupContextMenu to extension view provider 2020-11-08 13:36:31 +01:00
wmayer
30e18cdbe0 Gui: [skip ci] support of translation in undo/redo dialog 2020-11-03 15:14:26 +01:00
wmayer
c9923ab153 Gui: [skip ci] Revert workaround to avoid to handle wheel events twice inside the 3d view
This workaround caused a regression with Qt 5.15. For more details see: https://forum.freecadweb.org/viewtopic.php?f=3&t=50231
2020-11-03 14:50:06 +01:00
wmayer
0324d2de64 Gui: [skip ci] when closing document via context-menu ask the user first how to continue
See also forum thread: https://forum.freecadweb.org/viewtopic.php?f=3&t=51746
2020-11-03 12:09:28 +01:00
Yorik van Havre
7c9e0f3a99 Merged crowdin translations 2020-10-28 12:04:37 +01:00
Yorik van Havre
5eafaa37fd Updated ts files 2020-10-28 10:46:51 +01:00
wmayer
3598da57ac Gui: [skip ci] move support of SpaceMouse Explorer to its own event handler function 2020-10-24 19:04:28 +02:00
TinkerGnome
0b1cc83c8e handle button presses on "Spacemouse Enterprise" 2020-10-24 18:52:18 +02:00
wmayer
d3f0ed247e Add list of all available 3Dconnexion devices 2020-10-24 18:52:03 +02:00
wmayer
c5895e1a02 Gui: do not use event handling of SpaceMouse Plus XT for Enterprise model 2020-10-24 18:51:52 +02:00
wmayer
690cc3e180 Gui: [skip ci] let view provider to decide to whether open a transaction on double-click
The sketcher view provider doesn't need a transaction on double-click or otherwise shows a useless entry in the undo dialog which when undoing leads to weird behaviour
2020-10-24 15:37:04 +02:00
luz paz
9f74b422a9 Fix various typos [skip-ci] 2020-10-24 12:25:46 +02:00
bitacovir
ccd8980398 Add SVG icons for two Std commands
Two Std commands do not have icons for the FreeCAD UI (Menu Edit): Std DuplicateSelection, Std_Alignment.
2020-10-21 16:26:27 +02:00
Chrismettal
4234e66796 [Stylesheet] Add border to tiled subwindows to allow resizing 2020-10-19 13:21:26 +02:00
wmayer
54e29ac2b8 macOS: suppress some warnings 2020-10-18 16:18:34 +02:00
wmayer
38fcf770ab Qt5: fix build failure with Qt 5.15 2020-10-18 16:17:48 +02:00
wmayer
571ab1b6e6 Qt5: make StatusWidget derive from QDialog instead of QWidget to avoid code duplication and using deprecated API functions 2020-10-18 14:45:31 +02:00
wmayer
2057e151d8 Qt5: fix deprecation warnings for Qt 5.15
+ QByteArray::append is deprecated
+ QPixmap* QLabel::pixmap() is deprecated
+ overloaded version of QString::split is deprecated
+ QSysInfo::windowsVersion()/QSysInfo::MacVersion() is deprecated
2020-10-18 14:45:31 +02:00
wmayer
34f4b712d8 Qt5: fix deprecation warnings of QWheelEvent in Qt 5.15 2020-10-18 14:45:31 +02:00
wmayer
28270e53a9 Gui: [skip ci] workaround for Qt5.12.9 that causes a crash in the parameter editor for right clicks in an empty area 2020-10-17 20:06:53 +02:00
wmayer
94ec50cb2b Qt4: fix Qt4 build failure 2020-10-16 13:56:27 +02:00
wmayer
9c72532f5d Qt5: fix deprecation warnings for Qt 5.15
+ replace QDirModel with QFileSystemModel
+ QProcess::start(QString, OpenMode) is deprecated
+ QByteArray::append is deprecated
+ QPixmap* QLabel::pixmap() is deprecated
2020-10-15 16:50:11 +02:00
wmayer
ef0fd3ca67 Qt5: 'endl' manipulator is deprecated with 5.15. Replace it with newlines. 2020-10-15 15:22:28 +02:00
wmayer
d4c0baba0c C++11: replace deprecated function std::bind2nd with lambda functions 2020-10-15 14:46:02 +02:00
wmayer
e3c30e7481 Gui: [skip ci] support to remap motion data array of space mouse 2020-10-12 14:11:53 +02:00
luz paz
b0d7850406 Fix various typos [skip-ci]
Found via `codespell v2.0.dev0`  
```
codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,ba,beginn,behaviour,bloaded,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml
```
2020-10-08 18:21:15 +02:00
wmayer
f129f3f097 Gui: [skip ci] workaround to allow to define the link color of the application's palette 2020-10-08 11:32:17 +02:00
wmayer
34ed859c9f Gui: [skip ci] make commands print, print preview and print to pdf also active when editig a sketch 2020-10-08 10:57:03 +02:00
wmayer
a299f234a0 Gui: [skip ci] fix appearance of TaskGroups when a style sheet is set 2020-10-06 18:20:34 +02:00
wmayer
1a0a21475e Gui: [skip ci] fix uic warning 2020-10-06 16:10:16 +02:00
Arijeet Baruah
de57d4d407 remove commends 2020-10-06 16:04:26 +02:00
Arijeet Baruah
a3fb14ff9d Update DlgSettings3DView.ui 2020-10-06 16:04:26 +02:00
Arijeet Baruah
01f7e5543b Extra space removal 2020-10-06 16:04:26 +02:00
arijeetbaruah
b1c5ddcf6d moved 'Pick Radius' from 'Color' to '3D View' fixes #0004147 2020-10-06 16:04:26 +02:00
wmayer
c3a8fcf594 Gui: [skip ci] fix handling of active document when importing a file 2020-10-06 12:33:35 +02:00
mwganson
c4ff3385f5 [File Import] add import to document transaction for unde/redo 2020-10-06 11:56:11 +02:00
wmayer
ceccc212b8 Gui: [skip ci] move dontUseNativeDialog() to unnamed namespace 2020-10-06 10:12:41 +02:00
wmayer
7db21217f4 Gui: [skip ci] fix parsing of arguments of ControlPy methods
See https://forum.freecadweb.org/viewtopic.php?f=10&t=50805
2020-10-04 20:04:23 +02:00
wmayer
393da0d6d9 Gui: [skip ci] add an alias for Gui.isCommandActive 2020-10-01 16:03:08 +02:00
wmayer
f98a4bbc47 Gui: [skip ci] add method to access the Inventor viewer as QGraphicsView 2020-10-01 13:54:12 +02:00