{"action":"closed","issue":{"url":"https://api.github.com/repos/jkall/qgis-midvatten-plugin/issues/63","labels_url":"https://api.github.com/repos/jkall/qgis-midvatten-plugin/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/jkall/qgis-midvatten-plugin/issues/63/comments","events_url":"https://api.github.com/repos/jkall/qgis-midvatten-plugin/issues/63/events","html_url":"https://github.com/jkall/qgis-midvatten-plugin/issues/63","id":55139280,"number":63,"title":"direct load qt ui w/o pyuic4 compilation","user":{"login":"jkall","id":6205804,"avatar_url":"https://avatars.githubusercontent.com/u/6205804?v=3","gravatar_id":"","url":"https://api.github.com/users/jkall","html_url":"https://github.com/jkall","followers_url":"https://api.github.com/users/jkall/followers","following_url":"https://api.github.com/users/jkall/following{/other_user}","gists_url":"https://api.github.com/users/jkall/gists{/gist_id}","starred_url":"https://api.github.com/users/jkall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkall/subscriptions","organizations_url":"https://api.github.com/users/jkall/orgs","repos_url":"https://api.github.com/users/jkall/repos","events_url":"https://api.github.com/users/jkall/events{/privacy}","received_events_url":"https://api.github.com/users/jkall/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jkall/qgis-midvatten-plugin/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/jkall/qgis-midvatten-plugin/labels/Priority-Low","name":"Priority-Low","color":"FFFFFF"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-22T10:52:24Z","updated_at":"2015-09-01T10:47:34Z","closed_at":"2015-09-01T10:47:34Z","body":"To avoid having to compile (pyuic4) for all ui files (and also reduce number of plugin files) change to the method of directly loading ui that is used by custom plot, settings and sectionplot.\r\nMore info here:\r\nhttp://anitagraser.com/2010/11/08/adding-a-dock-widget-to-qgis/\r\nhttp://stackoverflow.com/questions/2398800/linking-a-qtdesigner-ui-file-to-python-pyqt\r\n\r\nUnfortunately this can not be done for icons (resources still needs to be compiled) since the resources file is used by the settings ui. The path to icons will not work so the ui-file will have to use a resources file."}}