Unsolved caffe aplicaion
-
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 deskExactly 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?
-
how to create this in qt designer
background is static and rectagles click enabled (connect and signal) -
Paint the background and use
QGraphicsItems
as your "buttons". You can check theirmousePressEvents
to trigger some action and do whatever you like.Edit:
It's not possible with QtDesigner only. You'll need to subclassQGraphicsObject
orQGraphicsItem
.