Yorik van Havre
b84c2c7f09
Merge pull request #4178 from uLeonis/master
...
[v0.20][Gui] Consolidate Std view modes
2021-09-09 12:22:27 +02:00
0penBrain
1088952709
[Gui] Declare Std_DrawStyle as being a 'Mode' command
...
With this tooltip isn't updated with the current item value
but instead keeps the general command tooltip text which more explanatory
2021-09-02 16:39:07 +02:00
wmayer
f66bc8fc90
Gui: use public methods in Command sub-classes
2021-04-21 19:34:50 +02:00
Chris Hennes
098d7b9aee
[GUI] Remove code for Qt < 5.9
2021-04-02 10:10:37 +02:00
donovaly
8e3c5dbbdb
[GUI] fix missing Std_AxisCross icon
...
in commit cece88c164 the icon was not also added to the used Std_AxisCross menu entry
2021-01-06 01:41:01 +01:00
bitacovir
4cb28ce96f
Add SVG icons for eight Std View commands
2021-01-05 16:14:57 +01:00
bitacovir
7ae4b581d0
Add SVG icons of eight Std View menu commands
2021-01-02 11:55:58 -03:00
bitacovir
6e535d9ac3
Replace SVG icons of six Std View commands
2020-12-30 20:38:03 +01:00
Marcel Althaus
b7f819f22c
Code cleanup.
2020-12-21 19:40:38 +01:00
uLeonis
cbe1050441
MeasureDistance
...
- Abort mode via ESCAPE added
BoxZoom, BoxSelection and BoxElementSelection
- Change the cursor to give the user feedback about active mode.
- Abort mode via ESCAPE
2020-12-21 17:32:33 +01:00
wmayer
ac5c22bfc7
Gui: [skip ci] improve commands Std_ViewSaveCamera & Std_ViewRestoreCamera to save/restore camera per view
...
Implement resetToHomePosition() for Blender style
2020-11-27 12:27:25 +01:00
wmayer
ed3394cce3
Gui: [skip ci] add commands to save & restore camera positions so that they can be bound to a space mouse button
2020-11-27 12:09:04 +01:00
luz paz
38815b9550
Gui: Fix header uniformity, whitespace, and doxygen fixes
2020-11-26 10:14:56 +01:00
bitacovir
50bc63e80d
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
67e80c7d6a
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
961d9145e2
Qt5: 'endl' manipulator is deprecated with 5.15. Replace it with newlines.
2020-10-15 15:22:28 +02:00
vejmarie
704d4d9945
Big update to remove deprecation warning from Qt 5.15.0
...
That is need on MacOS build as travis log is bigger than 50k lines
which breaks travis rules
And by the way deprecations are real
All file contains the same modification replace 0 to Qt::WindowFlags() when needed
as the class needs to be instantiated
Signed-off-by: vejmarie <jmverdun3@gmail.com >
2020-09-24 12:56:43 +02:00
wmayer
e9b744b2a6
Gui: make Clipping widget a dockable widget so that it can be used while a task dialog is open
2020-09-04 11:54:52 +02:00
Roy-043
fb9c6b7872
Update CommandView.cpp
2020-09-01 20:22:26 +02:00
mwganson
99585f3a85
[Standard Views] add Home view command. Default shortcut is 'Home' key. Restores camera orientation to current home view, configurable in edit menu -> preferences -> display -> navigation -> New Document Camera Orientation / Home view.
2020-07-20 13:48:37 +02:00
wmayer
d6169d6478
boost: fix for boost < 1.60
2020-06-15 19:38:39 +02:00
wmayer
2641746808
Qt5: 'void QFileDialog::setConfirmOverwrite(bool)' is deprecated: Use setOption(DontConfirmOverwrite, not enabled) instead [-Wdeprecated-declarations]
2020-06-12 17:51:33 +02:00
wmayer
8dbe26a95f
Qt5: 'int QFontMetrics::width' is deprecated since Qt 5.11: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations]
2020-06-12 17:51:33 +02:00
wmayer
730154a684
boost 1.73.0: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated
2020-06-12 17:51:33 +02:00
Adrian
1f63355c06
Improve Axis Cross behavior and expose parameter to 3D View preferences
2020-05-30 11:17:38 +02:00
wmayer
9394da9132
Gui: [skip ci] fixes #0004310 : Std_FreezeViews command: The settings of frozen views resulting from loading a *.cam file will not be saved in a new *.cam file.
2020-05-01 16:14:51 +02:00
wmayer
501b11a03d
Gui: [skip ci] fixes #0004330 : The Std_WhatsThis command does not work for 2 submenus of the View menu.
2020-04-30 14:53:37 +02:00
vocx-fc
b2e63db460
Gui: add sWhatsThis to Std_DrawStyle
2020-04-30 13:06:45 +02:00
carlopav
bc17a8b3fa
[Gui] Reorder Drawstyle menu bugfix
...
bugfix
2020-03-12 09:10:41 -03:00
carlopav
a3dfd14c2a
[Gui] New Icons for HiddenLine and NoShading
...
Just an experiment, didn't try to compile
Gui: Changed icons in Draw Style menu
And also saved old icons in pure svg.
2020-03-12 09:10:41 -03:00
luz.paz
c8cb520887
[skip ci] fix follow-up typos
2020-03-06 14:50:35 +01:00
wmayer
71818b466d
Gui: implementation classes don't inherit from UI classes any more
2020-01-09 14:30:45 +01:00
wmayer
a441cb95c8
fixes #0004244 : Std_SetAppearance always appears on a corner of the secondary monitor
2020-01-09 11:26:30 +01:00
wmayer
96380368ad
Gui: [skip ci] DlgDisplayPropertiesImp doesn't inherit from its UI class any more
2020-01-09 11:00:16 +01:00
wmayer
570d9a5149
Gui: set image creation method in settings dialog
2020-01-08 12:49:56 +01:00
Zheng, Lei
cdca061ca1
Gui: fix box selection
2019-10-20 14:56:58 +02:00
wmayer
84648aea62
improve strict ISO C++11 (-Wpedantic)
2019-10-14 10:54:57 +02:00
wmayer
77d3c19573
fix typo
2019-10-08 10:36:19 +02:00
Zheng, Lei
0d966e6777
Gui: improve SelectionSingleton::setVisible()
...
Change argument to enum type. Make setVisible() robust against
unexpected selection change.
2019-10-08 10:21:06 +02:00
Zheng, Lei
9a1723179f
Gui: assign default guesture to Std_SelBack/Forward
2019-10-08 10:16:20 +02:00
Zheng, Lei
3b1aa19f05
Gui: add class GroupCommand help with grouped command
...
As an example usage, changed StdCmdTreeViewActions to be derived from
GroupCommand
2019-10-08 10:16:00 +02:00
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