{"action":"created","comment":{"url":"https://api.github.com/repos/DeadMolesTeam/PixWars/pulls/comments/188853617","pull_request_review_id":120913257,"id":188853617,"diff_hunk":"@@ -0,0 +1,148 @@\n+import QtQuick 2.9\n+import QtQuick.Controls 2.2\n+import QtQuick.Window 2.3\n+import QtQuick.Dialogs 1.2\n+import pixel_model 1.0\n+import 'view_config.js' as Config\n+\n+ApplicationWindow {\n+    id: app\n+    visible: true\n+    width: Screen.width\n+    height: Screen.height\n+    title: Config.title\n+    minimumWidth: width\n+    maximumWidth: width\n+    minimumHeight: height\n+    maximumHeight: height\n+    flags: Qt.Window | Qt.CustomizeWindowHint | Qt.WindowTitleHint | Qt.WindowCloseButtonHint | Qt.WindowSystemMenuHint\n+\n+\n+    QPixelTable{\n+        id: dataModel\n+    }\n+\n+    Flickable {\n+        id: flicker\n+        width: app.width\n+        height: app.height\n+        contentWidth: Math.sqrt(dataModel.count) * grid.cellWidth\n+        contentHeight: grid.contentHeight\n+        clip: true\n+        flickableDirection: Flickable.HorizontalAndVerticalFlick\n+        boundsBehavior: Flickable.StopAtBounds\n+        interactive: true\n+        onContentYChanged: grid.contentY = contentY\n+        Rectangle {\n+            id: background\n+            anchors.fill: parent\n+            color: Config.pixelBorderColor //создание границ при помощи цвета фона\n+        }\n+\n+        GridView {\n+            id: grid\n+            model: dataModel.data\n+            anchors.fill: parent\n+//            cellWidth: app.width / Config.num_pixels_width","path":"main.qml","position":46,"original_position":46,"commit_id":"1e40dd5e8646a169460c66f5a2e4b519bfb120f0","original_commit_id":"1e40dd5e8646a169460c66f5a2e4b519bfb120f0","user":{"login":"kirBMSTU","id":26504387,"avatar_url":"https://avatars2.githubusercontent.com/u/26504387?v=4","gravatar_id":"","url":"https://api.github.com/users/kirBMSTU","html_url":"https://github.com/kirBMSTU","followers_url":"https://api.github.com/users/kirBMSTU/followers","following_url":"https://api.github.com/users/kirBMSTU/following{/other_user}","gists_url":"https://api.github.com/users/kirBMSTU/gists{/gist_id}","starred_url":"https://api.github.com/users/kirBMSTU/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirBMSTU/subscriptions","organizations_url":"https://api.github.com/users/kirBMSTU/orgs","repos_url":"https://api.github.com/users/kirBMSTU/repos","events_url":"https://api.github.com/users/kirBMSTU/events{/privacy}","received_events_url":"https://api.github.com/users/kirBMSTU/received_events","type":"User","site_admin":false},"body":"если вы про 46-47 строчки, то я там заменил старый расчет размера пикселей, который позиционировал 20 пикселей по ширине экрана, на новый, который позиционирует все пиксели по высоте и остается только горизонтальная прокрутка","created_at":"2018-05-17T06:49:20Z","updated_at":"2018-05-17T06:49:20Z","html_url":"https://github.com/DeadMolesTeam/PixWars/pull/6#discussion_r188853617","pull_request_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/pulls/6","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/DeadMolesTeam/PixWars/pulls/comments/188853617"},"html":{"href":"https://github.com/DeadMolesTeam/PixWars/pull/6#discussion_r188853617"},"pull_request":{"href":"https://api.github.com/repos/DeadMolesTeam/PixWars/pulls/6"}},"in_reply_to_id":188792054},"pull_request":{"url":"https://api.github.com/repos/DeadMolesTeam/PixWars/pulls/6","id":183218976,"html_url":"https://github.com/DeadMolesTeam/PixWars/pull/6","diff_url":"https://github.com/DeadMolesTeam/PixWars/pull/6.diff","patch_url":"https://github.com/DeadMolesTeam/PixWars/pull/6.patch","issue_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/issues/6","number":6,"state":"open","locked":false,"title":"view for review added","user":{"login":"kirBMSTU","id":26504387,"avatar_url":"https://avatars2.githubusercontent.com/u/26504387?v=4","gravatar_id":"","url":"https://api.github.com/users/kirBMSTU","html_url":"https://github.com/kirBMSTU","followers_url":"https://api.github.com/users/kirBMSTU/followers","following_url":"https://api.github.com/users/kirBMSTU/following{/other_user}","gists_url":"https://api.github.com/users/kirBMSTU/gists{/gist_id}","starred_url":"https://api.github.com/users/kirBMSTU/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirBMSTU/subscriptions","organizations_url":"https://api.github.com/users/kirBMSTU/orgs","repos_url":"https://api.github.com/users/kirBMSTU/repos","events_url":"https://api.github.com/users/kirBMSTU/events{/privacy}","received_events_url":"https://api.github.com/users/kirBMSTU/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-04-21T11:28:51Z","updated_at":"2018-05-17T06:49:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0d0516472644f3acada94da971504b9f07c44e66","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/pulls/6/commits","review_comments_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/pulls/6/comments","review_comment_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/issues/6/comments","statuses_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/statuses/1e40dd5e8646a169460c66f5a2e4b519bfb120f0","head":{"label":"DeadMolesTeam:client_view","ref":"client_view","sha":"1e40dd5e8646a169460c66f5a2e4b519bfb120f0","user":{"login":"DeadMolesTeam","id":34679891,"avatar_url":"https://avatars0.githubusercontent.com/u/34679891?v=4","gravatar_id":"","url":"https://api.github.com/users/DeadMolesTeam","html_url":"https://github.com/DeadMolesTeam","followers_url":"https://api.github.com/users/DeadMolesTeam/followers","following_url":"https://api.github.com/users/DeadMolesTeam/following{/other_user}","gists_url":"https://api.github.com/users/DeadMolesTeam/gists{/gist_id}","starred_url":"https://api.github.com/users/DeadMolesTeam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeadMolesTeam/subscriptions","organizations_url":"https://api.github.com/users/DeadMolesTeam/orgs","repos_url":"https://api.github.com/users/DeadMolesTeam/repos","events_url":"https://api.github.com/users/DeadMolesTeam/events{/privacy}","received_events_url":"https://api.github.com/users/DeadMolesTeam/received_events","type":"Organization","site_admin":false},"repo":{"id":128907457,"name":"PixWars","full_name":"DeadMolesTeam/PixWars","owner":{"login":"DeadMolesTeam","id":34679891,"avatar_url":"https://avatars0.githubusercontent.com/u/34679891?v=4","gravatar_id":"","url":"https://api.github.com/users/DeadMolesTeam","html_url":"https://github.com/DeadMolesTeam","followers_url":"https://api.github.com/users/DeadMolesTeam/followers","following_url":"https://api.github.com/users/DeadMolesTeam/following{/other_user}","gists_url":"https://api.github.com/users/DeadMolesTeam/gists{/gist_id}","starred_url":"https://api.github.com/users/DeadMolesTeam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeadMolesTeam/subscriptions","organizations_url":"https://api.github.com/users/DeadMolesTeam/orgs","repos_url":"https://api.github.com/users/DeadMolesTeam/repos","events_url":"https://api.github.com/users/DeadMolesTeam/events{/privacy}","received_events_url":"https://api.github.com/users/DeadMolesTeam/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DeadMolesTeam/PixWars","description":null,"fork":false,"url":"https://api.github.com/repos/DeadMolesTeam/PixWars","forks_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/forks","keys_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/teams","hooks_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/hooks","issue_events_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/issues/events{/number}","events_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/events","assignees_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/assignees{/user}","branches_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/branches{/branch}","tags_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/tags","blobs_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/git/refs{/sha}","trees_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/statuses/{sha}","languages_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/languages","stargazers_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/stargazers","contributors_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/contributors","subscribers_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/subscribers","subscription_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/subscription","commits_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/commits{/sha}","git_commits_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/git/commits{/sha}","comments_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/comments{/number}","issue_comment_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/issues/comments{/number}","contents_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/contents/{+path}","compare_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/merges","archive_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/downloads","issues_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/issues{/number}","pulls_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/pulls{/number}","milestones_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/milestones{/number}","notifications_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/labels{/name}","releases_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/releases{/id}","deployments_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/deployments","created_at":"2018-04-10T09:24:51Z","updated_at":"2018-05-13T10:23:12Z","pushed_at":"2018-05-16T09:29:23Z","git_url":"git://github.com/DeadMolesTeam/PixWars.git","ssh_url":"git@github.com:DeadMolesTeam/PixWars.git","clone_url":"https://github.com/DeadMolesTeam/PixWars.git","svn_url":"https://github.com/DeadMolesTeam/PixWars","homepage":null,"size":63,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"DeadMolesTeam:master","ref":"master","sha":"9b15d1802f66510ec50ef5ceea888fec2fb912c1","user":{"login":"DeadMolesTeam","id":34679891,"avatar_url":"https://avatars0.githubusercontent.com/u/34679891?v=4","gravatar_id":"","url":"https://api.github.com/users/DeadMolesTeam","html_url":"https://github.com/DeadMolesTeam","followers_url":"https://api.github.com/users/DeadMolesTeam/followers","following_url":"https://api.github.com/users/DeadMolesTeam/following{/other_user}","gists_url":"https://api.github.com/users/DeadMolesTeam/gists{/gist_id}","starred_url":"https://api.github.com/users/DeadMolesTeam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeadMolesTeam/subscriptions","organizations_url":"https://api.github.com/users/DeadMolesTeam/orgs","repos_url":"https://api.github.com/users/DeadMolesTeam/repos","events_url":"https://api.github.com/users/DeadMolesTeam/events{/privacy}","received_events_url":"https://api.github.com/users/DeadMolesTeam/received_events","type":"Organization","site_admin":false},"repo":{"id":128907457,"name":"PixWars","full_name":"DeadMolesTeam/PixWars","owner":{"login":"DeadMolesTeam","id":34679891,"avatar_url":"https://avatars0.githubusercontent.com/u/34679891?v=4","gravatar_id":"","url":"https://api.github.com/users/DeadMolesTeam","html_url":"https://github.com/DeadMolesTeam","followers_url":"https://api.github.com/users/DeadMolesTeam/followers","following_url":"https://api.github.com/users/DeadMolesTeam/following{/other_user}","gists_url":"https://api.github.com/users/DeadMolesTeam/gists{/gist_id}","starred_url":"https://api.github.com/users/DeadMolesTeam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeadMolesTeam/subscriptions","organizations_url":"https://api.github.com/users/DeadMolesTeam/orgs","repos_url":"https://api.github.com/users/DeadMolesTeam/repos","events_url":"https://api.github.com/users/DeadMolesTeam/events{/privacy}","received_events_url":"https://api.github.com/users/DeadMolesTeam/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DeadMolesTeam/PixWars","description":null,"fork":false,"url":"https://api.github.com/repos/DeadMolesTeam/PixWars","forks_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/forks","keys_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/teams","hooks_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/hooks","issue_events_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/issues/events{/number}","events_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/events","assignees_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/assignees{/user}","branches_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/branches{/branch}","tags_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/tags","blobs_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/git/refs{/sha}","trees_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/statuses/{sha}","languages_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/languages","stargazers_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/stargazers","contributors_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/contributors","subscribers_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/subscribers","subscription_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/subscription","commits_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/commits{/sha}","git_commits_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/git/commits{/sha}","comments_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/comments{/number}","issue_comment_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/issues/comments{/number}","contents_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/contents/{+path}","compare_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/merges","archive_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/downloads","issues_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/issues{/number}","pulls_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/pulls{/number}","milestones_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/milestones{/number}","notifications_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/labels{/name}","releases_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/releases{/id}","deployments_url":"https://api.github.com/repos/DeadMolesTeam/PixWars/deployments","created_at":"2018-04-10T09:24:51Z","updated_at":"2018-05-13T10:23:12Z","pushed_at":"2018-05-16T09:29:23Z","git_url":"git://github.com/DeadMolesTeam/PixWars.git","ssh_url":"git@github.com:DeadMolesTeam/PixWars.git","clone_url":"https://github.com/DeadMolesTeam/PixWars.git","svn_url":"https://github.com/DeadMolesTeam/PixWars","homepage":null,"size":63,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DeadMolesTeam/PixWars/pulls/6"},"html":{"href":"https://github.com/DeadMolesTeam/PixWars/pull/6"},"issue":{"href":"https://api.github.com/repos/DeadMolesTeam/PixWars/issues/6"},"comments":{"href":"https://api.github.com/repos/DeadMolesTeam/PixWars/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/DeadMolesTeam/PixWars/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/DeadMolesTeam/PixWars/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DeadMolesTeam/PixWars/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/DeadMolesTeam/PixWars/statuses/1e40dd5e8646a169460c66f5a2e4b519bfb120f0"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"kirBMSTU"}}