Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How to embed Qt Quick controls
QtWS25 Last Chance

How to embed Qt Quick controls

Scheduled Pinned Locked Moved QML and Qt Quick
5 Posts 2 Posters 1.4k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hello,

    How can we embed a Qt Quick control with another one. Is there any example available.

    Best Regards
    Ansif

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mcosta
      wrote on last edited by
      #2

      Hi,

      could you explain better what do you mean?
      Before ask about an example, can you provide an idea of what you want?

      Once your problem is solved don't forget to:

      • Mark the thread as SOLVED using the Topic Tool menu
      • Vote up the answer(s) that helped you to solve the issue

      You can embed images using (http://imgur.com/) or (http://postimage.org/)

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        May be this is a stupid question. Please check this url, http://www.codeproject.com/Articles/4408/Creating-embedded-dialogs-in-MFC

        Its an embedded dialog in a property page.

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mcosta
          wrote on last edited by
          #4

          WOW, the MFC Hell!! :D:D

          Anyway, the simplest way to gat what you want is to use a TabView.

          For example

          @
          Column {
          id: myColumn
          spacing: 6

              anchors.centerIn: parent
              Label {
                  id: myLabel
                  y: 47
                  text: "My Label"
                  anchors.left: parent.left
              }
          
              TabView {
                  id: tabView
          
                  Tab {
                      id: tab1
                      title: "Tab1"
                  }
          
                  Tab {
                      id: tab2
                      title: "Tab2"
                  }
          
              }
          

          @

          Once your problem is solved don't forget to:

          • Mark the thread as SOLVED using the Topic Tool menu
          • Vote up the answer(s) that helped you to solve the issue

          You can embed images using (http://imgur.com/) or (http://postimage.org/)

          1 Reply Last reply
          0
          • ? Offline
            ? Offline
            A Former User
            wrote on last edited by
            #5

            [quote author="mcosta" date="1386060436"]WOW, the MFC Hell!! :D:D

            Anyway, the simplest way to gat what you want is to use a TabView.

            For example

            @
            Column {
            id: myColumn
            spacing: 6

                anchors.centerIn: parent
                Label {
                    id: myLabel
                    y: 47
                    text: "My Label"
                    anchors.left: parent.left
                }
            
                TabView {
                    id: tabView
            
                    Tab {
                        id: tab1
                        title: "Tab1"
                    }
            
                    Tab {
                        id: tab2
                        title: "Tab2"
                    }
            
                }
            

            @

            [/quote]

            Hi,

            yes its a simple way to do. Thanks for your help.

            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