Yet another C++ more like question than pure Qt
C++ Gurus
1
Posts
1
Posters
830
Views
1
Watching
-
Hello
I need an adequate review of my idea, Ive used in QtGraphicsRectItem. Ive used a pattern like lambda expressions to add unique behaviour to QGraphicsRectItems onMousePressEvent()... The idea was to add a callbacks class and add different static inline functions for each concrete object that inherited QGraphicsRectItem. Please, visit my git https://github.com/heatblazer/CallbacksInC- and tell mi if my approach was good or bad. Fair one. Its not with Qt in the case, but expert programmers will know it`s the same.