Meego Wiki
Views

Components Migration

From MeeGo wiki
Revision as of 22:13, 19 April 2011 by Btdrucke (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

Migration of Components from MeeGo.Labs.Components to MeeGo.Components

PAGE UNDER CONSTRUCTION

Currently some component code versions exists in both meegolabs-ux-components and meego-ux-components. In order to avoid confusion for third party developers and to decrease the burden of maintaining two branches and keeping them in sync, we are deprecating code in meegolabs-ux-components where it is already available in meego-ux-components.

Component migration will occur in three phases:

Phase I (done April 8th)

  • deprecate Media pickers (image/video/music)
  • deprecate Date and Time pickers
  • Contacts picker will remain in meegolabs-ux-components for the time being

Phase II (schedule to end April 22)

  • all other duplicated components (see table below)
  • Window and AppPage/ApplicationPage will not be migrated in this phase

Phase III (scheduled to end April 29)

  • Window and AppPage components
import MeeGo.Labs.Components 0.1 as Labs
import MeeGo.Components 0.1

// meego-ux-components window
Window {
  ...
  // meego-ux-components button
  Button {
  }
  // meegolabs-ux-components iconbutton
  Labs.IconButton {
  }
...
}

Window, Book and Page

A general change in the meego-ux-components is the concept of how to use Window and AppPage in order to create a navigation path to your application. Please find the examples and the tutorial in the devel package to help you understand the concept easily.

Phase II Components Migration:

MeeGo Labs         MeeGo-Ux-Components   Changes
ActionMenu         ActionMenu            API changed
Button             Button                API and Design
CheckBox           CheckBox              API and Design
ContextMenu        ModalContextMenu      derived from ModalFog, API change
DropDown           DropDown              API and Design
EditPane           TextField             replace by TextField
ExpandingBox       ExpandingBox          API and Design
Fog                ModalFog              whole concept changed
IconButton         IconButton            API and Design
MessageBox         ModalMesseageBox      derived from ModalFog, API change
ModalDialog        ModalDialog           API and Design
ModalSurface       ModalFog              API and Design
PickerDialog       ModalDialog           -
PopupList          PopupList             API and Design
RadioButton        RadioButton           Design
RadioGroup.js      RadioGroup.js         Design
RadioGroup.qml     RadioGroup.qml        API and Design
Slider             Slider                API and Design
Spinner            Spinner               No API changes
StatusBar          StatusBar             No changes
TextEntry          TextEntry             API and Design
ToggleButton       ToggleButton          API and Design
TopItem            TopItem               API
VerticalSlider     VerticalSlider        API and Design
Personal tools