Yet another C++ more like question than pure Qt
-
Hello
I need an adequate review of my idea, Ive used in QtGraphicsRectItem. I
ve 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. It
s not with Qt in the case, but expert programmers will know it`s the same.