Commit Graph

41 Commits

Author SHA1 Message Date
wmayer
2725c3a54f Gui: modernize C++: use range-based for loop 2023-08-14 19:42:18 +02:00
wmayer
d150fa7164 modernize C++: avoid bind
In many cases std::bind() is kept because the code is much simpler
2023-08-08 21:10:16 +02:00
wmayer
68d22d864b modernize C++: move from boost::bind to std::bind 2023-08-08 17:36:13 +02:00
wmayer
9b29c3a683 Gui: replace slots with member function pointers 2023-02-03 00:21:38 +01:00
Uwe
900ad81b49 [Gui] modernize some UI connections 2023-01-31 22:24:45 +01:00
Uwe
8801836321 [Gui] modernize some UI connections 2023-01-30 18:11:37 -07:00
luz paz
c16e88845b Gui: fix trailing whitespace 2022-12-02 19:18:54 -06: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
Uwe
3e99d39d05 [Gui] remove some more superfluous nullptr checks 2022-07-18 13:15:38 +02:00
mosfet80
620c273c4e Boost version <=1.60 is never used in freecad 0.20 (#7038)
* Boost version 1.60 is never used in freecad 0.20
2022-06-24 02:20:26 +02:00
Uwe
5587569629 [Gui] DAGView: remove few includes
mainly the headers are just sorted
2022-03-08 02:37:35 +01:00
wmayer
1ca7429705 Gui: Optimize includes to reduce compile time 2022-03-07 20:29:18 +01:00
wmayer
f147986fa9 App: Bugfix for NULL-Pointer dereference of Property->getName() 2022-01-16 14:30:51 +01:00
luz paz
4f886b2b8c Fix various typos and refinements 2022-01-06 20:22:34 +01:00
wmayer
0f31c87cc9 Boost: [skip ci] Fix build warnings from deprecated Boost headers (v1.75) 2020-12-29 15:34:25 +01:00
triplus
de152bf7be Icon themes DAGView 2020-06-22 11:58:06 +02:00
wmayer
f3b460e42e boost: fix for boost < 1.60 2020-06-15 19:38:39 +02:00
wmayer
4ec45b545e 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
Zheng, Lei
15944dde60 Gui: change DAG view selection behavior
If there is selection, then DAG view will show the owner document of
the resolved selected object instead of the active document.
2019-12-21 15:55:00 +01:00
Zheng, Lei
5a32181b64 Gui: fix DAG view property link update 2019-12-21 15:26:20 +01:00
Zheng, Lei
af4fb7d37f Gui: fix DAG view icon sync problem 2019-12-21 15:26:09 +01:00
asapelkin
8bc5b585c8 Used single quotes for single character in string::find algorithm, more efficient 2019-11-21 18:59:43 +01:00
asapelkin
f13a7627ae used make_shared and make_unique for creating shared pointers 2019-11-21 18:51:43 +01:00
wmayer
f898eafd64 move from deprecated boost.signals to boost.signals2 library 2018-10-30 19:09:03 +01:00
wmayer
46def65b44 make DAG view behave more nicely in case of cyclic graphs 2018-09-30 15:21:11 +02:00
wmayer
900ec439d1 do not show F2 as short cuts for renaming on macOS as it doesn't work 2018-04-26 12:57:59 +02:00
Kunda
19f8fd4c10 source typo fixes pt5
+ cleaning up some more non-short-URLs
Issue #2914
2017-03-04 13:07:13 -03:00
blobfish
8ccbff951b Gui: DAGView: adding check for App::DocumentObject 2016-12-15 13:50:03 +01:00
Mateusz Skowroński
f188995e55 QGraphicsItem * QGraphicsScene::itemAt(const QPointF & position) const is deprecated in Qt4.
Use QGraphicsItem * QGraphicsScene::itemAt(const QPointF & position, const QTransform & deviceTransform) const instead.

This change is Qt4/Qt5 neutral.
2016-08-15 14:14:10 +02:00
blobfish
81ee548f7f use bitset to_string for column retrieval 2016-05-13 18:02:53 +02:00
blobfish
3a8eb09635 Core: Gui: DAGView: adding surface specific property link to model recognizition. See following note.
this alters the dagview specific to the surface workbench,
    but it isn't dependent on the surface workbench.
2016-05-07 10:29:19 +02:00
blobfish
86bf399682 Core: Gui: DAGView: delay retrieval for python features. see following note.
This doesn't work on document restore!
2016-05-07 10:29:03 +02:00
Mateusz Skowroński
b5519922d8 QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
2016-04-15 11:55:12 +02:00
blobfish
03ad4d752c Core: Gui: DAGView: see following note:
Rework highlight rendering.
    Exception for topo sort.
2016-04-12 18:12:20 +02:00
blobfish
78f3e9786b Core: Gui: DAGView: using pending icon and showing valid status for tool tip 2016-04-12 18:12:19 +02:00
Alexander Golubev
37320a0bfa Gui: prevent DAGView crash freecad when a document gets a circular dependency 2016-04-12 18:12:16 +02:00
blobfish
389007f17e Core: Gui: DAGView: Various changes. See Following.
Font size hack for windows DPI workaround
    Adding optional layout direction
    Basic filter framework.
    Column logic beyond just parent.
    Factor out graph and graphLink to separate source files
    Factor out rectitem to separate source files
    Rename custom rect item
2016-04-12 18:12:13 +02:00
blobfish
1284810891 Core: Gui: DAGView: Misc fixes, see following
adding dagVisible and test filter(disabled)
    highlight connectors
    fix for double click crash.
    adding visible isolation on right click
    forgot to remove new icons from scene
2016-04-12 18:12:12 +02:00
DeepSOIC
7653d2d48f Fix build on Windows 2016-04-12 18:12:10 +02:00
blobfish
54a3336af5 Core: Gui: DAGView: Basic Functionality 2016-04-12 18:12:10 +02:00
blobfish
3e65723472 Core: Gui: DAGView: skeleton implemented
Need to enable through parameter BaseApp/Preferences/DAGView
2016-04-12 18:12:10 +02:00