{"action":"created","comment":{"url":"https://api.github.com/repos/nstupunets/CityStat/pulls/comments/195666657","pull_request_review_id":129081664,"id":195666657,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NTY2NjY1Nw==","diff_hunk":"@@ -0,0 +1,43 @@\n+#ifndef CITYSTATMAINWINDOW_H\n+#define CITYSTATMAINWINDOW_H\n+\n+#include <QMainWindow>\n+\n+class AddNewCityDialog;\n+class CityStatItemDelegate;\n+class CityStatModel;\n+\n+namespace Ui {\n+class CityStatMainWindow;\n+}\n+\n+class CityStatMainWindow : public QMainWindow\n+{\n+    Q_OBJECT\n+\n+public:\n+    explicit CityStatMainWindow(QWidget *parent = 0);\n+    ~CityStatMainWindow();\n+public slots:\n+    void showSaveDataResultMessage(bool isSavingSuccessfull, unsigned int savedItemsCounter);\n+    void updateStatusBar(unsigned int maxPopulation,unsigned int minPopulation,unsigned int totalPopulation);\n+signals:\n+    void initiateDataSave();\n+private slots:\n+    void onNewItemAdded(QStringList);\n+    void on_addNewItem_clicked();\n+\n+    void on_saveDataPushButton_clicked();\n+\n+private:\n+    Ui::CityStatMainWindow *ui;\n+//    std::unique_ptr<CityStatModel> m_cityStatisticsModel;\n+//    std::unique_ptr<CityStatItemDelegate> m_comboDelegate;\n+//    std::unique_ptr<AddNewCityDialog> m_addNewCityDialog;\n+\n+    CityStatModel *m_cityStatisticsModel;\n+    CityStatItemDelegate *m_comboDelegate;\n+    AddNewCityDialog *m_addNewCityDialog;","path":"citystatmainwindow.h","position":40,"original_position":40,"commit_id":"90271c2287a01dd24661fc94656aa988cebd18d6","original_commit_id":"90271c2287a01dd24661fc94656aa988cebd18d6","user":{"login":"nstupunets","id":35267550,"node_id":"MDQ6VXNlcjM1MjY3NTUw","avatar_url":"https://avatars0.githubusercontent.com/u/35267550?v=4","gravatar_id":"","url":"https://api.github.com/users/nstupunets","html_url":"https://github.com/nstupunets","followers_url":"https://api.github.com/users/nstupunets/followers","following_url":"https://api.github.com/users/nstupunets/following{/other_user}","gists_url":"https://api.github.com/users/nstupunets/gists{/gist_id}","starred_url":"https://api.github.com/users/nstupunets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nstupunets/subscriptions","organizations_url":"https://api.github.com/users/nstupunets/orgs","repos_url":"https://api.github.com/users/nstupunets/repos","events_url":"https://api.github.com/users/nstupunets/events{/privacy}","received_events_url":"https://api.github.com/users/nstupunets/received_events","type":"User","site_admin":false},"body":"done","created_at":"2018-06-15T08:37:26Z","updated_at":"2018-06-15T08:37:26Z","html_url":"https://github.com/nstupunets/CityStat/pull/1#discussion_r195666657","pull_request_url":"https://api.github.com/repos/nstupunets/CityStat/pulls/1","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/nstupunets/CityStat/pulls/comments/195666657"},"html":{"href":"https://github.com/nstupunets/CityStat/pull/1#discussion_r195666657"},"pull_request":{"href":"https://api.github.com/repos/nstupunets/CityStat/pulls/1"}},"in_reply_to_id":194716065},"pull_request":{"url":"https://api.github.com/repos/nstupunets/CityStat/pulls/1","id":194240829,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk0MjQwODI5","html_url":"https://github.com/nstupunets/CityStat/pull/1","diff_url":"https://github.com/nstupunets/CityStat/pull/1.diff","patch_url":"https://github.com/nstupunets/CityStat/pull/1.patch","issue_url":"https://api.github.com/repos/nstupunets/CityStat/issues/1","number":1,"state":"open","locked":false,"title":"Add all project files","user":{"login":"nstupunets","id":35267550,"node_id":"MDQ6VXNlcjM1MjY3NTUw","avatar_url":"https://avatars0.githubusercontent.com/u/35267550?v=4","gravatar_id":"","url":"https://api.github.com/users/nstupunets","html_url":"https://github.com/nstupunets","followers_url":"https://api.github.com/users/nstupunets/followers","following_url":"https://api.github.com/users/nstupunets/following{/other_user}","gists_url":"https://api.github.com/users/nstupunets/gists{/gist_id}","starred_url":"https://api.github.com/users/nstupunets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nstupunets/subscriptions","organizations_url":"https://api.github.com/users/nstupunets/orgs","repos_url":"https://api.github.com/users/nstupunets/repos","events_url":"https://api.github.com/users/nstupunets/events{/privacy}","received_events_url":"https://api.github.com/users/nstupunets/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-06-12T10:54:16Z","updated_at":"2018-06-15T08:37:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f73e603a9d19c7602e4c4da7ba507fc178c44472","assignee":{"login":"nstupunets","id":35267550,"node_id":"MDQ6VXNlcjM1MjY3NTUw","avatar_url":"https://avatars0.githubusercontent.com/u/35267550?v=4","gravatar_id":"","url":"https://api.github.com/users/nstupunets","html_url":"https://github.com/nstupunets","followers_url":"https://api.github.com/users/nstupunets/followers","following_url":"https://api.github.com/users/nstupunets/following{/other_user}","gists_url":"https://api.github.com/users/nstupunets/gists{/gist_id}","starred_url":"https://api.github.com/users/nstupunets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nstupunets/subscriptions","organizations_url":"https://api.github.com/users/nstupunets/orgs","repos_url":"https://api.github.com/users/nstupunets/repos","events_url":"https://api.github.com/users/nstupunets/events{/privacy}","received_events_url":"https://api.github.com/users/nstupunets/received_events","type":"User","site_admin":false},"assignees":[{"login":"nstupunets","id":35267550,"node_id":"MDQ6VXNlcjM1MjY3NTUw","avatar_url":"https://avatars0.githubusercontent.com/u/35267550?v=4","gravatar_id":"","url":"https://api.github.com/users/nstupunets","html_url":"https://github.com/nstupunets","followers_url":"https://api.github.com/users/nstupunets/followers","following_url":"https://api.github.com/users/nstupunets/following{/other_user}","gists_url":"https://api.github.com/users/nstupunets/gists{/gist_id}","starred_url":"https://api.github.com/users/nstupunets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nstupunets/subscriptions","organizations_url":"https://api.github.com/users/nstupunets/orgs","repos_url":"https://api.github.com/users/nstupunets/repos","events_url":"https://api.github.com/users/nstupunets/events{/privacy}","received_events_url":"https://api.github.com/users/nstupunets/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/nstupunets/CityStat/pulls/1/commits","review_comments_url":"https://api.github.com/repos/nstupunets/CityStat/pulls/1/comments","review_comment_url":"https://api.github.com/repos/nstupunets/CityStat/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nstupunets/CityStat/issues/1/comments","statuses_url":"https://api.github.com/repos/nstupunets/CityStat/statuses/90271c2287a01dd24661fc94656aa988cebd18d6","head":{"label":"nstupunets:develop","ref":"develop","sha":"90271c2287a01dd24661fc94656aa988cebd18d6","user":{"login":"nstupunets","id":35267550,"node_id":"MDQ6VXNlcjM1MjY3NTUw","avatar_url":"https://avatars0.githubusercontent.com/u/35267550?v=4","gravatar_id":"","url":"https://api.github.com/users/nstupunets","html_url":"https://github.com/nstupunets","followers_url":"https://api.github.com/users/nstupunets/followers","following_url":"https://api.github.com/users/nstupunets/following{/other_user}","gists_url":"https://api.github.com/users/nstupunets/gists{/gist_id}","starred_url":"https://api.github.com/users/nstupunets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nstupunets/subscriptions","organizations_url":"https://api.github.com/users/nstupunets/orgs","repos_url":"https://api.github.com/users/nstupunets/repos","events_url":"https://api.github.com/users/nstupunets/events{/privacy}","received_events_url":"https://api.github.com/users/nstupunets/received_events","type":"User","site_admin":false},"repo":{"id":137036057,"node_id":"MDEwOlJlcG9zaXRvcnkxMzcwMzYwNTc=","name":"CityStat","full_name":"nstupunets/CityStat","owner":{"login":"nstupunets","id":35267550,"node_id":"MDQ6VXNlcjM1MjY3NTUw","avatar_url":"https://avatars0.githubusercontent.com/u/35267550?v=4","gravatar_id":"","url":"https://api.github.com/users/nstupunets","html_url":"https://github.com/nstupunets","followers_url":"https://api.github.com/users/nstupunets/followers","following_url":"https://api.github.com/users/nstupunets/following{/other_user}","gists_url":"https://api.github.com/users/nstupunets/gists{/gist_id}","starred_url":"https://api.github.com/users/nstupunets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nstupunets/subscriptions","organizations_url":"https://api.github.com/users/nstupunets/orgs","repos_url":"https://api.github.com/users/nstupunets/repos","events_url":"https://api.github.com/users/nstupunets/events{/privacy}","received_events_url":"https://api.github.com/users/nstupunets/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nstupunets/CityStat","description":null,"fork":false,"url":"https://api.github.com/repos/nstupunets/CityStat","forks_url":"https://api.github.com/repos/nstupunets/CityStat/forks","keys_url":"https://api.github.com/repos/nstupunets/CityStat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nstupunets/CityStat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nstupunets/CityStat/teams","hooks_url":"https://api.github.com/repos/nstupunets/CityStat/hooks","issue_events_url":"https://api.github.com/repos/nstupunets/CityStat/issues/events{/number}","events_url":"https://api.github.com/repos/nstupunets/CityStat/events","assignees_url":"https://api.github.com/repos/nstupunets/CityStat/assignees{/user}","branches_url":"https://api.github.com/repos/nstupunets/CityStat/branches{/branch}","tags_url":"https://api.github.com/repos/nstupunets/CityStat/tags","blobs_url":"https://api.github.com/repos/nstupunets/CityStat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nstupunets/CityStat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nstupunets/CityStat/git/refs{/sha}","trees_url":"https://api.github.com/repos/nstupunets/CityStat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nstupunets/CityStat/statuses/{sha}","languages_url":"https://api.github.com/repos/nstupunets/CityStat/languages","stargazers_url":"https://api.github.com/repos/nstupunets/CityStat/stargazers","contributors_url":"https://api.github.com/repos/nstupunets/CityStat/contributors","subscribers_url":"https://api.github.com/repos/nstupunets/CityStat/subscribers","subscription_url":"https://api.github.com/repos/nstupunets/CityStat/subscription","commits_url":"https://api.github.com/repos/nstupunets/CityStat/commits{/sha}","git_commits_url":"https://api.github.com/repos/nstupunets/CityStat/git/commits{/sha}","comments_url":"https://api.github.com/repos/nstupunets/CityStat/comments{/number}","issue_comment_url":"https://api.github.com/repos/nstupunets/CityStat/issues/comments{/number}","contents_url":"https://api.github.com/repos/nstupunets/CityStat/contents/{+path}","compare_url":"https://api.github.com/repos/nstupunets/CityStat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nstupunets/CityStat/merges","archive_url":"https://api.github.com/repos/nstupunets/CityStat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nstupunets/CityStat/downloads","issues_url":"https://api.github.com/repos/nstupunets/CityStat/issues{/number}","pulls_url":"https://api.github.com/repos/nstupunets/CityStat/pulls{/number}","milestones_url":"https://api.github.com/repos/nstupunets/CityStat/milestones{/number}","notifications_url":"https://api.github.com/repos/nstupunets/CityStat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nstupunets/CityStat/labels{/name}","releases_url":"https://api.github.com/repos/nstupunets/CityStat/releases{/id}","deployments_url":"https://api.github.com/repos/nstupunets/CityStat/deployments","created_at":"2018-06-12T07:47:37Z","updated_at":"2018-06-12T10:29:04Z","pushed_at":"2018-06-12T10:54:16Z","git_url":"git://github.com/nstupunets/CityStat.git","ssh_url":"git@github.com:nstupunets/CityStat.git","clone_url":"https://github.com/nstupunets/CityStat.git","svn_url":"https://github.com/nstupunets/CityStat","homepage":null,"size":12,"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":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"nstupunets:master","ref":"master","sha":"c66d2eaedfaecf144f23d67280e556aa786e9ee8","user":{"login":"nstupunets","id":35267550,"node_id":"MDQ6VXNlcjM1MjY3NTUw","avatar_url":"https://avatars0.githubusercontent.com/u/35267550?v=4","gravatar_id":"","url":"https://api.github.com/users/nstupunets","html_url":"https://github.com/nstupunets","followers_url":"https://api.github.com/users/nstupunets/followers","following_url":"https://api.github.com/users/nstupunets/following{/other_user}","gists_url":"https://api.github.com/users/nstupunets/gists{/gist_id}","starred_url":"https://api.github.com/users/nstupunets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nstupunets/subscriptions","organizations_url":"https://api.github.com/users/nstupunets/orgs","repos_url":"https://api.github.com/users/nstupunets/repos","events_url":"https://api.github.com/users/nstupunets/events{/privacy}","received_events_url":"https://api.github.com/users/nstupunets/received_events","type":"User","site_admin":false},"repo":{"id":137036057,"node_id":"MDEwOlJlcG9zaXRvcnkxMzcwMzYwNTc=","name":"CityStat","full_name":"nstupunets/CityStat","owner":{"login":"nstupunets","id":35267550,"node_id":"MDQ6VXNlcjM1MjY3NTUw","avatar_url":"https://avatars0.githubusercontent.com/u/35267550?v=4","gravatar_id":"","url":"https://api.github.com/users/nstupunets","html_url":"https://github.com/nstupunets","followers_url":"https://api.github.com/users/nstupunets/followers","following_url":"https://api.github.com/users/nstupunets/following{/other_user}","gists_url":"https://api.github.com/users/nstupunets/gists{/gist_id}","starred_url":"https://api.github.com/users/nstupunets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nstupunets/subscriptions","organizations_url":"https://api.github.com/users/nstupunets/orgs","repos_url":"https://api.github.com/users/nstupunets/repos","events_url":"https://api.github.com/users/nstupunets/events{/privacy}","received_events_url":"https://api.github.com/users/nstupunets/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nstupunets/CityStat","description":null,"fork":false,"url":"https://api.github.com/repos/nstupunets/CityStat","forks_url":"https://api.github.com/repos/nstupunets/CityStat/forks","keys_url":"https://api.github.com/repos/nstupunets/CityStat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nstupunets/CityStat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nstupunets/CityStat/teams","hooks_url":"https://api.github.com/repos/nstupunets/CityStat/hooks","issue_events_url":"https://api.github.com/repos/nstupunets/CityStat/issues/events{/number}","events_url":"https://api.github.com/repos/nstupunets/CityStat/events","assignees_url":"https://api.github.com/repos/nstupunets/CityStat/assignees{/user}","branches_url":"https://api.github.com/repos/nstupunets/CityStat/branches{/branch}","tags_url":"https://api.github.com/repos/nstupunets/CityStat/tags","blobs_url":"https://api.github.com/repos/nstupunets/CityStat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nstupunets/CityStat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nstupunets/CityStat/git/refs{/sha}","trees_url":"https://api.github.com/repos/nstupunets/CityStat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nstupunets/CityStat/statuses/{sha}","languages_url":"https://api.github.com/repos/nstupunets/CityStat/languages","stargazers_url":"https://api.github.com/repos/nstupunets/CityStat/stargazers","contributors_url":"https://api.github.com/repos/nstupunets/CityStat/contributors","subscribers_url":"https://api.github.com/repos/nstupunets/CityStat/subscribers","subscription_url":"https://api.github.com/repos/nstupunets/CityStat/subscription","commits_url":"https://api.github.com/repos/nstupunets/CityStat/commits{/sha}","git_commits_url":"https://api.github.com/repos/nstupunets/CityStat/git/commits{/sha}","comments_url":"https://api.github.com/repos/nstupunets/CityStat/comments{/number}","issue_comment_url":"https://api.github.com/repos/nstupunets/CityStat/issues/comments{/number}","contents_url":"https://api.github.com/repos/nstupunets/CityStat/contents/{+path}","compare_url":"https://api.github.com/repos/nstupunets/CityStat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nstupunets/CityStat/merges","archive_url":"https://api.github.com/repos/nstupunets/CityStat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nstupunets/CityStat/downloads","issues_url":"https://api.github.com/repos/nstupunets/CityStat/issues{/number}","pulls_url":"https://api.github.com/repos/nstupunets/CityStat/pulls{/number}","milestones_url":"https://api.github.com/repos/nstupunets/CityStat/milestones{/number}","notifications_url":"https://api.github.com/repos/nstupunets/CityStat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nstupunets/CityStat/labels{/name}","releases_url":"https://api.github.com/repos/nstupunets/CityStat/releases{/id}","deployments_url":"https://api.github.com/repos/nstupunets/CityStat/deployments","created_at":"2018-06-12T07:47:37Z","updated_at":"2018-06-12T10:29:04Z","pushed_at":"2018-06-12T10:54:16Z","git_url":"git://github.com/nstupunets/CityStat.git","ssh_url":"git@github.com:nstupunets/CityStat.git","clone_url":"https://github.com/nstupunets/CityStat.git","svn_url":"https://github.com/nstupunets/CityStat","homepage":null,"size":12,"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":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nstupunets/CityStat/pulls/1"},"html":{"href":"https://github.com/nstupunets/CityStat/pull/1"},"issue":{"href":"https://api.github.com/repos/nstupunets/CityStat/issues/1"},"comments":{"href":"https://api.github.com/repos/nstupunets/CityStat/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/nstupunets/CityStat/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/nstupunets/CityStat/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nstupunets/CityStat/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/nstupunets/CityStat/statuses/90271c2287a01dd24661fc94656aa988cebd18d6"}},"author_association":"OWNER"}}
{"actor":{"display_login":"nstupunets"}}