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. Relating the c++ class to the ui dialog

Relating the c++ class to the ui dialog

Scheduled Pinned Locked Moved General and Desktop
5 Posts 4 Posters 1.3k 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.
  • A Offline
    A Offline
    Arnon
    wrote on last edited by
    #1

    I'm a new begginer to qt. When I build several dialogs using qt-designer how I relate the classes to the correct dialog.

    1 Reply Last reply
    0
    • K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      welcome to devnet

      Your question is not very specific.

      Typically one is using Qt creator as an IDE. Qt creator would use also internally Qt designer for creating UIs. However, the process is seamless. You would create a class with dialog or whatever and you can use it directly in your application.

      Probably the best is to start with "some tutorials.":http://qt-project.org/doc/qt-5.0/qtdoc/qtexamplesandtutorials.html

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Arnon
        wrote on last edited by
        #3

        Maybe I didn't explain myself.
        suppose I have 2 dialogs created with qt-designer
        Dailog 1: personalinfoDialog
        Dialog 2:passwordDialog

        now I have 2 classes

        personalInfoClass
        passowrdClass

        when I implment the 2 classes I need to have a way to relate each to it's correct Dialog
        meaninig I need a way to declare that personalInfoClass is related to personalInfoDialog and passwordClass is related to passwodDialog

        1 Reply Last reply
        0
        • K Offline
          K Offline
          kqt-mr-nv6
          wrote on last edited by
          #4

          your problem is not reflecting in the explanation

          1 Reply Last reply
          0
          • P Offline
            P Offline
            panosk
            wrote on last edited by
            #5

            Hi,
            I think this page will help a lot
            "Using a Designer UI File in your Application":http://qt-project.org/doc/qt-5/designer-using-a-ui-file.html

            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