lp:~fboucault/ubuntu-ui-toolkit/fix_1197164

Created by Florian Boucault and last modified
Get this branch:
bzr branch lp:~fboucault/ubuntu-ui-toolkit/fix_1197164
Only Florian Boucault can upload to this branch. If you are Florian Boucault please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Florian Boucault
Project:
Ubuntu UI Toolkit
Status:
Merged

Recent revisions

574. By Florian Boucault

debian/control: specify same architecture for ubuntu-ui-toolkit-theme as for qtdeclarative5-ubuntu-ui-toolkit-plugin so that the files end up in the same folder.

573. By Florian Boucault

New UbuntuColors singleton defining the standard Ubuntu color palette. Fixes: https://bugs.launchpad.net/bugs/1098209.

Approved by Tim Peeters, PS Jenkins bot.

572. By Florian Boucault

Simplified theming infrastructure.

There are no stylesheets anymore (.qmltheme file), only delegates remain. A theme is a QML module containing delegates whose names are standardized.
The default theme is called 'Ambiance' and available from QML through 'import Ubuntu.Components.Themes.Ambiance 0.1'.
The name of the current theme is set in ~/.config/ubuntu-ui-toolkit/theme.ini

Writing a new theme is done by creating a QML module and adding it in the Ubuntu/Components/Themes folder.
A theme inherits from another theme by containing a text file name 'parent_theme' whose first and only line is the name of the parent theme.

* Moved themes/ directory to Ubuntu/Components/Themes so that themes are importable.
* Simplified ThemeEngine and ThemeSettings class, removed the rest of the theming infrastructure (ItemStyle, Style, QmlThemeLoader, Selector, StyleCache).
* Adapted all widgets to use the simplified theming technique:
 - new StyledItem class that has a 'style' Component property representing the delegate
 - all widgets that have delegates inherit from StyledItem
 - all widgets set the 'style' property to the corresponding delegate in the current theme by using Theme.createStyleComponent()
 - Ambiance's stylesheet property/values have been moved to where they are used (mostly to the delegates)
 - TextAreaDelegate: exposed background as Component property
 - Added a delegate specific to TextField: TextFieldDelegate
 - Renamed delegates so that they match their widget's name (e.g. EditorCursorDelegate.qml renamed to TextCursorDelegate.qml since it's the delegate of TextCursor.qml)
* Renamed UITK_THEME_PATH into UBUNTU_UI_TOOLKIT_THEMES_PATH. Fixes: https://bugs.launchpad.net/bugs/1081038, https://bugs.launchpad.net/bugs/1137210, https://bugs.launchpad.net/bugs/1152154, https://bugs.launchpad.net/bugs/1152158, https://bugs.launchpad.net/bugs/1152160, https://bugs.launchpad.net/bugs/1152161, https://bugs.launchpad.net/bugs/1152162, https://bugs.launchpad.net/bugs/1167998, https://bugs.launchpad.net/bugs/1185950.

Approved by PS Jenkins bot.

571. By Florian Boucault

UbuntuShape: simplified gradient implementation; gradientColor is now the same as color by default.
.

Approved by PS Jenkins bot, Loïc Molinari.

570. By Florian Boucault

Removed UbuntuShape.qml and transferred code & documentation to shapeitem.cpp
ShapeItem: renamed baseColor property into color.

Approved by PS Jenkins bot, Loïc Molinari.

569. By Leo Arias

Added the Toolbar Autopilot emulator. Fixes: https://bugs.launchpad.net/bugs/1177341.

Approved by PS Jenkins bot, Thomi Richards.

568. By Florian Boucault

Removed unused old-style tabs delegate.

Approved by Tim Peeters, PS Jenkins bot.

567. By Tim Peeters

Update header behavior:
- Do not automatically hide the header when scrolling in a flickable that is not anchored to the top of the page.
- Automatically show the header when flickable's contentHeight becomes less than flickable.height.
- Update documentation for Page.flickable. Fixes: https://bugs.launchpad.net/bugs/1156573, https://bugs.launchpad.net/bugs/1160175.

Approved by PS Jenkins bot, Zsombor Egri.

566. By Florian Boucault

Removed antiquated TextCustom class.

Approved by Zsombor Egri, PS Jenkins bot.

565. By Florian Boucault

Removed common.pri and coverage.pri files that were cluttering QtCreator
making it harder to understand the real structure of the project.
coverage.pri has been transformed into a feature file (coverage.prf) which works
the same way as before.

Approved by Christian Dywan, PS Jenkins bot.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:ubuntu-ui-toolkit
This branch contains Public information 
Everyone can see this information.

Subscribers