BlackJack from C++ and QT Design Patterns