QBZR ui - making changes

7 views
Skip to first unread message

Idelson, Gil

unread,
Jun 14, 2012, 9:34:27 AM6/14/12
to qb...@googlegroups.com, Alexander Belchenko

I want to add several buttons/checkboxes to the qbranch window.

Beside update ui_branch.py , I noticed that I need to change the branch.ui xml file

Am I write?

If so why the changes I do in branch.ui not shown up in the qbranch window?

 

best regards ,

Gil Idelson

 

Alexander Belchenko

unread,
Jun 14, 2012, 9:43:55 AM6/14/12
to qb...@googlegroups.com
Idelson, Gil пишет:
> I want to add several buttons/checkboxes to the qbranch window.
>
> Beside update ui_branch.py , I noticed that I need to change the
> branch.ui xml file
>
> Am I write?
>
> If so why the changes I do in branch.ui not shown up in the qbranch window?

The main source of UI is branch.ui which is supposed to be edited in
WYSIWYG editor Qt Designer. You should have Qt Designer installed with
PyQt4 or Qt4.

When you finished with branch.ui you should compile ui file to python
file with command:

python setup.py build_ui -m branch

in the root of your qbzr tree.

Also note that you should have PyQt4 installed for your python. The
command above will update ui_branch.py module.

After that you should add your own logic to handle new controls in
qbzr/lib/branch.py module.

HTH

Reply all
Reply to author
Forward
0 new messages