Skip to content
Snippets Groups Projects
Commit 10db40e0 authored by inso's avatar inso
Browse files

Merge branch 'dev' of github.com:duniter/sakia into dev

parents f37a6c20 23ee5548
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
## Prepare dev environment ## Prepare dev environment
Follow the doc file [Install for developers](https://github.com/duniter/sakia/doc/install_for_developers.md). Follow the doc file [Install for developers](https://github.com/duniter/sakia/blob/dev/doc/install_for_developers.md).
You can use the same pyenv environment to develop your plugin. You can use the same pyenv environment to develop your plugin.
## Plugin structure ## Plugin structure
...@@ -57,7 +57,7 @@ To help you generate your resources, you should copy the `gen_resources.py` file ...@@ -57,7 +57,7 @@ To help you generate your resources, you should copy the `gen_resources.py` file
### To import your resources in your code ### To import your resources in your code
The generation of the resources build the following python files : The generation of the resources builds the following python files :
- `filename.ui` -> `filename_uic.py` - `filename.ui` -> `filename_uic.py`
- `filename.qrc` -> `filename_rc.py` - `filename.qrc` -> `filename_rc.py`
...@@ -66,7 +66,7 @@ The `filename_uic.py` file should be imported in the file using the designed wid ...@@ -66,7 +66,7 @@ The `filename_uic.py` file should be imported in the file using the designed wid
[dialog of the example plugin](https://github.com/Insoleet/sakia-plugin-example/blob/master/plugin_example/main_dialog.py) [dialog of the example plugin](https://github.com/Insoleet/sakia-plugin-example/blob/master/plugin_example/main_dialog.py)
The `filename_rc.py` file should be imported in the `__init__.py` file, on the last line. See the The `filename_rc.py` file should be imported in the `__init__.py` file, on the last line. See the
[__init__.py of the example plugin](https://github.com/Insoleet/sakia-plugin-example/blob/master/plugin_example/__init__.py#L28) [\__init__.py of the example plugin](https://github.com/Insoleet/sakia-plugin-example/blob/master/plugin_example/__init__.py#L28)
### To generate your plugin ### To generate your plugin
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment