[Qgis-user] Re: Layer Actions Types

Jürgen E. Fischer jef at norbit.de
Sun Nov 7 09:55:03 PST 2010


Hi Andrea,

On Sun, 07. Nov 2010 at 09:25:28 -0800, iomeneandrei wrote:
> python expression:
> print "%pkuid" 
> 
> If I run this action, nothing happens an it should be normal. Is it normal
> or I should have some pop-up window with pkuid value? I have checked
> "Capture output" (I do not found documentation for "Capture output" option).

You should see that on your terminal (unless you're on Windows).

This should show a message box containing the value:
from PyQt4.QtGui import QMessageBox;QMessageBox.information(None, "pkuid value", "%pkuid")


Jürgen 

-- 
Jürgen E. Fischer         norBIT GmbH               Tel. +49-4931-918175-20
Dipl.-Inf. (FH)           Rheinstraße 13            Fax. +49-4931-918175-50
Software Engineer         D-26506 Norden               http://www.norbit.de

-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502




More information about the Qgis-user mailing list