How to create a digitalclock(item) to put into the scene



  • I am new to QGraphicsScene and QGraphicsView.
    Everything related to QWidget is no longer valid here.
    No Problem creating Digitial-clock and Date as Qwidget.
    But how to create digital clock, Date item to put into the scene.

    Also how to create QLabel item and put them into the scene.
    Don't want to string them together using QGraphicsLinearLayout.
    Want to use method setPos to position the object anywhere on the canvas(scene).

    Please kindly advice


  • Lifetime Qt Champion

    Hi,

    What about QGraphicsWidget ?


Log in to reply
 

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