Commit Graph

18 Commits

Author SHA1 Message Date
didendron
2351219559 Gui: Add cancel button to transform task UI dialog
Fixes #7517
2023-09-04 16:43:27 +02:00
wmayer
2e5cb03261 Gui: move to new style connect() 2023-02-01 13:49:35 +01:00
wmayer
81d2361d9f Gui: Qt6 port
* QString::indexOf() is now marked as [[nodiscard]]
* Replace deprecated methods of QMessageBox
* QMouseEvent::globalPos() is deprecated, use globalPosition().toPoint()
* QWidget::enterEvent() requires a QEnterEvent as argument
* QLibraryInfo::location() is deprecated, use path()
* QVariant::Type is deprecated, use QMetaType::Type
* QVariant::canConvert(int) is deprecated, use QVariant::canConvert(QMetaType) or QVariant::canConvert<T>()
* QMessageBox::standardIcon is deprecated, use QStyle::standardIcon()
* Replace deprecated method QMessageBox::question(), ...
* QApplication::fontMetrics() is deprecated
* QDropEvent::mouseButtons() is deprecated, use buttons()
* QDropEvent::keyboardModifiers() is deprecated, use modifiers()
* Constructor of QFontDatabase is deprecated, use static methods instead
* Qt::AA_DisableHighDpiScaling is deprecated
* Qt::AA_EnableHighDpiScaling is deprecated
* Qt::AA_UseHighDpiPixmaps is deprecated
2022-12-31 21:54:45 +01: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
wmayer
97330443a2 All: modernize C++11
* replace deprecated headers
2022-03-23 22:44:18 +01:00
wmayer
96adb98f46 Gui: modernize C++11
* use nullptr
2022-03-23 18:41:21 +01:00
wmayer
1ca7429705 Gui: Optimize includes to reduce compile time 2022-03-07 20:29:18 +01:00
Uwe
aa7977c51a [Gui] Task* and Text*: remove unused includes 2022-03-05 17:44:07 +01:00
Syres916
998e462fcf [Gui] Transform Tool simplify changes as per...
...@0penBrain's feedback
2021-07-20 07:53:33 +01:00
Syres916
202f0286d8 [Gui] Transform Tool change parameter...
...location
2021-07-19 16:17:11 +01:00
Syres916
be3fb31ea9 [Gui] Transform Tool, save Translation...
..and Rotation Increments in user config file.
See discussion https://forum.freecadweb.org/viewtopic.php?f=8&t=60195
2021-07-16 14:30:56 +01:00
luz.paz
f11783a498 src/Gui: [skip ci] fix header uniformity
This PR fixes header uniformity across all `src/Gui` files
2019-12-25 11:39:17 +01:00
Zheng, Lei
2a6bd5e464 Implementation of Link
This patch includes the actual implementation of Link, which is
implemented as an extension named LinkBaseExtension in App namespace,
and a full view provider ViewProviderLink in Gui. The reason of not
using ViewProviderExtension is because it need full control when
display, not just extending existing functionalities.

Please see [here](https://git.io/fjPue) for more details of the
implementation.

This patch also includes a set of link manipulation commands, and a
task panel for overriding geometry element colors.
2019-08-17 15:08:33 +02:00
luz.paz
8fb61fe09f Crowdin: cont... 2019-03-22 10:44:14 -03:00
wmayer
0973dd5e7b add class ViewProviderDragger
derive ViewProviderGeometryObject from ViewProviderDragger
derive ViewProviderPart from ViewProviderDragger
2017-11-26 15:42:57 +01:00
wmayer
f712e1cfc3 move disabling of some commands to task panel 2016-10-09 19:45:30 +02:00
wmayer
1c8734de53 fix crash in CSsysDragger dialog when closing the document beforehand 2016-08-05 15:55:19 +02:00
blobfish
729c116081 Core: Gui: SoFCSysDragger: adding SoFCSysDragger. 2016-05-07 23:06:53 +02:00