~ian-clatworthy/bzr-explorer/extensible-init-workspace

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Changing the UI
---------------

The high level UI, including the main menu & toolbar, is built
using Qt-Designer. The raw source is ../ui/explorer.ui. After
changing this, either via Qt-Designer or hand, compile it using::

  pyuic4 ../ui/explorer.ui > ui_explorer.py

The resources (mainly images) are stored in ../data/explorer.qrc.
To compile these::

  pyrcc4 ../data/explorer.qrc > explorer_rc.py

Note that all of the images from the Tango icon library are
included under data but only the 16x16 images are included in
explorer.qrc. This reduces the size of the generated py file
a lot, while still leaving all the images browsable inside
Qt-Designer.

When packaging, the files in the ui and data directories are
not required. If we need to, we can cut down explorer.qrc
further to only have the images actually used.

Ian C.
01-Jun-2009.