{"action":"created","comment":{"url":"https://api.github.com/repos/qgis/QGIS/pulls/comments/175711778","pull_request_review_id":105283709,"id":175711778,"diff_hunk":"@@ -0,0 +1,87 @@\n+/***************************************************************************\n+  qgsquickplugin.cpp\n+  --------------------------------------\n+  Date                 : Nov 2017\n+  Copyright            : (C) 2017 by Peter Petrik\n+  Email                : zilolv at gmail dot com\n+ ***************************************************************************\n+ *                                                                         *\n+ *   This program is free software; you can redistribute it and/or modify  *\n+ *   it under the terms of the GNU General Public License as published by  *\n+ *   the Free Software Foundation; either version 2 of the License, or     *\n+ *   (at your option) any later version.                                   *\n+ *                                                                         *\n+ ***************************************************************************/\n+\n+#include <qqml.h>\n+\n+#include \"qgsfeature.h\"\n+#include \"qgsmaplayer.h\"\n+#include \"qgsmessagelog.h\"\n+#include \"qgspointxy.h\"\n+#include \"qgsproject.h\"\n+#include \"qgsrelationmanager.h\"\n+#include \"qgscoordinatetransformcontext.h\"\n+#include \"qgsvectorlayer.h\"\n+\n+#include \"qgsquickattributeformmodel.h\"\n+#include \"qgsquickattributeformmodelbase.h\"\n+#include \"qgsquickcoordinatetransformer.h\"\n+#include \"qgsquickfeaturemodel.h\"\n+#include \"qgsquickfeaturehighlight.h\"\n+#include \"qgsquickidentifykit.h\"\n+#include \"qgsquickfeature.h\"\n+#include \"qgsquickmapcanvasmap.h\"\n+#include \"qgsquickmapsettings.h\"\n+#include \"qgsquickmaptransform.h\"\n+#include \"qgsquickmessagelogmodel.h\"\n+#include \"qgsquickplugin.h\"\n+#include \"qgsquickpositionkit.h\"\n+#include \"qgsquickscalebarkit.h\"\n+#include \"qgsquicksubmodel.h\"\n+#include \"qgsquickutils.h\"\n+\n+static QObject *_utilsProvider( QQmlEngine *engine, QJSEngine *scriptEngine )\n+{\n+  Q_UNUSED( engine )\n+  Q_UNUSED( scriptEngine )\n+  return QgsQuickUtils::instance();  // the object will be owned by QML engine and destroyed by the engine on exit\n+}\n+\n+void QgisQuickPlugin::registerTypes( const char *uri )\n+{\n+  qDebug( \"REGISTERING QQmlExtensionInterface: QgisQuick\" );","path":"src/quickgui/plugin/qgsquickplugin.cpp","position":53,"original_position":53,"commit_id":"d3860605b23f2e64b5f7ea3a03212eadd7882b66","original_commit_id":"d3860605b23f2e64b5f7ea3a03212eadd7882b66","user":{"login":"m-kuhn","id":588407,"avatar_url":"https://avatars1.githubusercontent.com/u/588407?v=4","gravatar_id":"","url":"https://api.github.com/users/m-kuhn","html_url":"https://github.com/m-kuhn","followers_url":"https://api.github.com/users/m-kuhn/followers","following_url":"https://api.github.com/users/m-kuhn/following{/other_user}","gists_url":"https://api.github.com/users/m-kuhn/gists{/gist_id}","starred_url":"https://api.github.com/users/m-kuhn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-kuhn/subscriptions","organizations_url":"https://api.github.com/users/m-kuhn/orgs","repos_url":"https://api.github.com/users/m-kuhn/repos","events_url":"https://api.github.com/users/m-kuhn/events{/privacy}","received_events_url":"https://api.github.com/users/m-kuhn/received_events","type":"User","site_admin":false},"body":"`QgsDebugMsg` or remove","created_at":"2018-03-20T10:11:39Z","updated_at":"2018-03-20T10:11:39Z","html_url":"https://github.com/qgis/QGIS/pull/6490#discussion_r175711778","pull_request_url":"https://api.github.com/repos/qgis/QGIS/pulls/6490","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/qgis/QGIS/pulls/comments/175711778"},"html":{"href":"https://github.com/qgis/QGIS/pull/6490#discussion_r175711778"},"pull_request":{"href":"https://api.github.com/repos/qgis/QGIS/pulls/6490"}}},"pull_request":{"url":"https://api.github.com/repos/qgis/QGIS/pulls/6490","id":171985582,"html_url":"https://github.com/qgis/QGIS/pull/6490","diff_url":"https://github.com/qgis/QGIS/pull/6490.diff","patch_url":"https://github.com/qgis/QGIS/pull/6490.patch","issue_url":"https://api.github.com/repos/qgis/QGIS/issues/6490","number":6490,"state":"open","locked":false,"title":"QGIS Quick library [dockerdeps]","user":{"login":"PeterPetrik","id":804608,"avatar_url":"https://avatars2.githubusercontent.com/u/804608?v=4","gravatar_id":"","url":"https://api.github.com/users/PeterPetrik","html_url":"https://github.com/PeterPetrik","followers_url":"https://api.github.com/users/PeterPetrik/followers","following_url":"https://api.github.com/users/PeterPetrik/following{/other_user}","gists_url":"https://api.github.com/users/PeterPetrik/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterPetrik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterPetrik/subscriptions","organizations_url":"https://api.github.com/users/PeterPetrik/orgs","repos_url":"https://api.github.com/users/PeterPetrik/repos","events_url":"https://api.github.com/users/PeterPetrik/events{/privacy}","received_events_url":"https://api.github.com/users/PeterPetrik/received_events","type":"User","site_admin":false},"body":"[FEATURE] Introduction of QGIS Quick library\r\n\r\nThis adds a new library for creation of applications based on Qt Quick\r\nframework.\r\nIt contains reusable QML / Qt Quick components based on QGIS core library.\r\nThe initial work introduces MapCanvas, FeatureForm, ScaleBar and various other\r\ncomponents.\r\n\r\nTo enable compilation of the library, use WITH_QUICK=TRUE\r\n\r\nFurther documentation of the library is located in doc/qgsquick.dox\r\n\r\nFor background information see the associated QEP:\r\nhttps://github.com/qgis/QGIS-Enhancement-Proposals/issues/109\r\n\r\nThe initial implementation is largely based on the work of Matthias Kuhn\r\nand Marco Bernasocchi on QField project - kudos to them for the great job!\r\n\r\nAlso thanks to my colleagues Martin Dobias and Viktor Sklencar. \r\n\r\nWork co-funded by Yorkshire Dales National Park.","created_at":"2018-02-28T15:26:15Z","updated_at":"2018-03-20T10:11:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"eb5408a25c40883aee3bbaef410290e9f82e9d2c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":310142278,"url":"https://api.github.com/repos/qgis/QGIS/labels/Feature","name":"Feature","color":"bfd4f2","default":false}],"milestone":{"url":"https://api.github.com/repos/qgis/QGIS/milestones/12","html_url":"https://github.com/qgis/QGIS/milestone/12","labels_url":"https://api.github.com/repos/qgis/QGIS/milestones/12/labels","id":2877597,"number":12,"title":"3.2","description":"","creator":{"login":"m-kuhn","id":588407,"avatar_url":"https://avatars1.githubusercontent.com/u/588407?v=4","gravatar_id":"","url":"https://api.github.com/users/m-kuhn","html_url":"https://github.com/m-kuhn","followers_url":"https://api.github.com/users/m-kuhn/followers","following_url":"https://api.github.com/users/m-kuhn/following{/other_user}","gists_url":"https://api.github.com/users/m-kuhn/gists{/gist_id}","starred_url":"https://api.github.com/users/m-kuhn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-kuhn/subscriptions","organizations_url":"https://api.github.com/users/m-kuhn/orgs","repos_url":"https://api.github.com/users/m-kuhn/repos","events_url":"https://api.github.com/users/m-kuhn/events{/privacy}","received_events_url":"https://api.github.com/users/m-kuhn/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":1,"state":"open","created_at":"2017-10-31T08:29:46Z","updated_at":"2018-03-19T21:21:22Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/qgis/QGIS/pulls/6490/commits","review_comments_url":"https://api.github.com/repos/qgis/QGIS/pulls/6490/comments","review_comment_url":"https://api.github.com/repos/qgis/QGIS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/qgis/QGIS/issues/6490/comments","statuses_url":"https://api.github.com/repos/qgis/QGIS/statuses/d3860605b23f2e64b5f7ea3a03212eadd7882b66","head":{"label":"PeterPetrik:qgis-quick-library","ref":"qgis-quick-library","sha":"d3860605b23f2e64b5f7ea3a03212eadd7882b66","user":{"login":"PeterPetrik","id":804608,"avatar_url":"https://avatars2.githubusercontent.com/u/804608?v=4","gravatar_id":"","url":"https://api.github.com/users/PeterPetrik","html_url":"https://github.com/PeterPetrik","followers_url":"https://api.github.com/users/PeterPetrik/followers","following_url":"https://api.github.com/users/PeterPetrik/following{/other_user}","gists_url":"https://api.github.com/users/PeterPetrik/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterPetrik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterPetrik/subscriptions","organizations_url":"https://api.github.com/users/PeterPetrik/orgs","repos_url":"https://api.github.com/users/PeterPetrik/repos","events_url":"https://api.github.com/users/PeterPetrik/events{/privacy}","received_events_url":"https://api.github.com/users/PeterPetrik/received_events","type":"User","site_admin":false},"repo":{"id":38666026,"name":"QGIS","full_name":"PeterPetrik/QGIS","owner":{"login":"PeterPetrik","id":804608,"avatar_url":"https://avatars2.githubusercontent.com/u/804608?v=4","gravatar_id":"","url":"https://api.github.com/users/PeterPetrik","html_url":"https://github.com/PeterPetrik","followers_url":"https://api.github.com/users/PeterPetrik/followers","following_url":"https://api.github.com/users/PeterPetrik/following{/other_user}","gists_url":"https://api.github.com/users/PeterPetrik/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterPetrik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterPetrik/subscriptions","organizations_url":"https://api.github.com/users/PeterPetrik/orgs","repos_url":"https://api.github.com/users/PeterPetrik/repos","events_url":"https://api.github.com/users/PeterPetrik/events{/privacy}","received_events_url":"https://api.github.com/users/PeterPetrik/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/PeterPetrik/QGIS","description":"QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)","fork":true,"url":"https://api.github.com/repos/PeterPetrik/QGIS","forks_url":"https://api.github.com/repos/PeterPetrik/QGIS/forks","keys_url":"https://api.github.com/repos/PeterPetrik/QGIS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PeterPetrik/QGIS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PeterPetrik/QGIS/teams","hooks_url":"https://api.github.com/repos/PeterPetrik/QGIS/hooks","issue_events_url":"https://api.github.com/repos/PeterPetrik/QGIS/issues/events{/number}","events_url":"https://api.github.com/repos/PeterPetrik/QGIS/events","assignees_url":"https://api.github.com/repos/PeterPetrik/QGIS/assignees{/user}","branches_url":"https://api.github.com/repos/PeterPetrik/QGIS/branches{/branch}","tags_url":"https://api.github.com/repos/PeterPetrik/QGIS/tags","blobs_url":"https://api.github.com/repos/PeterPetrik/QGIS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PeterPetrik/QGIS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PeterPetrik/QGIS/git/refs{/sha}","trees_url":"https://api.github.com/repos/PeterPetrik/QGIS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PeterPetrik/QGIS/statuses/{sha}","languages_url":"https://api.github.com/repos/PeterPetrik/QGIS/languages","stargazers_url":"https://api.github.com/repos/PeterPetrik/QGIS/stargazers","contributors_url":"https://api.github.com/repos/PeterPetrik/QGIS/contributors","subscribers_url":"https://api.github.com/repos/PeterPetrik/QGIS/subscribers","subscription_url":"https://api.github.com/repos/PeterPetrik/QGIS/subscription","commits_url":"https://api.github.com/repos/PeterPetrik/QGIS/commits{/sha}","git_commits_url":"https://api.github.com/repos/PeterPetrik/QGIS/git/commits{/sha}","comments_url":"https://api.github.com/repos/PeterPetrik/QGIS/comments{/number}","issue_comment_url":"https://api.github.com/repos/PeterPetrik/QGIS/issues/comments{/number}","contents_url":"https://api.github.com/repos/PeterPetrik/QGIS/contents/{+path}","compare_url":"https://api.github.com/repos/PeterPetrik/QGIS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PeterPetrik/QGIS/merges","archive_url":"https://api.github.com/repos/PeterPetrik/QGIS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PeterPetrik/QGIS/downloads","issues_url":"https://api.github.com/repos/PeterPetrik/QGIS/issues{/number}","pulls_url":"https://api.github.com/repos/PeterPetrik/QGIS/pulls{/number}","milestones_url":"https://api.github.com/repos/PeterPetrik/QGIS/milestones{/number}","notifications_url":"https://api.github.com/repos/PeterPetrik/QGIS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PeterPetrik/QGIS/labels{/name}","releases_url":"https://api.github.com/repos/PeterPetrik/QGIS/releases{/id}","deployments_url":"https://api.github.com/repos/PeterPetrik/QGIS/deployments","created_at":"2015-07-07T05:24:42Z","updated_at":"2018-02-03T10:21:11Z","pushed_at":"2018-03-20T09:45:13Z","git_url":"git://github.com/PeterPetrik/QGIS.git","ssh_url":"git@github.com:PeterPetrik/QGIS.git","clone_url":"https://github.com/PeterPetrik/QGIS.git","svn_url":"https://github.com/PeterPetrik/QGIS","homepage":"http://qgis.org","size":1350057,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0"},"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"qgis:master","ref":"master","sha":"9580a88514a6425bc8f16847ba4522a5383d9066","user":{"login":"qgis","id":483444,"avatar_url":"https://avatars3.githubusercontent.com/u/483444?v=4","gravatar_id":"","url":"https://api.github.com/users/qgis","html_url":"https://github.com/qgis","followers_url":"https://api.github.com/users/qgis/followers","following_url":"https://api.github.com/users/qgis/following{/other_user}","gists_url":"https://api.github.com/users/qgis/gists{/gist_id}","starred_url":"https://api.github.com/users/qgis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qgis/subscriptions","organizations_url":"https://api.github.com/users/qgis/orgs","repos_url":"https://api.github.com/users/qgis/repos","events_url":"https://api.github.com/users/qgis/events{/privacy}","received_events_url":"https://api.github.com/users/qgis/received_events","type":"Organization","site_admin":false},"repo":{"id":1690480,"name":"QGIS","full_name":"qgis/QGIS","owner":{"login":"qgis","id":483444,"avatar_url":"https://avatars3.githubusercontent.com/u/483444?v=4","gravatar_id":"","url":"https://api.github.com/users/qgis","html_url":"https://github.com/qgis","followers_url":"https://api.github.com/users/qgis/followers","following_url":"https://api.github.com/users/qgis/following{/other_user}","gists_url":"https://api.github.com/users/qgis/gists{/gist_id}","starred_url":"https://api.github.com/users/qgis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qgis/subscriptions","organizations_url":"https://api.github.com/users/qgis/orgs","repos_url":"https://api.github.com/users/qgis/repos","events_url":"https://api.github.com/users/qgis/events{/privacy}","received_events_url":"https://api.github.com/users/qgis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/qgis/QGIS","description":"QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)","fork":false,"url":"https://api.github.com/repos/qgis/QGIS","forks_url":"https://api.github.com/repos/qgis/QGIS/forks","keys_url":"https://api.github.com/repos/qgis/QGIS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/qgis/QGIS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/qgis/QGIS/teams","hooks_url":"https://api.github.com/repos/qgis/QGIS/hooks","issue_events_url":"https://api.github.com/repos/qgis/QGIS/issues/events{/number}","events_url":"https://api.github.com/repos/qgis/QGIS/events","assignees_url":"https://api.github.com/repos/qgis/QGIS/assignees{/user}","branches_url":"https://api.github.com/repos/qgis/QGIS/branches{/branch}","tags_url":"https://api.github.com/repos/qgis/QGIS/tags","blobs_url":"https://api.github.com/repos/qgis/QGIS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/qgis/QGIS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/qgis/QGIS/git/refs{/sha}","trees_url":"https://api.github.com/repos/qgis/QGIS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/qgis/QGIS/statuses/{sha}","languages_url":"https://api.github.com/repos/qgis/QGIS/languages","stargazers_url":"https://api.github.com/repos/qgis/QGIS/stargazers","contributors_url":"https://api.github.com/repos/qgis/QGIS/contributors","subscribers_url":"https://api.github.com/repos/qgis/QGIS/subscribers","subscription_url":"https://api.github.com/repos/qgis/QGIS/subscription","commits_url":"https://api.github.com/repos/qgis/QGIS/commits{/sha}","git_commits_url":"https://api.github.com/repos/qgis/QGIS/git/commits{/sha}","comments_url":"https://api.github.com/repos/qgis/QGIS/comments{/number}","issue_comment_url":"https://api.github.com/repos/qgis/QGIS/issues/comments{/number}","contents_url":"https://api.github.com/repos/qgis/QGIS/contents/{+path}","compare_url":"https://api.github.com/repos/qgis/QGIS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/qgis/QGIS/merges","archive_url":"https://api.github.com/repos/qgis/QGIS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/qgis/QGIS/downloads","issues_url":"https://api.github.com/repos/qgis/QGIS/issues{/number}","pulls_url":"https://api.github.com/repos/qgis/QGIS/pulls{/number}","milestones_url":"https://api.github.com/repos/qgis/QGIS/milestones{/number}","notifications_url":"https://api.github.com/repos/qgis/QGIS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/qgis/QGIS/labels{/name}","releases_url":"https://api.github.com/repos/qgis/QGIS/releases{/id}","deployments_url":"https://api.github.com/repos/qgis/QGIS/deployments","created_at":"2011-05-02T08:06:26Z","updated_at":"2018-03-20T08:31:48Z","pushed_at":"2018-03-20T09:45:17Z","git_url":"git://github.com/qgis/QGIS.git","ssh_url":"git@github.com:qgis/QGIS.git","clone_url":"https://github.com/qgis/QGIS.git","svn_url":"https://github.com/qgis/QGIS","homepage":"http://qgis.org","size":1401689,"stargazers_count":1893,"watchers_count":1893,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1216,"mirror_url":null,"archived":false,"open_issues_count":128,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0"},"forks":1216,"open_issues":128,"watchers":1893,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/qgis/QGIS/pulls/6490"},"html":{"href":"https://github.com/qgis/QGIS/pull/6490"},"issue":{"href":"https://api.github.com/repos/qgis/QGIS/issues/6490"},"comments":{"href":"https://api.github.com/repos/qgis/QGIS/issues/6490/comments"},"review_comments":{"href":"https://api.github.com/repos/qgis/QGIS/pulls/6490/comments"},"review_comment":{"href":"https://api.github.com/repos/qgis/QGIS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/qgis/QGIS/pulls/6490/commits"},"statuses":{"href":"https://api.github.com/repos/qgis/QGIS/statuses/d3860605b23f2e64b5f7ea3a03212eadd7882b66"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"m-kuhn"}}