Commit Graph

38 Commits

Author SHA1 Message Date
wmayer
76860143f7 Gui: replace slots with member function pointers 2023-02-03 00:21:38 +01:00
Uwe
5c03db60e0 [Gui] modernize some UI connections 2023-01-31 22:24:45 +01:00
Uwe
246c24ec32 [Gui] modernize some UI connections 2023-01-30 18:11:37 -07:00
luz paz
818e2b2841 Gui: fix trailing whitespace 2022-12-02 19:18:54 -06:00
berniev
ae53c9b0a4 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
c40e476a5b [Gui] remove some more superfluous nullptr checks 2022-07-18 13:15:38 +02:00
mosfet80
c48a569696 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
805f697797 [Gui] DAGView: remove few includes
mainly the headers are just sorted
2022-03-08 02:37:35 +01:00
wmayer
8f786ea6ef Gui: Optimize includes to reduce compile time 2022-03-07 20:29:18 +01:00
wmayer
b35623e680 App: Bugfix for NULL-Pointer dereference of Property->getName() 2022-01-16 14:30:51 +01:00
luz paz
fd3f2b0092 Fix various typos and refinements 2022-01-06 20:22:34 +01:00
wmayer
eac4062b3f Boost: [skip ci] Fix build warnings from deprecated Boost headers (v1.75) 2020-12-29 15:34:25 +01:00
triplus
471c7cc3a2 Icon themes DAGView 2020-06-22 11:58:06 +02:00
wmayer
d6169d6478 boost: fix for boost < 1.60 2020-06-15 19:38:39 +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
Zheng, Lei
59c6e38714 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
6afc4851b3 Gui: fix DAG view property link update 2019-12-21 15:26:20 +01:00
Zheng, Lei
64a7e24080 Gui: fix DAG view icon sync problem 2019-12-21 15:26:09 +01:00
asapelkin
875a463923 Used single quotes for single character in string::find algorithm, more efficient 2019-11-21 18:59:43 +01:00
asapelkin
55e758c2f9 used make_shared and make_unique for creating shared pointers 2019-11-21 18:51:43 +01:00
wmayer
36271b4052 move from deprecated boost.signals to boost.signals2 library 2018-10-30 19:09:03 +01:00
wmayer
ee46bdf537 make DAG view behave more nicely in case of cyclic graphs 2018-09-30 15:21:11 +02:00
wmayer
88a8a4f631 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
de2392eb18 source typo fixes pt5
+ cleaning up some more non-short-URLs
Issue #2914
2017-03-04 13:07:13 -03:00
blobfish
b16a5856a7 Gui: DAGView: adding check for App::DocumentObject 2016-12-15 13:50:03 +01:00
Mateusz Skowroński
07dc86fc10 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
2729eb3b20 use bitset to_string for column retrieval 2016-05-13 18:02:53 +02:00
blobfish
78b0d83189 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
85348e48cc 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
a8d37dabbe 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
503a475e63 Core: Gui: DAGView: see following note:
Rework highlight rendering.
    Exception for topo sort.
2016-04-12 18:12:20 +02:00
blobfish
241846dda2 Core: Gui: DAGView: using pending icon and showing valid status for tool tip 2016-04-12 18:12:19 +02:00
Alexander Golubev
1040133be5 Gui: prevent DAGView crash freecad when a document gets a circular dependency 2016-04-12 18:12:16 +02:00
blobfish
b2d4f80b19 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
50e6764cd0 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
b7abab1131 Fix build on Windows 2016-04-12 18:12:10 +02:00
blobfish
5a39e5d3bf Core: Gui: DAGView: Basic Functionality 2016-04-12 18:12:10 +02:00
blobfish
32744adf76 Core: Gui: DAGView: skeleton implemented
Need to enable through parameter BaseApp/Preferences/DAGView
2016-04-12 18:12:10 +02:00