Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-3226

Create "Action Area To Alias Signal" Dialog

    XMLWordPrintable

Details

    • QDS 2D - Week 49/51

    Description

      Create a new action for the Connections element.

      We pick up the existing SignalHandlerProperty (e.g."onClicked"). We take the first one,

      The action can be executed from the context menu and is a ModelNodeContextMenuAction.

      This action can also be executed from the ConnectionView on a Connections element.

      For this, the correct ModelNodeContextMenuAction has to be retrieved from the DesignerActionManager (by id).

      The dialog contained in the action

      It is possible to assign one or multiple (what is easier) event ids to the *Connections *element.

      The result

      The code is simply assigned to the SignalHandlerProperty included the {}.

      The import has to be added (if not already)
      import QtQuick.Studio.EventSystem 1.0

      Attachments

        1. screenshot-1.png
          screenshot-1.png
          110 kB
        2. screenshot-2.png
          screenshot-2.png
          6 kB
        3. screenshot-3.png
          screenshot-3.png
          39 kB
        4. screenshot-4.png
          screenshot-4.png
          7 kB
        5. screenshot-5.png
          screenshot-5.png
          10 kB

        Activity

          People

            knud Knud Dollereder
            knud Knud Dollereder
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: