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. Help with Menu, JCreator Design
Forum Updated to NodeBB v4.3 + New Features

Help with Menu, JCreator Design

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.8k 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.
  • Y Offline
    Y Offline
    yummy man
    wrote on last edited by
    #1

    I created a Qt Gui Application, and added a few items into the default menubar. Issue is, how can I make it so when the item is clicked it triggers something else.

    I tried right clicking on the items themselves, but nothing. I also tried clicking "Edit Signal/Slots", however I am unable to click on the items due to the fact you need to click on the menu for the items to appear.

    Thanks

    1 Reply Last reply
    0
    • W Offline
      W Offline
      Wilk
      wrote on last edited by
      #2

      Hello.
      Probably "this":http://qt-project.org/videos/watch/qt_essentials_widget_edition_application_creation_part_1_mainwindows will answer your question

      1 Reply Last reply
      0
      • W Offline
        W Offline
        Wilk
        wrote on last edited by
        #3

        Also, if you want to edit signals/slots from Designer, you shoud:

        Add new menu in menuBar.

        Add new action in your menu

        Switch to Signals/Slots mode

        Lock at the bottom of the screen and and choose Signals/alots Editor (or something like this, I don't have English QtCreator) tab

        Push green plus button to add signal-slot connection

        Choose your menu's action as sender and whateveryouwant as reseiver.

        ???

        Profit.

        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