Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. The Lounge
  4. I let an AI design my GUI with Qt Designer… here's what happened
Forum Updated to NodeBB v4.3 + New Features

I let an AI design my GUI with Qt Designer… here's what happened

Scheduled Pinned Locked Moved Unsolved The Lounge
13 Posts 9 Posters 2.5k Views 4 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.
  • C Offline
    C Offline
    cbum63
    wrote on last edited by
    #1

    So… I was feeling adventurous (or just really tired) and decided to let an AI help me design a GUI for a small tool I’m building with Qt.

    I described the layout in plain English—“a main window with a file picker on the left, a preview panel on the right, and a cute little status bar that doesn’t judge me”—and asked the AI to generate the .ui structure and some logic to go with it.

    Surprisingly, it gave me a decent starting point. Buttons were there. Layouts kinda made sense. It even remembered to add a spacer (which I always forget). But…

    The widget names were things like pushButton_MagicGo and label_ImportantThing,

    It stacked layouts inside other layouts inside more layouts like a matryoshka doll,

    And it made the window so large it could only be appreciated on a 4K monitor… sideways.

    Still, once I stopped laughing and cleaned it up, I realized: it actually saved me time. It wasn’t perfect, but it got me past the blank-canvas phase.

    Anyone else tried letting AI mess with your Qt UI flow? Did it help? Horrify you? Or both?

    Let’s compare war stories 😄

    S 1 Reply Last reply
    1
    • M Offline
      M Offline
      minato
      Banned
      wrote on last edited by
      #2
      This post is deleted!
      K 1 Reply Last reply
      0
      • jeremy_kJ Offline
        jeremy_kJ Offline
        jeremy_k
        wrote on last edited by
        #3

        I'm confused. Where is the VPN service ad?

        Asking a question about code? http://eel.is/iso-c++/testcase/

        JonBJ C 2 Replies Last reply
        0
        • jeremy_kJ jeremy_k

          I'm confused. Where is the VPN service ad?

          JonBJ Online
          JonBJ Online
          JonB
          wrote on last edited by
          #4

          @jeremy_k Wot?! :)

          jeremy_kJ 1 Reply Last reply
          0
          • JonBJ JonB

            @jeremy_k Wot?! :)

            jeremy_kJ Offline
            jeremy_kJ Offline
            jeremy_k
            wrote on last edited by
            #5

            @JonB said in I let an AI design my GUI with Qt Designer… here's what happened:

            @jeremy_k Wot?! :)

            I have liked, commented, and subscribed.

            Asking a question about code? http://eel.is/iso-c++/testcase/

            1 Reply Last reply
            0
            • jeremy_kJ jeremy_k

              I'm confused. Where is the VPN service ad?

              C Offline
              C Offline
              cbum63
              wrote on last edited by
              #6

              @jeremy_k said in I let an AI design my GUI with Qt Designer… here's what happened:

              I'm confused. Where is the VPN service ad?

              Haha nope, no VPN ads here 😄 Just sharing a tool I tried out with Qt GUI stuff. Maybe the name sounds suspiciously techy 😅

              jeremy_kJ 1 Reply Last reply
              0
              • C cbum63

                @jeremy_k said in I let an AI design my GUI with Qt Designer… here's what happened:

                I'm confused. Where is the VPN service ad?

                Haha nope, no VPN ads here 😄 Just sharing a tool I tried out with Qt GUI stuff. Maybe the name sounds suspiciously techy 😅

                jeremy_kJ Offline
                jeremy_kJ Offline
                jeremy_k
                wrote on last edited by
                #7

                @cbum63 said in I let an AI design my GUI with Qt Designer… here's what happened:

                @jeremy_k said in I let an AI design my GUI with Qt Designer… here's what happened:

                I'm confused. Where is the VPN service ad?

                Haha nope, no VPN ads here 😄 Just sharing a tool I tried out with Qt GUI stuff. Maybe the name sounds suspiciously techy 😅

                Just good clean fun. I'll be more concerned when the AI orders its own upgrade hardware.

                Asking a question about code? http://eel.is/iso-c++/testcase/

                JonBJ 1 Reply Last reply
                0
                • C cbum63

                  So… I was feeling adventurous (or just really tired) and decided to let an AI help me design a GUI for a small tool I’m building with Qt.

                  I described the layout in plain English—“a main window with a file picker on the left, a preview panel on the right, and a cute little status bar that doesn’t judge me”—and asked the AI to generate the .ui structure and some logic to go with it.

                  Surprisingly, it gave me a decent starting point. Buttons were there. Layouts kinda made sense. It even remembered to add a spacer (which I always forget). But…

                  The widget names were things like pushButton_MagicGo and label_ImportantThing,

                  It stacked layouts inside other layouts inside more layouts like a matryoshka doll,

                  And it made the window so large it could only be appreciated on a 4K monitor… sideways.

                  Still, once I stopped laughing and cleaned it up, I realized: it actually saved me time. It wasn’t perfect, but it got me past the blank-canvas phase.

                  Anyone else tried letting AI mess with your Qt UI flow? Did it help? Horrify you? Or both?

                  Let’s compare war stories 😄

                  S Offline
                  S Offline
                  SimonSchroeder
                  wrote on last edited by
                  #8

                  @cbum63 said in I let an AI design my GUI with Qt Designer… here's what happened:

                  I realized: it actually saved me time.

                  I don't have a war story to share, but only an opinion. I'm not entirely sure if it actually saved you time. It certainly might seem that way in your own perception. I don't find it particularly hard to create something with Qt Designer. If you are proficient in a tool it can be quite fast. If the AI makes lots of stupid mistakes you have to clean up it only might feel faster. It might actually be faster if you don't know the tool well. But, if you never use the tool instead of prompting AI you'll never learn it and never get proficient at it. My claim is that you should invest the time to learn the tool and then eventually save time when you are faster than the AI-approach. There will be a break-even point in the future. If you only occasionally use a tool (and thus you don't gain real proficiency in it), AI will surely be faster for yourself.

                  And: Relying on AI too much will actually make you dumb. You need to hone your critical thinking skills to stay smart. Otherwise the brain will quickly adapt to the use of AI. Please, train your brain muscle!

                  mzimmersM 1 Reply Last reply
                  2
                  • jeremy_kJ jeremy_k

                    @cbum63 said in I let an AI design my GUI with Qt Designer… here's what happened:

                    @jeremy_k said in I let an AI design my GUI with Qt Designer… here's what happened:

                    I'm confused. Where is the VPN service ad?

                    Haha nope, no VPN ads here 😄 Just sharing a tool I tried out with Qt GUI stuff. Maybe the name sounds suspiciously techy 😅

                    Just good clean fun. I'll be more concerned when the AI orders its own upgrade hardware.

                    JonBJ Online
                    JonBJ Online
                    JonB
                    wrote on last edited by JonB
                    #9

                    @jeremy_k said in I let an AI design my GUI with Qt Designer… here's what happened:

                    I'll be more concerned when the AI orders its own upgrade hardware.

                    Very amusing :) And doubtless true at some point in the future, hopefully making the news. Like that item we were talking about here(?) recently, where in the RW an AI admitted it "made a mistake" and "panicked" so it deleted record files. Amazing!

                    @SimonSchroeder said in I let an AI design my GUI with Qt Designer… here's what happened:

                    And: Relying on AI too much will actually make you dumb. You need to hone your critical thinking skills to stay smart. Otherwise the brain will quickly adapt to the use of AI. Please, train your brain muscle!

                    Too late, it's happening, it's the future.

                    1 Reply Last reply
                    1
                    • S SimonSchroeder

                      @cbum63 said in I let an AI design my GUI with Qt Designer… here's what happened:

                      I realized: it actually saved me time.

                      I don't have a war story to share, but only an opinion. I'm not entirely sure if it actually saved you time. It certainly might seem that way in your own perception. I don't find it particularly hard to create something with Qt Designer. If you are proficient in a tool it can be quite fast. If the AI makes lots of stupid mistakes you have to clean up it only might feel faster. It might actually be faster if you don't know the tool well. But, if you never use the tool instead of prompting AI you'll never learn it and never get proficient at it. My claim is that you should invest the time to learn the tool and then eventually save time when you are faster than the AI-approach. There will be a break-even point in the future. If you only occasionally use a tool (and thus you don't gain real proficiency in it), AI will surely be faster for yourself.

                      And: Relying on AI too much will actually make you dumb. You need to hone your critical thinking skills to stay smart. Otherwise the brain will quickly adapt to the use of AI. Please, train your brain muscle!

                      mzimmersM Offline
                      mzimmersM Offline
                      mzimmers
                      wrote on last edited by
                      #10

                      @SimonSchroeder said in I let an AI design my GUI with Qt Designer… here's what happened:

                      Relying on AI too much will actually make you dumb

                      I don't need AI's help for that.

                      1 Reply Last reply
                      1
                      • M minato

                        This post is deleted!

                        K Offline
                        K Offline
                        kakasi
                        Banned
                        wrote on last edited by
                        #11
                        This post is deleted!
                        1 Reply Last reply
                        0
                        • johngodJ Offline
                          johngodJ Offline
                          johngod
                          wrote last edited by
                          #12

                          Lately I havent done much Qt coding so I haven tried AI for that, but I have a story.
                          If a programming topic is very interesting to me, I like to buy books, good books are well structured and give good details that I sometimes miss when learning from youtube videos or web tutorials.
                          So I bought a book about Unreal development, since this book was covering the latest Unreal version (and there were almost no books about the latest version), it still didnt have reviews, but the topics in the TOC look intersting, so I took a leap of faith and bought the paper version. Turns out the book was really bad, very generic, no images, no print screens, no code snippets, no demo examples in github.
                          Then I search information about the author, found nothing, but he had other books about novels, travelling, or whatever, nothing related with programming.
                          I come to the conclusion that this book was almost certainly written making copy paste from Chat gpt.
                          Luckly Amazon refound the book, and let me keep it, I think I will it use on a fireplace :) I guess AI will bring a lot of crap to the web.

                          SGaistS 1 Reply Last reply
                          1
                          • johngodJ johngod

                            Lately I havent done much Qt coding so I haven tried AI for that, but I have a story.
                            If a programming topic is very interesting to me, I like to buy books, good books are well structured and give good details that I sometimes miss when learning from youtube videos or web tutorials.
                            So I bought a book about Unreal development, since this book was covering the latest Unreal version (and there were almost no books about the latest version), it still didnt have reviews, but the topics in the TOC look intersting, so I took a leap of faith and bought the paper version. Turns out the book was really bad, very generic, no images, no print screens, no code snippets, no demo examples in github.
                            Then I search information about the author, found nothing, but he had other books about novels, travelling, or whatever, nothing related with programming.
                            I come to the conclusion that this book was almost certainly written making copy paste from Chat gpt.
                            Luckly Amazon refound the book, and let me keep it, I think I will it use on a fireplace :) I guess AI will bring a lot of crap to the web.

                            SGaistS Offline
                            SGaistS Offline
                            SGaist
                            Lifetime Qt Champion
                            wrote last edited by
                            #13

                            @johngod sadly, it already does. Several authors have already been plagiarized and got their reputation tainted because of that.

                            Interested in AI ? www.idiap.ch
                            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                            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