4
Checkbox GUI is a Qt/QML GUI running over D-Bus to control Plainbox.
6
Folder layout/structure
8
gui-engine/ Contains the D-Bus framework and C++ plugin which represents
11
checkbox-gui/ Contains the QML/Qt "skin" which is used to drive testing.
12
There may be other "skins" created later...
14
External Documentation Links
15
============================
17
How to test and work with checkbox-gui code
18
======================================
21
QT Creator (2.7.0 or greater)
22
Ubuntu.Components 0.1 - This is part of the Ubunutu distribution
25
Run the mk-venv script on the top level directory, this will add the
26
required PPAs and install the needed packages.
27
Optionally, to install manually:
28
- sudo apt-add-repository ppa:ubuntu-sdk-team/ppa
29
- sudo apt-add-repository ppa:canonical-qt5-edgers/qt5-proper
31
- sudo apt-get install qtcreator
32
- sudo apt-get install ubuntu-sdk
33
- sudo apt-get dist-upgrade
35
*NEW*. Since the UI is now getting live data through dbus, a plainbox service is required:
38
- Change to the branch's top directory and run:
39
$ mk-venv /tmp/plainbox-venv
41
$ . /tmp/plainbox-venv/bin/activate #Note the dot is significant
42
- Run plainbox in service mode:
46
Once the required tools and dependencies are installed:
49
2. File->Open Project->checkbox-gui.pro
51
4. Interact with the UI
53
There seems to be a visual glitch when starting the UI (step 3). You may notice
54
that a "ghost" window opens, this looks like qt creator but it's a "mirror" or
55
bitmap of that window. This is the actual application window. To make it react,
56
simply try to move it around, or close it and restart it (the ghost window,
57
not qt creator itself). This bug has been reported and is being looked at.