4

How can i add new actions to identify feature context menu, i mean when selecting a feature with identify tool and right click on the selected feature, here i want to add new actions to the popup menu.

this picture is showing the required

  • 2
    What type of new actions are you looking to add? – whyzar Oct 16 '17 at 16:56
  • I think that you can't add new actions to this context menu because it is created on the fly. – Fran Raga Oct 18 '17 at 7:07
  • @whyzar i want to some new menu items to do some calculations on the selected feature. – abd0991 Oct 18 '17 at 8:28
  • @FranciscoRaga have any link confirms your thoughts? thx. – abd0991 Oct 18 '17 at 8:31
  • 1
    Update link and delete before comment. github.com/qgis/QGIS/blob/master/src/gui/… – Fran Raga Oct 18 '17 at 11:44
1

As far as I'm aware, there is no feature in QGIS that provide you with the ability to customize the view feature form as shown in your image below, when you identify a feature. The only features that allow for customization is to follow up with selecting a auto open form, which will provide a dialogue box that could be edit if needed or view able in conjunction with the identify console box.

enter image description here

You may want to look in QT designer in creating a custom form that may be helpful in finding a solution.

QGIS Tips – Custom feature forms with Python logic

enter image description here

  • Thanks for mentioning this feature. 1+ becuase i don't know this feature. – abd0991 Oct 18 '17 at 8:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.