{"comment":{"created_at":"2011-10-20T07:51:22Z","body":"Thanks very much.  Martin has been my main point of contact for this, although that doesn't mean I won't take feedback from anyone else.","updated_at":"2011-10-20T07:51:22Z","url":"https://api.github.com/repos/qgis/Quantum-GIS/issues/comments/2465749","id":2465749,"user":{"avatar_url":"https://secure.gravatar.com/avatar/03ccba009c26488991d9ec669e3fccf6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"03ccba009c26488991d9ec669e3fccf6","url":"https://api.github.com/users/NathanW2","id":381660,"login":"NathanW2"}},"action":"created","issue":{"number":51,"created_at":"2011-10-17T13:58:24Z","pull_request":{"diff_url":"https://github.com/qgis/Quantum-GIS/pull/51.diff","patch_url":"https://github.com/qgis/Quantum-GIS/pull/51.patch","html_url":"https://github.com/qgis/Quantum-GIS/pull/51"},"body":"So after a long while I thought it was time to submit a pull request on this one.\r\n\r\nAdds support to use expression as a label eg 'Dia=' || Diameter || 'mm' will render Dia=300mm as a label.\r\n\r\n![Label example](http://dl.dropbox.com/u/6170988/label.png)\r\n\r\nAlso adds a new reusable expression string building widget. This widget is used to build the label expression string currently but is aimed to replace the field calculator, query builder and any other dialog that requires an expression string.\r\n\r\n![New expression dialog](http://dl.dropbox.com/u/6170988/Expression%20string%20builder_015.png)\r\n\r\n![Invalid expression](http://dl.dropbox.com/u/6170988/Expression%20string%20builder_invalid.png)\r\n\r\n### Features of the new widget\r\n\r\n* More future expandable function list using tree widget and groups.\r\n* Real time function search\r\n* Real time expression validation.\r\n* Real time expression output preview\r\n* Help on selected function ( not all help is written yet).\r\n* Load sample 10 or all unique values from field using right click menu.\r\n* Reusable\r\n\r\n## Still Remaining\r\n* Write help for the remaining functions.\r\n","comments":2,"title":"Add support for expression based labels and a new expression string builder widget/dialog.","updated_at":"2011-10-20T07:51:22Z","url":"https://api.github.com/repos/qgis/Quantum-GIS/issues/51","id":1928679,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/03ccba009c26488991d9ec669e3fccf6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"03ccba009c26488991d9ec669e3fccf6","url":"https://api.github.com/users/NathanW2","id":381660,"login":"NathanW2"},"html_url":"https://github.com/qgis/Quantum-GIS/issues/51","labels":[],"state":"open"},"legacy":{"issue_id":1928679,"comment_id":2465749}}