lp:~zsombi/ubuntu-ui-toolkit/textfield-api

Created by Zsombor Egri and last modified
Get this branch:
bzr branch lp:~zsombi/ubuntu-ui-toolkit/textfield-api
Only Zsombor Egri can upload to this branch. If you are Zsombor Egri please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Zsombor Egri
Project:
Ubuntu UI Toolkit
Status:
Merged

Recent revisions

578. By Zsombor Egri

forceActiveFocus moved back to internal

577. By Zsombor Egri

bug assigned

576. By Zsombor Egri

 TextField exposes all TextInput API except wrapMode which does not have sense in a single-line input; preliminary tag removed from all properties we are not expecting to change

575. By Florian Boucault

Button:
- implementation clean up
- updated visual design
- new 'gradient' property.

Approved by PS Jenkins bot, Zsombor Egri.

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. Fixes: https://bugs.launchpad.net/bugs/1197164.

Approved by PS Jenkins bot.

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.

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