Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
slavisac last edited by slavisac
Hello i trying to code app for caffe.
i could not know start with graphics scene of caffe
dynamicaly add desks in caffe on clikc on desk new window with order of that desk
Exactly i want to create widget application, on screen display caffe bar and dynamicaly add desks in caffe when use click on desak i will fire some action. Can i use QGraphicsScene and graphicsView ?
like this on picture
@slavisac What is your question?
slavisac last edited by
how to create this in qt designer
background is static and rectagles click enabled (connect and signal)
Pl45m4 last edited by Pl45m4
Paint the background and use
QGraphicsItemsas your "buttons". You can check their
mousePressEventsto trigger some action and do whatever you like.
It's not possible with QtDesigner only. You'll need to subclass