Yet another C++ more like question than pure Qt
I need an adequate review of my idea, I
ve used in QtGraphicsRectItem. Ive used a pattern like lambda expressions to add unique behaviour to QGraphicsRectItem
s 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.