{"action":"created","comment":{"url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/pulls/comments/90791752","pull_request_review_id":11307034,"id":90791752,"diff_hunk":"@@ -0,0 +1,25 @@\n+#include <iostream>\n+\n+#include \"ui/input-button-model.hpp\"\n+#include \"core/conversions.hpp\"\n+\n+InputButtonModel::InputButtonModel(QQmlContext* context, MemoryAccess m) : QObject(), context(context), start(0), memoryAccess(m){\n+    context->setContextProperty(\"inputButtonMod\", this);\n+}\n+\n+void InputButtonModel::buttonClicked(int id){\n+    //save id at start in Memory\n+    MemoryValue m=conversions::convert(id, 32);\n+    memoryAccess.putMemoryValueAt(start, m);\n+    //std::cout << id<<std::endl;\n+}\n+\n+QString InputButtonModel::getStart(){\n+    return QString::fromStdString(std::to_string(start));","path":"source/ui/input-button-model.cpp","position":18,"original_position":18,"commit_id":"ca2c8bef725ffaf68df8d61c644e6610d40a6d6d","original_commit_id":"ca2c8bef725ffaf68df8d61c644e6610d40a6d6d","user":{"login":"goldsborough","id":6429851,"avatar_url":"https://avatars.githubusercontent.com/u/6429851?v=3","gravatar_id":"","url":"https://api.github.com/users/goldsborough","html_url":"https://github.com/goldsborough","followers_url":"https://api.github.com/users/goldsborough/followers","following_url":"https://api.github.com/users/goldsborough/following{/other_user}","gists_url":"https://api.github.com/users/goldsborough/gists{/gist_id}","starred_url":"https://api.github.com/users/goldsborough/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goldsborough/subscriptions","organizations_url":"https://api.github.com/users/goldsborough/orgs","repos_url":"https://api.github.com/users/goldsborough/repos","events_url":"https://api.github.com/users/goldsborough/events{/privacy}","received_events_url":"https://api.github.com/users/goldsborough/received_events","type":"User","site_admin":false},"body":"There's defintely a better way to do this ... `QString::setNum`","created_at":"2016-12-05T00:46:53Z","updated_at":"2016-12-05T00:50:48Z","html_url":"https://github.com/TUM-LRR/era-gp-sim/pull/173#discussion_r90791752","pull_request_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/pulls/173","_links":{"self":{"href":"https://api.github.com/repos/TUM-LRR/era-gp-sim/pulls/comments/90791752"},"html":{"href":"https://github.com/TUM-LRR/era-gp-sim/pull/173#discussion_r90791752"},"pull_request":{"href":"https://api.github.com/repos/TUM-LRR/era-gp-sim/pulls/173"}}},"pull_request":{"url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/pulls/173","id":96434696,"html_url":"https://github.com/TUM-LRR/era-gp-sim/pull/173","diff_url":"https://github.com/TUM-LRR/era-gp-sim/pull/173.diff","patch_url":"https://github.com/TUM-LRR/era-gp-sim/pull/173.patch","issue_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/issues/173","number":173,"state":"open","locked":false,"title":"Feature/gui input","user":{"login":"sabrie28","id":18467665,"avatar_url":"https://avatars.githubusercontent.com/u/18467665?v=3","gravatar_id":"","url":"https://api.github.com/users/sabrie28","html_url":"https://github.com/sabrie28","followers_url":"https://api.github.com/users/sabrie28/followers","following_url":"https://api.github.com/users/sabrie28/following{/other_user}","gists_url":"https://api.github.com/users/sabrie28/gists{/gist_id}","starred_url":"https://api.github.com/users/sabrie28/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sabrie28/subscriptions","organizations_url":"https://api.github.com/users/sabrie28/orgs","repos_url":"https://api.github.com/users/sabrie28/repos","events_url":"https://api.github.com/users/sabrie28/events{/privacy}","received_events_url":"https://api.github.com/users/sabrie28/received_events","type":"User","site_admin":false},"body":"#123 #124 #125","created_at":"2016-12-04T14:50:02Z","updated_at":"2016-12-05T00:50:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4f6fe9878e74cf8f4fe5dfc6f385009140cf7456","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/pulls/173/commits","review_comments_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/pulls/173/comments","review_comment_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/issues/173/comments","statuses_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/statuses/ca2c8bef725ffaf68df8d61c644e6610d40a6d6d","head":{"label":"TUM-LRR:feature/gui-input","ref":"feature/gui-input","sha":"ca2c8bef725ffaf68df8d61c644e6610d40a6d6d","user":{"login":"TUM-LRR","id":12150645,"avatar_url":"https://avatars.githubusercontent.com/u/12150645?v=3","gravatar_id":"","url":"https://api.github.com/users/TUM-LRR","html_url":"https://github.com/TUM-LRR","followers_url":"https://api.github.com/users/TUM-LRR/followers","following_url":"https://api.github.com/users/TUM-LRR/following{/other_user}","gists_url":"https://api.github.com/users/TUM-LRR/gists{/gist_id}","starred_url":"https://api.github.com/users/TUM-LRR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TUM-LRR/subscriptions","organizations_url":"https://api.github.com/users/TUM-LRR/orgs","repos_url":"https://api.github.com/users/TUM-LRR/repos","events_url":"https://api.github.com/users/TUM-LRR/events{/privacy}","received_events_url":"https://api.github.com/users/TUM-LRR/received_events","type":"Organization","site_admin":false},"repo":{"id":56257257,"name":"era-gp-sim","full_name":"TUM-LRR/era-gp-sim","owner":{"login":"TUM-LRR","id":12150645,"avatar_url":"https://avatars.githubusercontent.com/u/12150645?v=3","gravatar_id":"","url":"https://api.github.com/users/TUM-LRR","html_url":"https://github.com/TUM-LRR","followers_url":"https://api.github.com/users/TUM-LRR/followers","following_url":"https://api.github.com/users/TUM-LRR/following{/other_user}","gists_url":"https://api.github.com/users/TUM-LRR/gists{/gist_id}","starred_url":"https://api.github.com/users/TUM-LRR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TUM-LRR/subscriptions","organizations_url":"https://api.github.com/users/TUM-LRR/orgs","repos_url":"https://api.github.com/users/TUM-LRR/repos","events_url":"https://api.github.com/users/TUM-LRR/events{/privacy}","received_events_url":"https://api.github.com/users/TUM-LRR/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TUM-LRR/era-gp-sim","description":"ERA-Großpraktikum Simulatorentwicklung","fork":false,"url":"https://api.github.com/repos/TUM-LRR/era-gp-sim","forks_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/forks","keys_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/teams","hooks_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/hooks","issue_events_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/issues/events{/number}","events_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/events","assignees_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/assignees{/user}","branches_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/branches{/branch}","tags_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/tags","blobs_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/git/refs{/sha}","trees_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/statuses/{sha}","languages_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/languages","stargazers_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/stargazers","contributors_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/contributors","subscribers_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/subscribers","subscription_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/subscription","commits_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/commits{/sha}","git_commits_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/git/commits{/sha}","comments_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/comments{/number}","issue_comment_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/issues/comments{/number}","contents_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/contents/{+path}","compare_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/merges","archive_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/downloads","issues_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/issues{/number}","pulls_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/pulls{/number}","milestones_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/milestones{/number}","notifications_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/labels{/name}","releases_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/releases{/id}","deployments_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/deployments","created_at":"2016-04-14T17:32:54Z","updated_at":"2016-10-23T22:36:58Z","pushed_at":"2016-12-04T16:27:39Z","git_url":"git://github.com/TUM-LRR/era-gp-sim.git","ssh_url":"git@github.com:TUM-LRR/era-gp-sim.git","clone_url":"https://github.com/TUM-LRR/era-gp-sim.git","svn_url":"https://github.com/TUM-LRR/era-gp-sim","homepage":null,"size":4782,"stargazers_count":11,"watchers_count":11,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":58,"forks":2,"open_issues":58,"watchers":11,"default_branch":"master"}},"base":{"label":"TUM-LRR:master","ref":"master","sha":"e05a314fd0a8a202bdd6ea249950902398cb212c","user":{"login":"TUM-LRR","id":12150645,"avatar_url":"https://avatars.githubusercontent.com/u/12150645?v=3","gravatar_id":"","url":"https://api.github.com/users/TUM-LRR","html_url":"https://github.com/TUM-LRR","followers_url":"https://api.github.com/users/TUM-LRR/followers","following_url":"https://api.github.com/users/TUM-LRR/following{/other_user}","gists_url":"https://api.github.com/users/TUM-LRR/gists{/gist_id}","starred_url":"https://api.github.com/users/TUM-LRR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TUM-LRR/subscriptions","organizations_url":"https://api.github.com/users/TUM-LRR/orgs","repos_url":"https://api.github.com/users/TUM-LRR/repos","events_url":"https://api.github.com/users/TUM-LRR/events{/privacy}","received_events_url":"https://api.github.com/users/TUM-LRR/received_events","type":"Organization","site_admin":false},"repo":{"id":56257257,"name":"era-gp-sim","full_name":"TUM-LRR/era-gp-sim","owner":{"login":"TUM-LRR","id":12150645,"avatar_url":"https://avatars.githubusercontent.com/u/12150645?v=3","gravatar_id":"","url":"https://api.github.com/users/TUM-LRR","html_url":"https://github.com/TUM-LRR","followers_url":"https://api.github.com/users/TUM-LRR/followers","following_url":"https://api.github.com/users/TUM-LRR/following{/other_user}","gists_url":"https://api.github.com/users/TUM-LRR/gists{/gist_id}","starred_url":"https://api.github.com/users/TUM-LRR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TUM-LRR/subscriptions","organizations_url":"https://api.github.com/users/TUM-LRR/orgs","repos_url":"https://api.github.com/users/TUM-LRR/repos","events_url":"https://api.github.com/users/TUM-LRR/events{/privacy}","received_events_url":"https://api.github.com/users/TUM-LRR/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TUM-LRR/era-gp-sim","description":"ERA-Großpraktikum Simulatorentwicklung","fork":false,"url":"https://api.github.com/repos/TUM-LRR/era-gp-sim","forks_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/forks","keys_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/teams","hooks_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/hooks","issue_events_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/issues/events{/number}","events_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/events","assignees_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/assignees{/user}","branches_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/branches{/branch}","tags_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/tags","blobs_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/git/refs{/sha}","trees_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/statuses/{sha}","languages_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/languages","stargazers_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/stargazers","contributors_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/contributors","subscribers_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/subscribers","subscription_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/subscription","commits_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/commits{/sha}","git_commits_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/git/commits{/sha}","comments_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/comments{/number}","issue_comment_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/issues/comments{/number}","contents_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/contents/{+path}","compare_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/merges","archive_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/downloads","issues_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/issues{/number}","pulls_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/pulls{/number}","milestones_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/milestones{/number}","notifications_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/labels{/name}","releases_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/releases{/id}","deployments_url":"https://api.github.com/repos/TUM-LRR/era-gp-sim/deployments","created_at":"2016-04-14T17:32:54Z","updated_at":"2016-10-23T22:36:58Z","pushed_at":"2016-12-04T16:27:39Z","git_url":"git://github.com/TUM-LRR/era-gp-sim.git","ssh_url":"git@github.com:TUM-LRR/era-gp-sim.git","clone_url":"https://github.com/TUM-LRR/era-gp-sim.git","svn_url":"https://github.com/TUM-LRR/era-gp-sim","homepage":null,"size":4782,"stargazers_count":11,"watchers_count":11,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":58,"forks":2,"open_issues":58,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TUM-LRR/era-gp-sim/pulls/173"},"html":{"href":"https://github.com/TUM-LRR/era-gp-sim/pull/173"},"issue":{"href":"https://api.github.com/repos/TUM-LRR/era-gp-sim/issues/173"},"comments":{"href":"https://api.github.com/repos/TUM-LRR/era-gp-sim/issues/173/comments"},"review_comments":{"href":"https://api.github.com/repos/TUM-LRR/era-gp-sim/pulls/173/comments"},"review_comment":{"href":"https://api.github.com/repos/TUM-LRR/era-gp-sim/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TUM-LRR/era-gp-sim/pulls/173/commits"},"statuses":{"href":"https://api.github.com/repos/TUM-LRR/era-gp-sim/statuses/ca2c8bef725ffaf68df8d61c644e6610d40a6d6d"}}}}
{"actor":{"display_login":"goldsborough"}}