Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

v0.1.3 release

Compare
Choose a tag to compare
@benlau benlau released this 19 Sep 16:56
· 234 commits to master since this release

Critical Changes

  1. Min requirement of Qt version has been raised to Qt 5.4
  2. Dropped QuickAndroid.def package. All the constant value has been merged into Constants singleton component.
  3. Renamed the package of QuickAndroid.style to QuickAndroid.Styles
  4. Dropped Style singleton component. User should get current theme from ThemeManager.currentTheme from QuickAndroid.Styles package.
  5. All the Style components use DP unit for component size.

The following components are dropped. They are not implemented by Material design :

  1. PopupMenu
  2. DropDownList
  3. Spinner

New Components

  1. TabBar and TabView
  2. DropDownMenu
  3. Paper
  4. Text
  5. Button

Style Components

Added “extend” property for user to create derived style class form existing Theme object.

Example:

ActionBar {
    style: ActionBarStyle {
    extend: [ ThemeManager.currentTheme.actionBar, {
       “titleTextStyle.textColor” : Constants.white100
    }  ]
   }
}

or

ActionBar {
   style: ActionBarStyle {
      Component.onComponent {
         merge(this,ThemeManager.currentTheme.actionBar);
            titleTextStyle.textColor = Constants.white100   
         }
   }
}

Drawable Provider

  1. Bug Fix - Crash on handling mono image (1bit depth)
  2. Bug Fix - It don’t resize image according to sourceSize.

Drawable

  1. Now it may take Component as input to source property

e.g

Drawable {
    source: Rectangle { color:”red” };
}
  1. Bug Fix - Can not handle Color object as input to source property

Action Bar

  1. ActionBarStyle - Added “unitHeight” property to control the heigh of control item.
  2. Reimplemented by Material Design
    1. Title is not part of action button
    2. Move title according to keyline
  3. Added iconSource, background properties

A

  1. Changed the implementation from C++ to QML
  2. Added A.px() and A.drawable() functions

FloatingActionButton

  1. Added “size” property to choose large/small size of button

Activity

  1. “actionBar” property is not a component anymore. Now it take Item type.

ListItem

  1. ListItemStyle - Added “showDivider” property