Commit Graph

94 Commits

Author SHA1 Message Date
Zheng, Lei
8b65a94f28 Gui: add toolbar button for toggling selection bounding box 2019-10-08 09:56:09 +02:00
Zheng, Lei
959ec5dad3 Gui: remove FC_TREEPARAM, add document for class TreeParams 2019-09-27 15:49:42 +02:00
wmayer
9fa56345cf core system
force strict ISO C++ (-Wpedantic)
TODO: still a lot of variadic macros are not valid ISO C++
2019-09-18 01:01:14 +02:00
Zheng, Lei
f7edaabe43 Gui: add box geometry element selection command
Implement box element selection that support linked and grouped objects.
Also modified original box selection command to support the same with
the same code.
2019-08-17 15:08:33 +02:00
Zheng, Lei
81d3cf1b89 Gui: refactor tree view
* Major refactor of tree view to support external linking.

* Item update and selection change are now mostly handled by timer for
  performance improvement.

* Major change to drag and drop for better support of switching between
  copy, move and replace action, and auto adjustment of placement and
  relative link.

* Add second column for user changable object description.

* Unified tree view options and action into command group
  Std_TreeViewActions.

* Modified object search function to find external objects using
  Expression syntax.
2019-08-17 15:08:33 +02:00
wmayer
032485f7ca Automatic visibility handling of axis cross 2019-06-16 13:05:39 +02:00
Mateusz Skowroński
ac508516da Use QString's multi-arg overload to save memory allocations. [-Wclazy-qstring-arg] Thanks Clazy! 2019-02-11 15:39:14 +01:00
wmayer
0a733ffd18 fixes 0002706: Box selection does not select dimension or text 2019-01-18 14:46:21 +01:00
wmayer
11c0c9adde harmonize functions to set camera orientations 2019-01-12 22:59:44 +01:00
wmayer
94c28e9fc8 implement Isometric, Dimetric and Trimetric projection 2019-01-10 18:31:17 +01:00
wmayer
8392914f50 allow to access NaviCube of 3d viewer 2018-10-23 12:47:11 +02:00
wmayer
920ee9d89f exit measure distance tool with Esc 2018-09-17 22:21:23 +02:00
luz.paz
af7180270e Typo and whitespace fixes
Found via `codespell -q 3 -I ../fc-word-whitelist.txt --skip=".git,*.ts,*.po,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/zipios++" -L "entires,fle,actuall"`
2018-09-15 19:13:52 +02:00
Markus Lampert
22838a95ce Added collapse/expand option to the document tree view. 2018-09-11 11:38:58 +02:00
Markus Lampert
b475b01686 Changed tree view document hiding boolean to integer to support arbitrary number of views. 2018-09-11 11:38:38 +02:00
Markus Lampert
71175748fc Added option to hide inactive documents in tree view. 2018-09-11 11:38:20 +02:00
Yorik van Havre
5e1e1260c8 Remember background type in Tools->Save picture dialog 2018-05-18 10:46:21 -03:00
luz.paz
69216f3604 sWhatsThis fixes
ref: https://forum.freecadweb.org/viewtopic.php?f=10&t=26687
2018-01-31 19:07:07 +01:00
Unknown
f5146508bb Misc. typos 2017-12-06 20:59:55 +01:00
luzpaz
985980648c Typos: user-facing and trivial
Several typos and uniformity fixes.
Note: 
*SCL/SimpleDataTypes.py is a upstream stepcode file whose fiz has been submitted upstream and accepted.
*the header of Tools/generateBase/generateMetaModel_Module.xsd  had redundant data. It has been removed. Please double check it.
2017-12-02 14:00:57 +01:00
luzpaz
0a31812c73 User-facing typo fixes
All user-facing strings that have double (consecutive) whitespace e.g. `\b  \b`have been removed. Inspired by the error message in https://forum.freecadweb.org/viewtopic.php?f=3&t=5899&p=200309#p200309
2017-11-21 17:21:23 -03:00
wmayer
c60bad3304 fixes #0002931: Box select misbehaves with touchpad navigation style 2017-09-30 14:55:18 +02:00
triplus
f211c63da2 Add standard fullscreen mode 2017-09-08 13:15:46 +02:00
wmayer
ffa10bbf0c Qt5: workaround for undocking of mdi view
fix minor issues reported by clang static analyzer
2017-05-03 22:01:46 +02:00
wmayer
69e1297dd2 add 'no shading' and 'hidden line' styles 2017-03-03 16:41:38 +01:00
Kurt Kremitzki
cbf7025db1 Update view mappings to sensible defaults 2017-02-11 02:22:33 -06:00
Yorik van Havre
c986ebfe75 Gave keyboard shortcuts (V,1 -> V,5) to Draw Styles 2017-02-10 20:15:58 -02:00
wmayer
a6ffe0b778 fixes #0002887: add FC logo (watermark) in Save Picture Tool 2017-02-03 23:25:42 +01:00
wmayer
45198fb712 use names directly from document to set them in scene inspector 2017-01-30 22:29:26 +01:00
wmayer
d21be0cd53 add command to select visible objects 2016-12-21 15:21:18 +01:00
wmayer
42b503e538 fixes #0002801: F11 enters fullscreen, but does not exit (should behave as toggle) 2016-12-18 10:50:23 +01:00
wmayer
c997180a47 Qt4/Qt5 neutral changes:
+ remove QCoreApplication::UnicodeUTF8/QApplication::UnicodeUTF8
+ remove QCoreApplication::CodecForTr/QApplication::CodecForTr
2016-12-12 14:52:09 +01:00
wmayer
2d8e70085e rename 2d tool classes to be consistent with 3d classes 2016-11-21 14:29:51 +01:00
Yorik van Havre
cabdf67d67 Fixed defaut shortcuts for view rotation - fixes #2756 2016-11-04 16:26:19 -02:00
wmayer
1782355e05 issue #0000353: Graphical selection 2016-10-24 18:20:18 +02:00
triplus
9ac518e693 Merge branch 'master' into master 2016-10-23 16:29:33 +02:00
triplus
ad5c833db9 Name the DrawStyle commands 2016-10-23 16:18:58 +02:00
wmayer
585099709d remove superfluous semicolons 2016-10-09 14:00:58 +02:00
wmayer
176efdf80b make box selection consistent with single/multi selection 2016-09-23 10:46:54 +02:00
wmayer
1e6dcabefc fix -Wextra in FreeCADGui 2016-09-21 20:54:52 +02:00
wmayer
dbac90022d split compound command in separate commands to make shortcus customizable 2016-09-10 14:47:01 +02:00
wmayer
e2398b4b06 fix Coverity issues 2016-08-21 14:03:02 +02:00
wmayer
4686997786 fix more Coverity issues 2016-08-17 21:55:00 +02:00
wmayer
683f943d38 Coverity issues:
129097
129098
129099
129101
129102
129132
129134
129203
2016-08-16 16:34:51 +02:00
wmayer
7c55086d2c + fix crash when viewer has no camera 2016-04-04 12:48:58 +02:00
wmayer
b82b386a7a + various minor fixes, whitespaces improvements 2016-03-23 23:28:56 +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
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
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