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. how to promote QGraphics view to another class

how to promote QGraphics view to another class

Scheduled Pinned Locked Moved Unsolved General and Desktop
8 Posts 2 Posters 1.9k 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.
  • Vijay LamkaneV Offline
    Vijay LamkaneV Offline
    Vijay Lamkane
    wrote on last edited by
    #1

    I want to add QHalconWindow into Qt Application How can i do this using QgraphicsView i had created QHalconWindow.cpp class but it is not showing graphicsview window

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      Its not very clear what you have.
      What is "QHalconWindow "

      Show code. please.

      Vijay LamkaneV 1 Reply Last reply
      1
      • mrjjM mrjj

        Hi
        Its not very clear what you have.
        What is "QHalconWindow "

        Show code. please.

        Vijay LamkaneV Offline
        Vijay LamkaneV Offline
        Vijay Lamkane
        wrote on last edited by
        #3

        @mrjj
        Halcon is a image processing library it has its own window i want to get their window in to Qgraphics view

        mrjjM 1 Reply Last reply
        0
        • Vijay LamkaneV Vijay Lamkane

          @mrjj
          Halcon is a image processing library it has its own window i want to get their window in to Qgraphics view

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Vijay-Lamkane

          Ok. What kind of window is it?

          For native type, you might be able to use
          QWidget::createWindowContainer(QWindow)
          https://blog.qt.io/blog/2013/02/19/introducing-qwidgetcreatewindowcontainer/

          Vijay LamkaneV 1 Reply Last reply
          0
          • mrjjM mrjj

            @Vijay-Lamkane

            Ok. What kind of window is it?

            For native type, you might be able to use
            QWidget::createWindowContainer(QWindow)
            https://blog.qt.io/blog/2013/02/19/introducing-qwidgetcreatewindowcontainer/

            Vijay LamkaneV Offline
            Vijay LamkaneV Offline
            Vijay Lamkane
            wrote on last edited by
            #5

            @mrjj
            i had done with it by just by promoting it

            mrjjM 1 Reply Last reply
            0
            • Vijay LamkaneV Vijay Lamkane

              @mrjj
              i had done with it by just by promoting it

              mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @Vijay-Lamkane

              So its Qt widget?
              They directly support Qt ?

              Vijay LamkaneV 1 Reply Last reply
              0
              • mrjjM mrjj

                @Vijay-Lamkane

                So its Qt widget?
                They directly support Qt ?

                Vijay LamkaneV Offline
                Vijay LamkaneV Offline
                Vijay Lamkane
                wrote on last edited by
                #7

                @mrjj
                yes it displays window but i am not able to insert image into it.

                mrjjM 1 Reply Last reply
                0
                • Vijay LamkaneV Vijay Lamkane

                  @mrjj
                  yes it displays window but i am not able to insert image into it.

                  mrjjM Offline
                  mrjjM Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @Vijay-Lamkane
                  Ok, so the Qt part is working but its the actual use of halcon that is doing nothing for you ?

                  Is it this lib ?
                  http://www.mvtec.com/doc/halcon/13/en/

                  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