No description, website, or topics provided.
Switch branches/tags
1.3.2190+17.04.20170327 1.3.2184+17.04.20170306 1.3.2166+17.04.20170130 1.3.2151+17.04.20161223 1.3.2141+16.10.20161013.5 1.3.2135+16.10.20161003.1 1.3.2104+16.10.20160929 1.3.2104+16.10.20160919.3 1.3.2085+16.10.20160915 1.3.2085+16.10.20160831.4 1.3.2073+16.10.20160824 1.3.2060+16.10.20160814 1.3.2030+16.10.20160726.15 1.3.2030+16.10.20160726.2 1.3.2009+16.10.20160615.3 1.3.1995+16.10.20160607.1 1.3.1988+16.10.20160601 1.3.1984+16.10.20160527.2 1.3.1979+16.04.20160517.1 1.3.1960+16.04.20160511.4 1.3.1960+16.04.20160502 1.3.1960+16.04.20160428.1 1.3.1949+16.04.20160421 1.3.1938+16.04.20160416 1.3.1938+16.04.20160414 1.3.1938+16.04.20160412 1.3.1918+16.04.20160404-0ubuntu1 1.3.1872+16.04.20160330.2-0ubuntu1 1.3.1872+16.04.20160314-0ubuntu1 1.3.1872+16.04.20160308-0ubuntu1 1.3.1795+16.04.20160106-0ubuntu1 1.3.1778+16.04.20151221-0ubuntu1 1.3.1778+16.04.20151217.1-0ubuntu1 1.3.1761+16.04.20151216.1-0ubuntu1 1.3.1742+16.04.20151209-0ubuntu1 1.3.1705+16.04.20151120.1-0ubuntu2 1.3.1705+16.04.20151120.1-0ubuntu1 1.3.1705+16.04.20151118-0ubuntu1 1.3.1705+16.04.20151103-0ubuntu1 1.3.1705+16.04.20151031-0ubuntu1 1.3.1688+15.10.20151018.1-0ubuntu1 1.3.1676+15.10.20151008-0ubuntu1 1.3.1676+15.10.20151006.2-0ubuntu1 1.3.1672+15.10.20151002.1-0ubuntu1 1.3.1658+15.10.20151001-0ubuntu1 1.3.1641+15.10.20150922-0ubuntu1 1.3.1627+15.10.20150908-0ubuntu1 1.3.1603+15.10.20150824.1-0ubuntu1 1.3.1603+15.10.20150819.2-0ubuntu1 1.3.1603+15.10.20150812-0ubuntu1 1.3.1584+15.10.20150730-0ubuntu1 1.3.1549+15.10.20150710.1-0ubuntu1 1.3.1549+15.10.20150706-0ubuntu1 1.3.1534+15.10.20150625-0ubuntu1 1.3.1517+15.10.20150523-0ubuntu3 1.3.1517+15.10.20150523-0ubuntu1 1.3.1510+15.10.20150519-0ubuntu1 1.2.1485+15.04.20150429-0ubuntu1 1.2.1485+15.04.20150421-0ubuntu1 1.2.1485+15.04.20150417.1-0ubuntu1 1.2.1458+15.04.20150327-0ubuntu1 1.2.1450+15.04.20150318-0ubuntu1 1.2.1433+15.04.20150306-0ubuntu2 1.2.1433+15.04.20150306-0ubuntu1 1.1.1403+15.04.20150206-0ubuntu2 1.1.1403+15.04.20150206-0ubuntu1 1.1.1376+15.04.20150111-0ubuntu1 1.1.1370+15.04.20141217-0ubuntu1 1.1.1364+15.04.20141209-0ubuntu1 1.1.1347+15.04.20141126-0ubuntu1 1.1.1341+15.04.20141124-0ubuntu1 1.1.1338+15.04.20141121-0ubuntu1 1.1.1311+15.04.20141111-0ubuntu1 1.1.1311+15.04.20141102-0ubuntu1 1.1.1298+14.10.20141016.1-0ubuntu1 1.1.1279+14.10.20141007-0ubuntu1 1.1.1279.1+14.10.20141014-0ubuntu1 1.1.1269+14.10.20141001-0ubuntu1 1.1.1262+14.10.20140922.2-0ubuntu1 1.1.1239+14.10.20140908-0ubuntu1 1.1.1227+14.10.20140904-0ubuntu1 1.1.1214+14.10.20140826-0ubuntu1 1.1.1188+14.10.20140813.4-0ubuntu1 1.1.1181+14.10.20140806-0ubuntu1 1.1.1179+14.10.20140804-0ubuntu1 0.1.51+14.10.20140731.1-0ubuntu1 0.1.50+14.10.20140724.2-0ubuntu1 0.1.49+14.10.20140715-0ubuntu1 0.1.49+14.10.20140710-0ubuntu1 0.1.49+14.10.20140709-0ubuntu1 0.1.49+14.10.20140707-0ubuntu1 0.1.48+14.10.20140707-0ubuntu1 0.1.48+14.10.20140701.2-0ubuntu1 0.1.47+14.10.20140619-0ubuntu1 0.1.47+14.10.20140618-0ubuntu1 0.1.46+14.10.20140602-0ubuntu1 0.1.46+14.10.20140527-0ubuntu1 0.1.46+14.10.20140520-0ubuntu1 0.1.46+14.10.20140516-0ubuntu1 0.1.46+14.10.20140512-0ubuntu1
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.bazaar/plugins
.bzr-builddeb
apicheck
app-launch-profiler
debian
documentation
examples
features
manual-tests
modules/Ubuntu/Components/Themes/Ambiance/qmltheme
po
scripts
src
tests
ubuntu-ui-toolkit-launcher
.bzrignore
.qmake.conf
CODING
COPYING
README
components.api
export_qml_dir.sh
gallery.sh
push_to_phone.sh
run_tests.sh
snapcraft.yaml
sync.profile
ubuntu-sdk.pro
ubuntu-sdk.qmlproject

README

=================
Ubuntu UI Toolkit
=================

Introduction
------------

This project consists of a set of QML components to ease the creation of
beautiful applications in QML for Ubuntu.

QML alone lacks built-in components for basic widgets like Button, Slider,
Scrollbar, etc, meaning a developer has to build them from scratch. This 
toolkit aims to stop this duplication of work, supplying beautiful components 
ready-made and with a clear and consistent API.

These components are fully themeable so the look and feel can be easily 
customized. Resolution independence technology is built in so UIs are scaled 
to best suit the display.

Other features:
- localisation through gettext

This project supports QML2 and above.


Building & Setup
----------------

You need Qt5 installed to proceed. To build this repository, run
$ qmake
$ make

View the components gallery by running
$ ./gallery.sh

To install these components, run
$ make install
You may need to be root for this command to succeed.

To use these components in QML without installing them, you need to set the 
QML2_IMPORT_PATH environment variable. This is done by running
$ source export_qml_dir.sh
from the root directory of this repository, but is lost when you close your 
shell.


Tests
-----

tests
 - autopilot/ubuntuuitoolkit: Autopilot test cases and CPOs
   ./run_tests.sh list
   ./run_tests.sh run [TESTCASE]
 - api: Tests for apicheck (API description generator)
   Run 'make check' in the folder
 - license: Script to verify that sources contains copright headers
   make license
 - resources: Manual test cases (deprecated, should move to unit/visual)
 - unit:
   Unit tests using QTest/UbuntuTestCase
   Run 'make check[_BASENAME_WITH_UNDERSCORES]' in the respective subfolder
   eg. 'tst_label_extras.13.qml' becomes 'make check_tst_label_extras_13'
   This is driven by runtest.sh and checkresults.sh.
  - visual: All tests in this folder can be run as unit tests as well as
    interactively. That means 'make check' or via gallery.sh.
    Optional: prefix with './tests/xvfb.sh' to run inside XVfb.
    Note for adding new files: The root must be a visual Item-based type
    with a width and height. TestCase or UbuntuTestCase must be a child.

 Verify the whole Toolkit API:
 './tests/qmlapicheck.sh' inspects components.api and produces components.api.new

 Verify the tidyness of packaging:
 ./packaging-sorting.sh

 Verify the coding style of Python source code:
 pyflakes .

 'source export_qml_dir.sh' can be used in bash to setup the environment.


Documentation
-------------

Once built, you may view the documentation by opening  
  documentation/html/overview-ubuntu-sdk.html
in your favorite web browser.

Autopilot SDK Helpers Documentation (Sphinx docs):
++++++++++++++++++++++++++++++++++++++++++++++++++

To build the Autopilot SDK Helpers documentation, you need to install sphinx.
After installation, change directory to documentation/autopilot-helpers
and executing make.

 * $ sudo apt-get install python3-sphinx

 * $ cd documentation/autopilot-helpers

 * $ make singlehtml

 * Once built, you may view the documentation by opening
 `_build/singlehtml/index.html` in your favorite web browser.