Yet another C++ more like question than pure Qt



  • 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.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.