Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. caffe aplicaion
Forum Updated to NodeBB v4.3 + New Features

caffe aplicaion

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 352 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    slavisac
    wrote on last edited by slavisac
    #1

    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
    02a93d3d-2bfb-44f0-8b9c-87950033c7c5-image.png

    jsulmJ 1 Reply Last reply
    0
    • S 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
      02a93d3d-2bfb-44f0-8b9c-87950033c7c5-image.png

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @slavisac What is your question?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • S Offline
        S Offline
        slavisac
        wrote on last edited by
        #3

        how to create this in qt designer
        background is static and rectagles click enabled (connect and signal)

        Pl45m4P 1 Reply Last reply
        0
        • S slavisac

          how to create this in qt designer
          background is static and rectagles click enabled (connect and signal)

          Pl45m4P Offline
          Pl45m4P Offline
          Pl45m4
          wrote on last edited by Pl45m4
          #4

          @slavisac

          Paint the background and use QGraphicsItems as your "buttons". You can check their mousePressEvents to trigger some action and do whatever you like.

          Edit:
          It's not possible with QtDesigner only. You'll need to subclass QGraphicsObject or QGraphicsItem.


          If debugging is the process of removing software bugs, then programming must be the process of putting them in.

          ~E. W. Dijkstra

          1 Reply Last reply
          1

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved