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 create a following Dialogue in the image
Forum Updated to NodeBB v4.3 + New Features

how to create a following Dialogue in the image

Scheduled Pinned Locked Moved Unsolved General and Desktop
12 Posts 3 Posters 1.4k Views 2 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.
  • Q Offline
    Q Offline
    Qt Enthusiast
    wrote on last edited by Qt Enthusiast
    #3

    Everyting

    I have not well versed with the DIalog so if some one can help me to create a complted dialogue box

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

      Hi
      You simply make a new form class based on QDialog

      alt text

      alt text

      Add a box layout and add some QLabels for image and text
      and add some pushbuttons too and the checkbox

      alt text

      alt text

      Test project
      https://www.dropbox.com/s/voasnqb4kml3sc6/customDialog.zip?dl=0

      1 Reply Last reply
      4
      • Q Qt Enthusiast

        Everyting

        I have not well versed with the DIalog so if some one can help me to create a complted dialogue box

        JonBJ Offline
        JonBJ Offline
        JonB
        wrote on last edited by
        #5

        @Qt-Enthusiast

        Everything

        LOL :)
        Well @mrjj has been very kind.

        mrjjM 1 Reply Last reply
        1
        • JonBJ JonB

          @Qt-Enthusiast

          Everything

          LOL :)
          Well @mrjj has been very kind.

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

          @JonB
          :)
          well explaining it in details takes far longer than just to design it. ( used 5 mins)
          Also talking about layouts is always meh-ish.
          So i reckoned a test project would be easier :)

          JonBJ 1 Reply Last reply
          0
          • mrjjM mrjj

            @JonB
            :)
            well explaining it in details takes far longer than just to design it. ( used 5 mins)
            Also talking about layouts is always meh-ish.
            So i reckoned a test project would be easier :)

            JonBJ Offline
            JonBJ Offline
            JonB
            wrote on last edited by JonB
            #7

            @mrjj And I thought OP was just asking about Don't show this dialog again checkbox behaviour:)

            mrjjM 1 Reply Last reply
            1
            • JonBJ JonB

              @mrjj And I thought OP was just asking about Don't show this dialog again checkbox behaviour:)

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

              @JonB
              Me too for a moment, until it was sort of covered by "everything" ;)
              Maybe QSettings would be good for storing if to be shown again or not.

              1 Reply Last reply
              1
              • Q Offline
                Q Offline
                Qt Enthusiast
                wrote on last edited by
                #9

                Thanks
                need help in one more dialog
                0_1540925156602_Dialog2.PNG

                mrjjM Q 2 Replies Last reply
                0
                • Q Qt Enthusiast

                  Thanks
                  need help in one more dialog
                  0_1540925156602_Dialog2.PNG

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

                  @Qt-Enthusiast
                  100% same way.
                  Check out test project.
                  Its easy to modify to look like that instead.
                  Or simple Create new form class and and add the elements.

                  1 Reply Last reply
                  1
                  • Q Qt Enthusiast

                    Thanks
                    need help in one more dialog
                    0_1540925156602_Dialog2.PNG

                    Q Offline
                    Q Offline
                    Qt Enthusiast
                    wrote on last edited by
                    #11

                    @Qt-Enthusiast

                    how can I use QInputDialog to make this Dialog box

                    mrjjM 1 Reply Last reply
                    0
                    • Q Qt Enthusiast

                      @Qt-Enthusiast

                      how can I use QInputDialog to make this Dialog box

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

                      @Qt-Enthusiast
                      You cant.
                      QInputDialog is predefined and cannot be altered.
                      You will have to design it like the other.

                      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