Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Right click not working in form designer

Right click not working in form designer

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
16 Posts 11 Posters 2.1k Views 3 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.
  • M Offline
    M Offline
    mpergand
    wrote on last edited by mpergand
    #2

    You need to click on Edit Signals/Slots button in the upper toolbar.
    See https://doc.qt.io/qt-6/designer-editing-mode.html

    1 Reply Last reply
    1
    • M Offline
      M Offline
      MJ02
      wrote on last edited by
      #3

      Thank you for the response but I am looking for the context menu. When you right click on the push button it should give an option to go to Slot then create the function:

      Screenshot 2024-05-15 184013.png
      Screenshot 2024-05-15 184102.png
      Screenshot 2024-05-15 183916.png

      1 Reply Last reply
      0
      • JonBJ Online
        JonBJ Online
        JonB
        wrote on last edited by
        #4

        Are you saying you do not get what you show, which looks correct?
        If so, platform and Creator version?

        1 Reply Last reply
        1
        • M Offline
          M Offline
          MJ02
          wrote on last edited by
          #5

          Yip I do not get the above. I get nothing

          JonBJ 1 Reply Last reply
          0
          • M MJ02

            Yip I do not get the above. I get nothing

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

            @MJ02

            @JonB said in Right click not working in form designer:

            If so, platform and Creator version?

            Do you not think you will need to provide this information if anyone is to help?

            Just in case, have you tried a brand new project? Are you saying elements other than QPushButton do show correctly?

            1 Reply Last reply
            0
            • M Offline
              M Offline
              MJ02
              wrote on last edited by MJ02
              #7

              win 11 PRO 23H2
              Product: Qt Creator 13.0.1
              Based on: Qt 6.6.3 (MSVC 2019, x86_64)
              Built on: May 6 2024 00:14:45
              From revision: 732f37685c
              I have tried new projects and different types of projects none give me the options. Affecting all elements

              1 Reply Last reply
              0
              • cristian-adamC Online
                cristian-adamC Online
                cristian-adam
                wrote on last edited by
                #8

                I just tested on macOS and Windows 11 with Qt Creator 13.0.1 and it worked just fine for a CMake Hello Widgets project.

                Please do create a bug report with the details.

                1 Reply Last reply
                1
                • M Offline
                  M Offline
                  MJ02
                  wrote on last edited by
                  #9

                  Turns out, I cannot right click on any of the external screens, it only works on the laptop screen.
                  Dragged Qt back to the laptop screen and it behaves as normal.
                  Thank you for the feedback :)

                  Pl45m4P Christian EhrlicherC D 3 Replies Last reply
                  1
                  • M MJ02

                    Turns out, I cannot right click on any of the external screens, it only works on the laptop screen.
                    Dragged Qt back to the laptop screen and it behaves as normal.
                    Thank you for the feedback :)

                    Pl45m4P Offline
                    Pl45m4P Offline
                    Pl45m4
                    wrote on last edited by
                    #10

                    @MJ02 said in Right click not working in form designer:

                    Turns out, I cannot right click on any of the external screens, it only works on the laptop screen.
                    Dragged Qt back to the laptop screen and it behaves as normal.
                    Thank you for the feedback :)

                    LOL :D


                    If debugging is the process of removing software bugs, then programming must be the process of putting them in.

                    ~E. W. Dijkstra

                    1 Reply Last reply
                    0
                    • M MJ02

                      Turns out, I cannot right click on any of the external screens, it only works on the laptop screen.
                      Dragged Qt back to the laptop screen and it behaves as normal.
                      Thank you for the feedback :)

                      Christian EhrlicherC Offline
                      Christian EhrlicherC Offline
                      Christian Ehrlicher
                      Lifetime Qt Champion
                      wrote on last edited by
                      #11

                      @MJ02 said in Right click not working in form designer:

                      Turns out, I cannot right click on any of the external screens, it only works on the laptop screen.

                      Sounds like a high-dpi issue in some way. Is this a high dpi monitor by any chance?

                      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                      Visit the Qt Academy at https://academy.qt.io/catalog

                      1 Reply Last reply
                      0
                      • S Offline
                        S Offline
                        S0Eric
                        wrote on last edited by
                        #12

                        Right-clicking in the designer does not show popup menus - nothing happens, but only on external monitors. I don't know what pop-up menus are supposed to show, but many do when Qt Creator is on the laptop screen.

                        Windows 11 24H2
                        Qt Creator 15.0.1
                        Qt 5.15.17 MSVC2019 64bit

                        1 Reply Last reply
                        0
                        • M MJ02

                          Please could I have some assistance I am trying to right click on a push button to get to the signals and slots menu but nothing happens when I right click

                          Z Offline
                          Z Offline
                          Zarqum
                          wrote on last edited by
                          #13

                          @MJ02 said in Right click not working in form designer:

                          Please could I have some assistance I am trying to right click on a push button to get to the signals and slots menu but nothing happens when I right click

                          Make sure you're in "Edit" mode in Qt Designer or Creator. If right-click isn't working, try using the Object Inspector or just hit Ctrl+Shift+S to open the signals/slots editor directly. Should do the trick!

                          1 Reply Last reply
                          0
                          • M MJ02

                            Turns out, I cannot right click on any of the external screens, it only works on the laptop screen.
                            Dragged Qt back to the laptop screen and it behaves as normal.
                            Thank you for the feedback :)

                            D Offline
                            D Offline
                            Dianad
                            wrote on last edited by
                            #14

                            @MJ02 Hi, this just happened to me as well, I had spent 2-3h looking into the problem, I was literally going insane, reinstalling everything, etc. Your comment here was a life saver! I would not have thought of it.. So... Have a very good day!!!

                            1 Reply Last reply
                            0
                            • R Offline
                              R Offline
                              Robert Hairgrove
                              wrote on last edited by Robert Hairgrove
                              #15

                              It seems that this is still an issue in Qt Creator/Designer, version 17.0.0 on Linux Ubuntu 22.04.

                              I can select multiple controls in the designer, but I can only add them to a layout in the Object Inspector because right-clicking on the selected controls shows no context menu.

                              (Edit: I'm not sure if this happens all the time or only under special circumstances -- will try to set up a small test.)

                              Has anyone submitted a bug report about this yet?

                              1 Reply Last reply
                              0
                              • J Offline
                                J Offline
                                JeffreyGu
                                wrote on last edited by
                                #16

                                I got same issue with Qt Creator which version is 17.0.1, it works on my laptop 2.5K screen, but can't work on my extended screen @1920x1080.

                                1 Reply Last reply
                                0
                                • Christian EhrlicherC Christian Ehrlicher moved this topic from General and Desktop on

                                • Login

                                • Login or register to search.
                                • First post
                                  Last post
                                0
                                • Categories
                                • Recent
                                • Tags
                                • Popular
                                • Users
                                • Groups
                                • Search
                                • Get Qt Extensions
                                • Unsolved