Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actions: add default/sample/templates #14886

Closed
qgib opened this issue Mar 6, 2012 · 4 comments
Closed

Actions: add default/sample/templates #14886

qgib opened this issue Mar 6, 2012 · 4 comments
Labels
Feature Request GUI/UX Related to QGIS application GUI or User Experience
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Mar 6, 2012

Author Name: Paolo Cavallini (@pcav)
Original Redmine Issue: 5127

Redmine category:gui


It may be intimidating to start writing actions. It would be much easier if we would add some sample actions readymade in the interface. Examples:

python:

from PyQt4.QtGui import QMessageBox; QMessageBox.information( None, "test", "coords = ( [% $clickx %] , [% $clicky %] )
layerid = [% $layerid %]" )

Also, more details should be added to Help button

@qgib
Copy link
Contributor Author

qgib commented Mar 7, 2012

Author Name: Giovanni Manghi (@gioman)


  • assigned_to_id removed Giovanni Manghi

@qgib
Copy link
Contributor Author

qgib commented Mar 9, 2012

Author Name: Diego Mo (Diego Mo)


So far I have used actions in this three ways

Windows type
Open program (browser)
"PATH_PROGRAM" "URL"

Python type
Add Raster Layer
qgis.utils.iface.addRasterLayer('PATH_FILE','NAME_FILE_IN_QGIS')
Add Vector Layer
qgis.utils.iface.addVectorLayer('PATH_FILE','NAME_FILE_IN_QGIS', 'ogr')

I like the way was developed the grass plugin to help users to build the command line (choice of the function, required parameters, optional parameters, opportunity to consult the relative guide to include additional parameters not included in the first choice).
Do you think it makes sense to replicate this approach also to the interface of the actions?

@qgib
Copy link
Contributor Author

qgib commented Apr 15, 2012

Author Name: Giovanni Manghi (@gioman)


  • fixed_version_id was configured as Version 2.0.0

@qgib
Copy link
Contributor Author

qgib commented May 6, 2012

Author Name: Nathan Woodrow (@NathanW2)


Added in 1786b96


  • resolution was changed from to fixed
  • status_id was changed from Open to Closed

@qgib qgib added Feature Request GUI/UX Related to QGIS application GUI or User Experience labels May 24, 2019
@qgib qgib added this to the Version 2.0.0 milestone May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request GUI/UX Related to QGIS application GUI or User Experience
Projects
None yet
Development

No branches or pull requests

1 participant