Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
sakia
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
clients
python
sakia
Commits
9d09eb80
Commit
9d09eb80
authored
7 years ago
by
inso
Committed by
GitHub
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update plugin_development.md
parent
e1251e84
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/plugin_development.md
+4
-2
4 additions, 2 deletions
doc/plugin_development.md
with
4 additions
and
2 deletions
doc/plugin_development.md
+
4
−
2
View file @
9d09eb80
...
@@ -49,13 +49,15 @@ To build the plugin, you need :
...
@@ -49,13 +49,15 @@ To build the plugin, you need :
### To generate resources (images, qrc, ...)
### To generate resources (images, qrc, ...)
Generating resources uses
[
pyrcc5
](
http://pyqt.sourceforge.net/Docs/PyQt5/resources.html
)
.
Generating resources uses
[
pyrcc5
](
http://pyqt.sourceforge.net/Docs/PyQt5/resources.html
)
.
Generating designer ui files uses
[
pyuic5
](
http://pyqt.sourceforge.net/Docs/PyQt5/designer.html
)
.
To help you generate your resources, you should copy the
`gen_resources.py`
file from sakia sources and configure the
To help you generate your resources, you should copy the
`gen_resources.py`
file from sakia sources and configure the
variable
`gen_resources`
. Replace
`'src'`
by the name of your plugin package.
variable
`gen_resources`
. Replace
`'src'`
by the name of your plugin package.
### 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 build
s
the following python files :
-
`filename.ui`
->
`filename_uic.py`
-
`filename.ui`
->
`filename_uic.py`
-
`filename.qrc`
->
`filename_rc.py`
-
`filename.qrc`
->
`filename_rc.py`
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment