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. Write text in graphical item & Parent child relationship between graphical item....

Write text in graphical item & Parent child relationship between graphical item....

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 2 Posters 1.1k Views
  • 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
    ShrikantAmbade
    wrote on last edited by
    #1

    Hello,

    How to write text into graphical item and also how to form parent child relationship and get position of parent item so that child item can be drawn inside parent item and also provide text inside the child item.
    Many Thanks

    raven-worxR 1 Reply Last reply
    0
    • S ShrikantAmbade

      Hello,

      How to write text into graphical item and also how to form parent child relationship and get position of parent item so that child item can be drawn inside parent item and also provide text inside the child item.
      Many Thanks

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @ShrikantAmbade
      what do you mean with "graphical item"?
      Do you mean QGraphicsItem?

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      S 1 Reply Last reply
      0
      • raven-worxR raven-worx

        @ShrikantAmbade
        what do you mean with "graphical item"?
        Do you mean QGraphicsItem?

        S Offline
        S Offline
        ShrikantAmbade
        wrote on last edited by
        #3

        @raven-worx yes

        raven-worxR 1 Reply Last reply
        0
        • S ShrikantAmbade

          @raven-worx yes

          raven-worxR Offline
          raven-worxR Offline
          raven-worx
          Moderators
          wrote on last edited by raven-worx
          #4

          @ShrikantAmbade
          have you looked at QGraphicsItem API?
          It has all methods pointed out very clearly: setParent(), setPos()

          And there is also a QGraphicsTextItem available

          --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
          If you have a question please use the forum so others can benefit from the solution in the future

          S 1 Reply Last reply
          1
          • raven-worxR raven-worx

            @ShrikantAmbade
            have you looked at QGraphicsItem API?
            It has all methods pointed out very clearly: setParent(), setPos()

            And there is also a QGraphicsTextItem available

            S Offline
            S Offline
            ShrikantAmbade
            wrote on last edited by
            #5

            @raven-worx Thank you dear I will look into it

            1 Reply Last reply
            0

            • Login

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