Commit Graph

4070 Commits

Author SHA1 Message Date
Uwe
75702b9d28 [Gui] GuiNativeEventWin32.cpp: Clang formatting
- to fix some Ci warnings about too long lines, white spaces etc.
2022-10-02 20:29:53 +02:00
0penBrain
b4578fb3ea [Bugfix]Gui: TinkerCAD mouse mode was always stopping RMB propagation 2022-10-01 04:38:12 +02:00
wmayer
7669bd8adb Gui: [skip ci] use string version of QTextStream::setCodec 2022-09-30 15:11:34 +02:00
wmayer
f9f201373f Qt6: remove or replace QTextCodec 2022-09-30 14:52:11 +02:00
wmayer
10e9e3b9b5 Gui: change Selection.getCompleteSelection() to return a list of SelectionObject instead of DocumentObject 2022-09-29 17:13:56 +02:00
0penBrain
eb546e25d3 Gui: do not detach parameter observer from PythonEditor
Parameter observing (including observer deletion) is 100% managed by TextEditor superclass
2022-09-28 20:59:12 -05:00
0penBrain
8924e265c0 Gui: add 2 commands to store and recall working view in 3D viewport 2022-09-28 17:29:11 +02:00
0penBrain
0ca641f0d7 Gui: add getter about home position to QuarterAdaptor 2022-09-28 17:29:11 +02:00
0penBrain
63c7e62c79 Gui: remove hardcoded functions from NavigationStyle 2022-09-28 17:29:11 +02:00
Matthias Melcher
cfe9b1a70c Updating oversampling call to keep bold line style. 2022-09-28 16:49:57 +02:00
Matthias Melcher
c656abe21d Better Thumbnails by oversampling hires screenshot 2022-09-28 16:49:57 +02:00
wmayer
cbc5cf8ee0 Part: [skip ci] cppcoreguidelines-prefer-member-initializer / cppcoreguidelines-owning-memory 2022-09-26 08:05:54 +02:00
wmayer
686eb74f5f Gui: fix cppcoreguidelines-non-private-member-variables-in-classes 2022-09-25 11:08:48 +02:00
wmayer
bf81c8035f Gui: fix regression of 2ef4b7a06 2022-09-25 10:36:08 +02:00
Uwe
2ef4b7a06b [Gui] fix some CI warnings
- narrowing conversion from 'unsigned long' to signed type 'int' is implementation-defined
- floating point literal has suffix 'f', which is not uppercase
- narrowing conversion from 'double' to 'float'
- Slots named on_foo_bar are error prone
- also tome Clang style fixes

(see here for the reports: https://github.com/FreeCAD/FreeCAD/pull/7522/commits/d9c2efcc)
2022-09-24 19:58:11 +02:00
marioalexis
fa6cf56020 Gui: Check Python types using Base::PyTypeCheck 2022-09-24 05:10:34 +02:00
marioalexis
0382f276a2 Gui: Replace C cast 2022-09-18 11:06:51 -05:00
Chris Hennes
dc2bf6c754 Gui: Add importing CFG to PrefPack dialog 2022-09-15 22:44:18 -05:00
Chris Hennes
36332ff9a3 Core: Add QPdfWriter to QtAll PCH on Windows 2022-09-15 16:37:38 -05:00
wmayer
860e50b589 Gui: code refactoring of dock window setup 2022-09-15 16:03:41 +02:00
0penBrain
718be391f7 Gui: when customizing shortcuts, warn user if command isn't in use with message box 2022-09-14 15:01:54 -05:00
berniev
75acacd1b7 Gui: Use auto and range-based for (#7481)
* On lines where the variable type is obvious from inspection, avoid repeating the type using auto. 
* When possible use a ranged for loop instead of begin() and end() iterators
2022-09-14 13:25:13 -05:00
0penBrain
285fc1065f [Bugfix]Gui: allow set up expression even if property value is currently being edited 2022-09-11 22:01:26 +02:00
wmayer
de7949a3b7 [skip ci] Debian patches:
* Fix FTBFS on armhf/armel, undefined GL_PROJECTION (issue 1014875)
* Disable syntax checks for some Python modules
2022-09-06 14:40:10 +02:00
0penBrain
b687e2ce0c [Bugfix]Gui: ensure message boxes appear and stay on top of main window 2022-09-05 11:09:41 +02:00
wmayer
ba8d5ab055 Gui: modernize C++: replace 'typedef' with 'using' 2022-08-29 14:09:18 +02:00
FreeCAD-Tools
752511a9f1 fix translation issue
fix issue https://github.com/FreeCAD/FreeCAD-translations/issues/190
2022-08-26 15:01:45 +02:00
wmayer
c38d8479bc Clang: fix clang-diagnostic-error 2022-08-24 17:02:17 +02:00
berniev
a909df7f39 Gui: Single arg ctors must be explicit (PR #7369) 2022-08-24 15:06:03 +02:00
berniev
d66df602ad App: Single arg ctors must be explicit 2022-08-24 07:20:57 +02:00
luz paz
1a7ddfdc24 Fix typos and whitespace
Found via `codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,anormal,apoints,ba,beginn,behaviour,bloaded,bottome,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childrens,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,inout,ist,itsel,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oce,oder,ontop,orgin,orginx,orginy,ot,pard,parm,parms,pres,programm,que,rady,recurrance,ro,rougly,seperator,serie,sinc,siz,strack,substraction,te,technic,thist,thru,tread,uint,unter,uptodate,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,./src/Base/StackWalker.cpp,./build/doc/SourceDocu`
2022-08-23 18:49:47 +02:00
wmayer
a5ecf97092 Gui: [skip ci] fix readability-identifier-length, whitespace/comma 2022-08-23 11:14:27 +02:00
marioalexis
f4b01a5568 Gui: Prevent crash when trying to create ExpressionBinding without arguments 2022-08-23 11:01:05 +02:00
Chris Hennes
84253f4b4f GUI: Remove unnecessary translation calls 2022-08-20 17:48:39 -05:00
wmayer
ea5a0371a3 Gui: [skip ci] fix UTF-8 handling of icon resources 2022-08-20 15:47:07 +02:00
Uwe
1efb0503d2 [Gui] background default colors
- for better contrast and "fresher" look, see developers forum
2022-08-18 02:38:45 +02:00
Uwe
d1ffbc0ae9 [Gui] [skip CI] NaviCube: fix indentation mistake from previous commit 2022-08-13 15:11:32 +02:00
Uwe
d78d1bbe58 [Gui] fix NaviCube step handling
- as reported in https://forum.freecadweb.org/viewtopic.php?f=3&t=71050
2022-08-13 15:02:26 +02:00
wmayer
11849808a1 Gui: remove redundant void 2022-08-12 17:59:59 +02:00
wmayer
ff876bf72c Gui: clear combo boxes before re-filling them, fix handling of icon size in preferences pack 2022-08-12 14:08:04 +02:00
wmayer
746a56f5d3 Gui: don't show non-existing and unusual directories in file dialog 2022-08-11 17:46:13 +02:00
Tobias Frost
9311e2913e Replace edit-cut.svg
Replace 2 instances of edit-cut.svg with the version from the tango icon
library to reslove license issue. Closes #7347.

Tango Icon Library used: http://tango.freedesktop.org/releases/tango-icon-theme-0.8.90.tar.gz
Location within the tarball:
./tango-icon-theme-0.8.90/scalable/actions/edit-cut.svg
2022-08-11 10:23:02 -04:00
wmayer
8acce95ebb Gui: revert changes of 0c70d45c83 for GestureNavigationStyle 2022-08-09 23:50:05 +02:00
wmayer
2062f9ce87 clang: fix warnings [-Winconsistent-missing-override] 2022-08-09 17:36:25 +02:00
berniev
0c70d45c83 Gui: Use override etc 2 2022-08-09 12:43:23 +02:00
berniev
50ee321fa8 Gui: Redundant_string_initialization 2022-08-08 16:51:32 +02:00
Uwe
6f546de8f0 [Gui] fix typos
- fix a typo found by codespell
- rename variables to please codespell
2022-08-08 14:14:23 +02:00
wmayer
0c7e521ff5 Gui: set width of list box according to text length 2022-08-08 11:36:35 +02:00
wmayer
311abcc43e Gui: [skip ci] include header with export macros 2022-08-08 10:22:59 +02:00
berniev
656ef8961f Gui: redundant void 2 2022-08-08 10:21:44 +02:00