Merge lp:~zsombi/ubuntu-ui-toolkit/textinput-text-selection into lp:ubuntu-ui-toolkit/staging
- textinput-text-selection
- Merge into staging
Status: | Superseded | ||||||||
---|---|---|---|---|---|---|---|---|---|
Proposed branch: | lp:~zsombi/ubuntu-ui-toolkit/textinput-text-selection | ||||||||
Merge into: | lp:ubuntu-ui-toolkit/staging | ||||||||
Prerequisite: | lp:~zsombi/ubuntu-ui-toolkit/mousefilter_forwarding | ||||||||
Diff against target: |
10291 lines (+3114/-1611) 384 files modified
CHANGES (+1/-0) components.api (+1117/-552) documentation/overview.qdoc (+10/-10) documentation/resolution-independence.qdoc (+3/-3) documentation/snippets/layouts/SimpleLayout.qml (+2/-2) documentation/snippets/layouts/layout1.qml (+2/-2) documentation/snippets/layouts/layout2.qml (+2/-2) documentation/snippets/layouts/layout3.qml (+2/-2) documentation/snippets/layouts/layout6.qml (+2/-2) documentation/snippets/layouts/layout7.qml (+2/-2) documentation/snippets/statesaver/ColorChanger.qml (+1/-1) documentation/snippets/statesaver/MultiplePropertySaver.qml (+1/-1) documentation/snippets/statesaver/PropertyGroupSaver.qml (+1/-1) documentation/snippets/statesaver/PropertyGroupSaver2.qml (+1/-1) documentation/ubuntu-components-listitems.qdoc (+1/-1) documentation/ubuntu-components-pickers.qdoc (+1/-1) documentation/ubuntu-components-popups.qdoc (+1/-1) documentation/ubuntu-components.qdoc (+1/-1) documentation/ubuntu-layouts.qdoc (+6/-1) examples/calculator/calculator.qml (+2/-2) examples/calculator/components/DefaultLayout.qml (+2/-2) examples/calculator/components/Functions.qml (+2/-2) examples/jokes/jokes.qml (+1/-1) examples/locale/locale.qml (+2/-2) examples/ubuntu-ui-toolkit-gallery/Label.qml (+1/-1) examples/unit-converter/unit-converter.qml (+1/-1) manual-tests/button.qml (+1/-1) modules/Ubuntu/Components/AbstractButton.qml (+1/-1) modules/Ubuntu/Components/Action.qml (+1/-1) modules/Ubuntu/Components/ActionItem.qml (+1/-1) modules/Ubuntu/Components/ActionList.qml (+1/-1) modules/Ubuntu/Components/ActivityIndicator.qml (+1/-1) modules/Ubuntu/Components/AnimatedItem.qml (+1/-1) modules/Ubuntu/Components/Button.qml (+1/-1) modules/Ubuntu/Components/CheckBox.qml (+1/-1) modules/Ubuntu/Components/CrossFadeImage.qml (+2/-2) modules/Ubuntu/Components/Header.qml (+3/-7) modules/Ubuntu/Components/Icon.qml (+1/-1) modules/Ubuntu/Components/InputHandler.qml (+305/-0) modules/Ubuntu/Components/Label.qml (+1/-1) modules/Ubuntu/Components/ListItems/Base.qml (+2/-2) modules/Ubuntu/Components/ListItems/Caption.qml (+3/-3) modules/Ubuntu/Components/ListItems/Divider.qml (+1/-1) modules/Ubuntu/Components/ListItems/Empty.qml (+4/-4) modules/Ubuntu/Components/ListItems/Expandable.qml (+4/-4) modules/Ubuntu/Components/ListItems/ExpandablesColumn.qml (+4/-4) modules/Ubuntu/Components/ListItems/Header.qml (+2/-2) modules/Ubuntu/Components/ListItems/IconVisual.qml (+1/-1) modules/Ubuntu/Components/ListItems/ItemSelector.qml (+3/-3) modules/Ubuntu/Components/ListItems/LabelVisual.qml (+1/-1) modules/Ubuntu/Components/ListItems/MultiValue.qml (+2/-2) modules/Ubuntu/Components/ListItems/ProgressionVisual.qml (+1/-1) modules/Ubuntu/Components/ListItems/SingleControl.qml (+5/-5) modules/Ubuntu/Components/ListItems/SingleValue.qml (+2/-2) modules/Ubuntu/Components/ListItems/Standard.qml (+4/-4) modules/Ubuntu/Components/ListItems/Subtitled.qml (+3/-3) modules/Ubuntu/Components/ListItems/ThinDivider.qml (+2/-2) modules/Ubuntu/Components/ListItems/ValueSelector.qml (+3/-3) modules/Ubuntu/Components/ListItems/qmldir (+18/-0) modules/Ubuntu/Components/MainView.qml (+6/-6) modules/Ubuntu/Components/Object.qml (+1/-1) modules/Ubuntu/Components/OptionSelector.qml (+3/-3) modules/Ubuntu/Components/OptionSelectorDelegate.qml (+3/-3) modules/Ubuntu/Components/OrientationHelper.qml (+4/-4) modules/Ubuntu/Components/Page.qml (+3/-3) modules/Ubuntu/Components/PageStack.qml (+3/-3) modules/Ubuntu/Components/PageTreeNode.qml (+1/-1) modules/Ubuntu/Components/PageWrapper.qml (+1/-1) modules/Ubuntu/Components/Panel.qml (+5/-5) modules/Ubuntu/Components/Pickers/DatePicker.qml (+10/-10) modules/Ubuntu/Components/Pickers/DayModel.qml (+1/-1) modules/Ubuntu/Components/Pickers/Dialer.qml (+3/-3) modules/Ubuntu/Components/Pickers/DialerHand.qml (+2/-2) modules/Ubuntu/Components/Pickers/DialerHandGroup.qml (+1/-1) modules/Ubuntu/Components/Pickers/HoursModel.qml (+1/-1) modules/Ubuntu/Components/Pickers/MinutesModel.qml (+1/-1) modules/Ubuntu/Components/Pickers/MonthModel.qml (+1/-1) modules/Ubuntu/Components/Pickers/Picker.qml (+4/-4) modules/Ubuntu/Components/Pickers/PickerDelegate.qml (+2/-2) modules/Ubuntu/Components/Pickers/PickerPanel.qml (+5/-5) modules/Ubuntu/Components/Pickers/PickerRow.qml (+1/-1) modules/Ubuntu/Components/Pickers/SecondsModel.qml (+1/-1) modules/Ubuntu/Components/Pickers/YearModel.qml (+1/-1) modules/Ubuntu/Components/Pickers/qmldir (+7/-0) modules/Ubuntu/Components/Popups/ActionSelectionPopover.qml (+3/-3) modules/Ubuntu/Components/Popups/ComposerSheet.qml (+4/-4) modules/Ubuntu/Components/Popups/DefaultSheet.qml (+4/-4) modules/Ubuntu/Components/Popups/Dialog.qml (+4/-4) modules/Ubuntu/Components/Popups/Popover.qml (+5/-5) modules/Ubuntu/Components/Popups/PopupBase.qml (+2/-2) modules/Ubuntu/Components/Popups/SheetBase.qml (+2/-2) modules/Ubuntu/Components/Popups/qmldir (+11/-0) modules/Ubuntu/Components/ProgressBar.qml (+1/-1) modules/Ubuntu/Components/Scrollbar.qml (+1/-1) modules/Ubuntu/Components/Slider.qml (+1/-1) modules/Ubuntu/Components/StyledItem.qml (+1/-1) modules/Ubuntu/Components/Switch.qml (+1/-1) modules/Ubuntu/Components/Tab.qml (+1/-1) modules/Ubuntu/Components/TabBar.qml (+1/-1) modules/Ubuntu/Components/Tabs.qml (+4/-4) modules/Ubuntu/Components/TextArea.qml (+46/-131) modules/Ubuntu/Components/TextField.qml (+83/-135) modules/Ubuntu/Components/TextInputPopover.qml (+1/-1) modules/Ubuntu/Components/Themes/Ambiance/ActivityIndicatorStyle.qml (+1/-1) modules/Ubuntu/Components/Themes/Ambiance/BubbleShape.qml (+1/-1) modules/Ubuntu/Components/Themes/Ambiance/ButtonForeground.qml (+1/-1) modules/Ubuntu/Components/Themes/Ambiance/ButtonStyle.qml (+1/-1) modules/Ubuntu/Components/Themes/Ambiance/CheckBoxStyle.qml (+1/-1) modules/Ubuntu/Components/Themes/Ambiance/DatePickerStyle.qml (+2/-2) modules/Ubuntu/Components/Themes/Ambiance/DialerHandStyle.qml (+1/-1) modules/Ubuntu/Components/Themes/Ambiance/DialerStyle.qml (+1/-1) modules/Ubuntu/Components/Themes/Ambiance/DialogForegroundStyle.qml (+1/-1) modules/Ubuntu/Components/Themes/Ambiance/HeaderStyle.qml (+1/-1) modules/Ubuntu/Components/Themes/Ambiance/ListItemOptionSelectorStyle.qml (+1/-1) modules/Ubuntu/Components/Themes/Ambiance/MainViewStyle.qml (+1/-1) modules/Ubuntu/Components/Themes/Ambiance/OptionSelectorStyle.qml (+1/-1) modules/Ubuntu/Components/Themes/Ambiance/PickerDelegateStyle.qml (+1/-1) modules/Ubuntu/Components/Themes/Ambiance/PickerStyle.qml (+2/-2) modules/Ubuntu/Components/Themes/Ambiance/ProgressBarStyle.qml (+1/-1) modules/Ubuntu/Components/Themes/Ambiance/ProgressionVisualStyle.qml (+1/-1) modules/Ubuntu/Components/Themes/Ambiance/ScrollbarStyle.qml (+1/-1) modules/Ubuntu/Components/Themes/Ambiance/SelectionCursorStyle.qml (+1/-1) modules/Ubuntu/Components/Themes/Ambiance/SheetForegroundStyle.qml (+1/-1) modules/Ubuntu/Components/Themes/Ambiance/SliderStyle.qml (+1/-1) modules/Ubuntu/Components/Themes/Ambiance/SwitchStyle.qml (+1/-1) modules/Ubuntu/Components/Themes/Ambiance/TabBarStyle.qml (+1/-1) modules/Ubuntu/Components/Themes/Ambiance/TextAreaStyle.qml (+6/-6) modules/Ubuntu/Components/Themes/Ambiance/ToolbarButtonStyle.qml (+1/-1) modules/Ubuntu/Components/Themes/Ambiance/ToolbarStyle.qml (+1/-1) modules/Ubuntu/Components/Toolbar.qml (+1/-1) modules/Ubuntu/Components/ToolbarButton.qml (+2/-2) modules/Ubuntu/Components/ToolbarItems.qml (+4/-4) modules/Ubuntu/Components/UbuntuListView.qml (+4/-4) modules/Ubuntu/Components/UbuntuNumberAnimation.qml (+5/-5) modules/Ubuntu/Components/UbuntuShape.qml (+5/-5) modules/Ubuntu/Components/plugin/i18n.cpp (+1/-1) modules/Ubuntu/Components/plugin/inversemouseareatype.cpp (+4/-4) modules/Ubuntu/Components/plugin/plugin.cpp (+28/-21) modules/Ubuntu/Components/plugin/plugin.h (+3/-0) modules/Ubuntu/Components/plugin/qquickclipboard.cpp (+1/-1) modules/Ubuntu/Components/plugin/qquickmimedata.cpp (+1/-1) modules/Ubuntu/Components/plugin/ucalarm.cpp (+2/-2) modules/Ubuntu/Components/plugin/ucalarmmodel.cpp (+3/-3) modules/Ubuntu/Components/plugin/ucapplication.cpp (+1/-1) modules/Ubuntu/Components/plugin/ucargument.cpp (+1/-1) modules/Ubuntu/Components/plugin/ucarguments.cpp (+1/-1) modules/Ubuntu/Components/plugin/ucfontutils.cpp (+3/-3) modules/Ubuntu/Components/plugin/ucmousefilters.cpp (+9/-9) modules/Ubuntu/Components/plugin/ucstatesaver.cpp (+2/-2) modules/Ubuntu/Components/plugin/uctheme.cpp (+3/-3) modules/Ubuntu/Components/plugin/ucubuntuanimation.cpp (+1/-1) modules/Ubuntu/Components/plugin/ucunits.cpp (+2/-2) modules/Ubuntu/Components/plugin/ucurihandler.cpp (+1/-1) modules/Ubuntu/Components/qmldir (+42/-0) modules/Ubuntu/Layouts/plugin/ulconditionallayout.cpp (+1/-1) modules/Ubuntu/Layouts/plugin/ulitemlayout.cpp (+1/-1) modules/Ubuntu/Layouts/plugin/ullayouts.cpp (+1/-1) modules/Ubuntu/Layouts/plugin/ulplugin.cpp (+9/-3) modules/Ubuntu/Layouts/plugin/ulplugin.h (+2/-0) modules/Ubuntu/PerformanceMetrics/BarGraph.qml (+2/-2) modules/Ubuntu/PerformanceMetrics/PerformanceOverlay.qml (+1/-1) modules/Ubuntu/PerformanceMetrics/plugin/upmplugin.cpp (+10/-5) modules/Ubuntu/PerformanceMetrics/plugin/upmplugin.h (+2/-0) modules/Ubuntu/PerformanceMetrics/qmldir (+3/-0) modules/Ubuntu/Test/UbuntuTestCase.qml (+2/-1) modules/Ubuntu/Test/qmldir (+4/-0) run_tests.sh (+4/-2) tests/autopilot/ubuntuuitoolkit/fixture_setup.py (+1/-1) tests/autopilot/ubuntuuitoolkit/tests/__init__.py (+1/-1) tests/autopilot/ubuntuuitoolkit/tests/test_emulators.py (+21/-21) tests/resources/alarm/AlarmDays.qml (+3/-3) tests/resources/alarm/Alarms.qml (+3/-3) tests/resources/filters/MouseFilters.qml (+1/-1) tests/resources/inputs/TextInputs.qml (+85/-0) tests/resources/navigation/MyCustomPage.qml (+1/-1) tests/resources/navigation/PageStack.qml (+2/-2) tests/resources/navigation/RepeaterTabs.qml (+1/-1) tests/resources/navigation/SimpleTabs.qml (+1/-1) tests/resources/navigation/StackWithTabs.qml (+1/-1) tests/resources/navigation/TabView.qml (+1/-1) tests/resources/navigation/Tabs.qml (+2/-2) tests/resources/pickers/DatePickerTest.qml (+2/-2) tests/resources/pickers/PanelTest.qml (+2/-2) tests/resources/pickers/PickerTest.qml (+2/-2) tests/resources/popover/PopoverTest.qml (+3/-3) tests/resources/statesaver/StateSaver.qml (+1/-1) tests/resources/toolbar/LockedToolbar.qml (+1/-1) tests/resources/toolbar/oldToolbarWithActions.qml (+1/-1) tests/resources/toolbar/panels.qml (+1/-1) tests/resources/toolbar/toolbar.qml (+1/-1) tests/resources/urihandler/UriHandlerTest.qml (+1/-1) tests/unit/tst_components/tst_CrossFadeImage.qml (+1/-1) tests/unit/tst_components/tst_abstractbutton.qml (+1/-1) tests/unit/tst_components/tst_action.qml (+1/-1) tests/unit/tst_components/tst_actionitem.qml (+1/-1) tests/unit/tst_components/tst_activityindicator.qml (+1/-1) tests/unit/tst_components/tst_button.qml (+1/-1) tests/unit/tst_components/tst_checkbox.qml (+1/-1) tests/unit/tst_components/tst_clipboard.qml (+1/-1) tests/unit/tst_components/tst_dateutils.qml (+2/-2) tests/unit/tst_components/tst_fontutils.qml (+1/-1) tests/unit/tst_components/tst_label.qml (+1/-1) tests/unit/tst_components/tst_listitems_base.qml (+1/-1) tests/unit/tst_components/tst_listitems_caption.qml (+1/-1) tests/unit/tst_components/tst_listitems_divider.qml (+1/-1) tests/unit/tst_components/tst_listitems_empty.qml (+1/-1) tests/unit/tst_components/tst_listitems_header.qml (+1/-1) tests/unit/tst_components/tst_listitems_multivalue.qml (+1/-1) tests/unit/tst_components/tst_listitems_singlecontrol.qml (+2/-2) tests/unit/tst_components/tst_listitems_singlevalue.qml (+1/-1) tests/unit/tst_components/tst_listitems_subtitled.qml (+1/-1) tests/unit/tst_components/tst_listitems_thindivider.qml (+1/-1) tests/unit/tst_components/tst_listitems_valueselector.qml (+1/-1) tests/unit/tst_components/tst_mainview.qml (+1/-1) tests/unit/tst_components/tst_page.qml (+1/-1) tests/unit/tst_components/tst_pagestack.qml (+1/-1) tests/unit/tst_components/tst_plugin_ucunits.qml (+1/-1) tests/unit/tst_components/tst_popups_actionselectionpopover.qml (+2/-2) tests/unit/tst_components/tst_popups_composersheet.qml (+2/-2) tests/unit/tst_components/tst_popups_defaultsheet.qml (+2/-2) tests/unit/tst_components/tst_popups_dialog.qml (+2/-2) tests/unit/tst_components/tst_popups_popover.qml (+2/-2) tests/unit/tst_components/tst_progressbar.qml (+1/-1) tests/unit/tst_components/tst_quickutils.qml (+2/-2) tests/unit/tst_components/tst_scrollbar.qml (+1/-1) tests/unit/tst_components/tst_slider.qml (+1/-1) tests/unit/tst_components/tst_switch.qml (+1/-1) tests/unit/tst_components/tst_tab.qml (+1/-1) tests/unit/tst_components/tst_toolbaritems.qml (+1/-1) tests/unit/tst_components/tst_ubuntushape.qml (+1/-1) tests/unit/tst_i18n/src/LocalizedApp.qml (+1/-1) tests/unit/tst_mainview/AppName.qml (+1/-1) tests/unit/tst_mainview/LocalStorage.qml (+1/-1) tests/unit/tst_mainview/PageStack.qml (+1/-1) tests/unit/tst_mainview/PageTitle.qml (+1/-1) tests/unit/tst_mainview/TabsTitle.qml (+1/-1) tests/unit/tst_page/AnchorToPage.qml (+1/-1) tests/unit/tst_performance/ButtonGrid.qml (+1/-1) tests/unit/tst_performance/ButtonStyleGrid.qml (+1/-1) tests/unit/tst_performance/CheckBoxGrid.qml (+1/-1) tests/unit/tst_performance/CheckBoxStyleGrid.qml (+1/-1) tests/unit/tst_performance/LabelGrid.qml (+1/-1) tests/unit/tst_performance/PairOfUbuntuShapeGrid.qml (+1/-1) tests/unit/tst_performance/SliderGrid.qml (+1/-1) tests/unit/tst_performance/SliderStyleGrid.qml (+1/-1) tests/unit/tst_performance/SwitchGrid.qml (+1/-1) tests/unit/tst_performance/SwitchStyleGrid.qml (+1/-1) tests/unit/tst_performance/TextWithImport.qml (+1/-1) tests/unit/tst_performance/TextWithImportPopups.qml (+1/-1) tests/unit/tst_performance/UbuntuShapeGrid.qml (+1/-1) tests/unit/tst_qmltemplate/tst_example_benchmark.qml (+1/-1) tests/unit/tst_qmltemplate/tst_example_checks.qml (+1/-1) tests/unit/tst_qmltemplate/tst_example_keyboard.qml (+1/-1) tests/unit/tst_qmltemplate/tst_example_mouse.qml (+1/-1) tests/unit/tst_qmltemplate/tst_example_property.qml (+1/-1) tests/unit/tst_qmltemplate/tst_example_signals.qml (+2/-2) tests/unit/tst_theme/tst_popoverforegroundstyle.qml (+2/-2) tests/unit/tst_ubuntu_shape/no_distortion.qml (+1/-1) tests/unit_x11/tst_components/tst_alarms.qml (+2/-2) tests/unit_x11/tst_components/tst_datepicker.qml (+3/-3) tests/unit_x11/tst_components/tst_dialer.qml (+3/-3) tests/unit_x11/tst_components/tst_expandable.qml (+3/-3) tests/unit_x11/tst_components/tst_expandablescolumn.qml (+3/-3) tests/unit_x11/tst_components/tst_header.qml (+1/-1) tests/unit_x11/tst_components/tst_hide_chrome.qml (+1/-1) tests/unit_x11/tst_components/tst_listitems_itemselector.qml (+3/-3) tests/unit_x11/tst_components/tst_listitems_standard.qml (+2/-2) tests/unit_x11/tst_components/tst_optionselector.qml (+2/-2) tests/unit_x11/tst_components/tst_panel.qml (+1/-1) tests/unit_x11/tst_components/tst_picker.qml (+3/-3) tests/unit_x11/tst_components/tst_pickerpanel.qml (+3/-3) tests/unit_x11/tst_components/tst_tabbar.qml (+1/-1) tests/unit_x11/tst_components/tst_tabs.qml (+1/-1) tests/unit_x11/tst_components/tst_textarea.qml (+320/-62) tests/unit_x11/tst_components/tst_textarea_in_flickable.qml (+61/-38) tests/unit_x11/tst_components/tst_textfield.qml (+315/-64) tests/unit_x11/tst_components/tst_toolbar.qml (+1/-1) tests/unit_x11/tst_components/tst_ubuntulistview.qml (+3/-3) tests/unit_x11/tst_inversemousearea/Defaults.qml (+1/-1) tests/unit_x11/tst_inversemousearea/InverseMouseAreaClip.qml (+1/-1) tests/unit_x11/tst_inversemousearea/InverseMouseAreaDoNotPropagateEvents.qml (+1/-1) tests/unit_x11/tst_inversemousearea/InverseMouseAreaInFlickable.qml (+2/-2) tests/unit_x11/tst_inversemousearea/InverseMouseAreaInListView.qml (+2/-2) tests/unit_x11/tst_inversemousearea/InverseMouseAreaInPage.qml (+1/-1) tests/unit_x11/tst_inversemousearea/InverseMouseAreaInWindow.qml (+1/-1) tests/unit_x11/tst_inversemousearea/InverseMouseAreaNormalEventStack.qml (+1/-1) tests/unit_x11/tst_inversemousearea/InverseMouseAreaOnTop.qml (+1/-1) tests/unit_x11/tst_inversemousearea/InverseMouseAreaOnTopNoAccept.qml (+1/-1) tests/unit_x11/tst_inversemousearea/InverseMouseAreaParentClipped.qml (+1/-1) tests/unit_x11/tst_inversemousearea/InverseMouseAreaPropagateEvents.qml (+1/-1) tests/unit_x11/tst_inversemousearea/InverseMouseAreaSensingArea.qml (+1/-1) tests/unit_x11/tst_inversemousearea/InverseMouseAreaSignals.qml (+1/-1) tests/unit_x11/tst_inversemousearea/InverseMouseAreaTopmostItem.qml (+1/-1) tests/unit_x11/tst_inversemousearea/OverlappedMouseArea.qml (+1/-1) tests/unit_x11/tst_inversemousearea/SensingAreaError.qml (+1/-1) tests/unit_x11/tst_layouts/AnchorAll.qml (+1/-1) tests/unit_x11/tst_layouts/AnchorBottom.qml (+1/-1) tests/unit_x11/tst_layouts/AnchorCenterWithOffset.qml (+1/-1) tests/unit_x11/tst_layouts/AnchorCenteredInDefault.qml (+1/-1) tests/unit_x11/tst_layouts/AnchorFilledMargins.qml (+1/-1) tests/unit_x11/tst_layouts/AnchorFilledReparenting.qml (+1/-1) tests/unit_x11/tst_layouts/AnchorFilledSeparateMargins.qml (+1/-1) tests/unit_x11/tst_layouts/AnchorHorizontalCenter.qml (+1/-1) tests/unit_x11/tst_layouts/AnchorHorizontalCenterOffset.qml (+1/-1) tests/unit_x11/tst_layouts/AnchorLeft.qml (+1/-1) tests/unit_x11/tst_layouts/AnchorRight.qml (+1/-1) tests/unit_x11/tst_layouts/AnchorTop.qml (+1/-1) tests/unit_x11/tst_layouts/AnchorVerticalCenter.qml (+1/-1) tests/unit_x11/tst_layouts/AnchorVerticalCenterOffset.qml (+1/-1) tests/unit_x11/tst_layouts/CurrentLayoutChange.qml (+1/-1) tests/unit_x11/tst_layouts/DefaultLayout.qml (+2/-2) tests/unit_x11/tst_layouts/DialerCrash.qml (+3/-3) tests/unit_x11/tst_layouts/ExcludedItemDeleted.qml (+2/-2) tests/unit_x11/tst_layouts/ExternalLayouts.qml (+2/-2) tests/unit_x11/tst_layouts/ItemInstanceAsProperty.qml (+2/-2) tests/unit_x11/tst_layouts/LaidOutItemsOutsideOfLayout.qml (+1/-1) tests/unit_x11/tst_layouts/LargeLayout.qml (+2/-2) tests/unit_x11/tst_layouts/MediumLayout.qml (+2/-2) tests/unit_x11/tst_layouts/NestedLayouts.qml (+2/-2) tests/unit_x11/tst_layouts/NoLayouts.qml (+2/-2) tests/unit_x11/tst_layouts/OverlaidInItemLayout.qml (+1/-1) tests/unit_x11/tst_layouts/OverlappingCondition.qml (+2/-2) tests/unit_x11/tst_layouts/PositioningOnLayoutChange.qml (+1/-1) tests/unit_x11/tst_layouts/ResizingContainers.qml (+2/-2) tests/unit_x11/tst_layouts/SimpleLayouts.qml (+2/-2) tests/unit_x11/tst_layouts/SizedDefaultLayout.qml (+2/-2) tests/unit_x11/tst_layouts/SmallLayout.qml (+2/-2) tests/unit_x11/tst_mousefilters/AttachedToItem.qml (+1/-1) tests/unit_x11/tst_mousefilters/DoubleClicked.qml (+1/-1) tests/unit_x11/tst_mousefilters/FilterFlickable.qml (+1/-1) tests/unit_x11/tst_mousefilters/FilterFlickableAfter.qml (+1/-1) tests/unit_x11/tst_mousefilters/FilterInverseTextInput.qml (+1/-1) tests/unit_x11/tst_mousefilters/FilterInverseTextInputAfter.qml (+1/-1) tests/unit_x11/tst_mousefilters/FilterInverseTextInputOSKExcluded.qml (+1/-1) tests/unit_x11/tst_mousefilters/FilterInverseTextInputTolerance.qml (+1/-1) tests/unit_x11/tst_mousefilters/FilterTextInput.qml (+1/-1) tests/unit_x11/tst_mousefilters/FilterTextInputAfter.qml (+1/-1) tests/unit_x11/tst_mousefilters/FilterTextInputTolerance.qml (+1/-1) tests/unit_x11/tst_mousefilters/ForwardComposedEvents.qml (+1/-1) tests/unit_x11/tst_mousefilters/ForwardDblClickToTransparentMouseArea.qml (+1/-1) tests/unit_x11/tst_mousefilters/ForwardEventChained.qml (+1/-1) tests/unit_x11/tst_mousefilters/ForwardToInverseMouseArea.qml (+1/-1) tests/unit_x11/tst_mousefilters/ForwardToMouseArea.qml (+1/-1) tests/unit_x11/tst_mousefilters/ForwardToTransparentMouseArea.qml (+1/-1) tests/unit_x11/tst_mousefilters/ForwardedEventsStoppedInForwards.qml (+1/-1) tests/unit_x11/tst_mousefilters/ForwardedEventsToTargetBlocked.qml (+1/-1) tests/unit_x11/tst_mousefilters/ForwardedMouseEvents.qml (+1/-1) tests/unit_x11/tst_mousefilters/ForwardedMouseEventsStopped.qml (+1/-1) tests/unit_x11/tst_mousefilters/Hover.qml (+1/-1) tests/unit_x11/tst_mousefilters/HoverEvent.qml (+1/-1) tests/unit_x11/tst_mousefilters/HoverEvent.qml.moved (+38/-0) tests/unit_x11/tst_mousefilters/InverseAttachedToItem.qml (+1/-1) tests/unit_x11/tst_mousefilters/InverseHover.qml (+1/-1) tests/unit_x11/tst_mousefilters/InverseMouseFilterAttachedToNonItem.qml (+1/-1) tests/unit_x11/tst_mousefilters/MouseFilterAttachedToNonItem.qml (+1/-1) tests/unit_x11/tst_mousefilters/PressAndHoldAcceptedEatsClick.qml (+1/-1) tests/unit_x11/tst_mousefilters/PressAndHoldAndClicked.qml (+1/-1) tests/unit_x11/tst_orientation/Defaults.qml (+1/-1) tests/unit_x11/tst_orientation/ManualAngle.qml (+1/-1) tests/unit_x11/tst_recreateview/SimpleApp.qml (+1/-1) tests/unit_x11/tst_statesaver/ComponentsWithStateSavers.qml (+1/-1) tests/unit_x11/tst_statesaver/ComponentsWithStateSaversNoId.qml (+1/-1) tests/unit_x11/tst_statesaver/CustomControl.qml (+1/-1) tests/unit_x11/tst_statesaver/DisabledStateSaver.qml (+1/-1) tests/unit_x11/tst_statesaver/Dynamic.qml (+1/-1) tests/unit_x11/tst_statesaver/FirstComponent.qml (+1/-1) tests/unit_x11/tst_statesaver/GridViewItems.qml (+1/-1) tests/unit_x11/tst_statesaver/InvalidGroupProperty.qml (+1/-1) tests/unit_x11/tst_statesaver/InvalidUID.qml (+1/-1) tests/unit_x11/tst_statesaver/ListViewItems.qml (+1/-1) tests/unit_x11/tst_statesaver/NestedDynamics.qml (+1/-1) tests/unit_x11/tst_statesaver/NormalAppClose.qml (+1/-1) tests/unit_x11/tst_statesaver/RepeaterStates.qml (+1/-1) tests/unit_x11/tst_statesaver/SameIdsInDifferentComponents.qml (+1/-1) tests/unit_x11/tst_statesaver/SaveArrays.qml (+1/-1) tests/unit_x11/tst_statesaver/SaveObject.qml (+1/-1) tests/unit_x11/tst_statesaver/SavePropertyGroups.qml (+1/-1) tests/unit_x11/tst_statesaver/SaveSupportedTypes.qml (+1/-1) tests/unit_x11/tst_statesaver/SecondComponent.qml (+1/-1) tests/unit_x11/tst_statesaver/SimpleApp.qml (+1/-1) tests/unit_x11/tst_statesaver/TwoDynamics.qml (+1/-1) tests/unit_x11/tst_statesaver/ValidGroupProperty.qml (+1/-1) tests/unit_x11/tst_statesaver/ValidUID.qml (+1/-1) tests/unit_x11/tst_test/tst_ubuntutestcase.qml (+1/-1) |
||||||||
To merge this branch: | bzr merge lp:~zsombi/ubuntu-ui-toolkit/textinput-text-selection | ||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot | continuous-integration | Needs Fixing | |
Cris Dywan | Needs Fixing | ||
Review via email: mp+215893@code.launchpad.net |
This proposal supersedes a proposal from 2014-04-09.
This proposal has been superseded by a proposal from 2014-04-23.
Commit message
Fixes TextField and TextArea selection and scrolling behaviors.
Description of the change
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal | # |
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal | # |
FAILED: Continuous integration, rev:996
http://
Executed test runs:
UNSTABLE: http://
FAILURE: http://
FAILURE: http://
SUCCESS: http://
deb: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal | # |
FAILED: Continuous integration, rev:996
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal | # |
FAILED: Continuous integration, rev:997
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal | # |
FAILED: Continuous integration, rev:998
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal | # |
FAILED: Continuous integration, rev:1001
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal | # |
FAILED: Continuous integration, rev:1005
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
Cris Dywan (kalikiana) wrote : Posted in a previous version of this proposal | # |
I see the same test failure here as J locally.
> tests/unit_
> tryCompare(moveSpy, "count", 1, 200);
Why not moveSpy.wait(); here? That seems to fix it for me.
When using select and context menu a few times it's possible to change the selection after the menu opens but before letting go of the mouse button. So I don't get what I selected or worst case nothing.
What I manually checked is that I can select, including scrolling, get a menu, copy, paste and so on, double click to select a word, all of these seem sold aside from the above issue.
FTR toggleFlickable
Should maybe selectionTimeou
test_press_
Zsombor Egri (zsombi) wrote : Posted in a previous version of this proposal | # |
> I see the same test failure here as J locally.
> > tests/unit_
> > tryCompare(moveSpy, "count", 1, 200);
> Why not moveSpy.wait(); here? That seems to fix it for me.
Ahh, right :) I'll fix it.
>
> When using select and context menu a few times it's possible to change the
> selection after the menu opens but before letting go of the mouse button. So I
> don't get what I selected or worst case nothing.
Let's do this in a separate branch..
>
> What I manually checked is that I can select, including scrolling, get a menu,
> copy, paste and so on, double click to select a word, all of these seem sold
> aside from the above issue.
>
> FTR toggleFlickable
> support it, and PropertyChanges doesn't take a list either… but let's have it
> as-is for now.
Well, limitation of PropertyChange, maybe we propose some Change component upstream to deal with a list of targets :).
>
> Should maybe selectionTimeou
> modules/
I will put this in the TextFieldStyle/
>
> test_press_
> Especially given the above problem I found while using it, I think we need to
> test that it can be clicked and catches the right text. Possibly AP.
Yep, but let's get this in a separate branch as well.
Cris Dywan (kalikiana) wrote : Posted in a previous version of this proposal | # |
Filed bug 1304952 for testing the context menu.
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal | # |
FAILED: Continuous integration, rev:1008
http://
Executed test runs:
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal | # |
FAILED: Continuous integration, rev:1012
http://
Executed test runs:
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal | # |
FAILED: Continuous integration, rev:1014
http://
Executed test runs:
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://
Cris Dywan (kalikiana) wrote : Posted in a previous version of this proposal | # |
The menu now stays in place the way it should. Nice!
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal | # |
FAILED: Continuous integration, rev:1015
http://
Executed test runs:
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal | # |
FAILED: Autolanding.
More details in the following jenkins job:
http://
Executed test runs:
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal | # |
FAILED: Continuous integration, rev:1019
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
FAILURE: http://
SUCCESS: http://
deb: http://
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 1021. By Zsombor Egri
-
cleanup
- 1022. By Zsombor Egri
-
more cleanup
Cris Dywan (kalikiana) wrote : | # |
Seems to work fine, albeit I get a weird error message now:
QIODevice::write: device not open
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1020
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
FAILURE: http://
SUCCESS: http://
deb: http://
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1022
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
FAILURE: http://
SUCCESS: http://
deb: http://
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 1023. By Zsombor Egri
-
staging merge
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1023
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
FAILURE: http://
SUCCESS: http://
deb: http://
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 1024. By Zsombor Egri
-
staging merge
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1024
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
FAILURE: http://
SUCCESS: http://
deb: http://
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
Cris Dywan (kalikiana) wrote : | # |
FAIL! : components:
Loc: [/tmp/buildd/
Cris Dywan (kalikiana) wrote : | # |
FAIL! : components:
Loc: [/tmp/buildd/
- 1025. By Zsombor Egri
-
replace flick() with mouseDrag()
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1025
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://
- 1026. By Zsombor Egri
-
change flick() with mouseDrag()
- 1027. By Zsombor Egri
-
versioning merge
PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:1026
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1026
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://
- 1028. By Zsombor Egri
-
tests reworked for tst_textarea_
in_flickable. qml - 1029. By Zsombor Egri
-
staging merge
- 1030. By Zsombor Egri
-
staging merge
Unmerged revisions
Preview Diff
1 | === modified file 'CHANGES' |
2 | --- CHANGES 2014-04-16 11:51:47 +0000 |
3 | +++ CHANGES 2014-04-23 10:12:48 +0000 |
4 | @@ -9,6 +9,7 @@ |
5 | |
6 | API Changes |
7 | *********** |
8 | +* ADDED IN: all modules exported as 0.1 as well as 1.0 version |
9 | * ADDED IN: PickerDelegate: readonly property Picker picker |
10 | * CHANGED IN: OptionSelector: readonly property bool currentlyExpanded TO property bool currentlyExpanded |
11 | * CHANGED IN: ItemSelector: readonly property bool currentlyExpanded TO property bool currentlyExpanded |
12 | |
13 | === modified file 'components.api' |
14 | --- components.api 2014-04-16 11:51:47 +0000 |
15 | +++ components.api 2014-04-23 10:12:48 +0000 |
16 | @@ -6,32 +6,69 @@ |
17 | property bool hovered |
18 | property bool __acceptEvents |
19 | property internal __mouseArea |
20 | -modules/Ubuntu/Components/Action.qml |
21 | -UnityActions.Action |
22 | - property url iconSource |
23 | - property string iconName |
24 | - property bool visible |
25 | - property Component itemHint |
26 | -modules/Ubuntu/Components/ActionItem.qml |
27 | -StyledItem |
28 | - property Action action |
29 | - property string text |
30 | - property url iconSource |
31 | - property string iconName |
32 | - signal triggered(var value) |
33 | - function trigger(value) |
34 | -modules/Ubuntu/Components/ActionList.qml |
35 | -QtObject |
36 | - default property list<Action> children |
37 | - property list<Action> actions |
38 | -modules/Ubuntu/Components/ActivityIndicator.qml |
39 | -AnimatedItem |
40 | - property bool running |
41 | -modules/Ubuntu/Components/Button.qml |
42 | -AbstractButton |
43 | - property color color |
44 | - property Gradient gradient |
45 | - property string iconPosition |
46 | +modules/Ubuntu/Components/AbstractButton.qml |
47 | +ActionItem |
48 | + signal clicked() |
49 | + signal pressAndHold() |
50 | + property bool pressed |
51 | + property bool hovered |
52 | + property bool __acceptEvents |
53 | + property internal __mouseArea |
54 | +modules/Ubuntu/Components/Action.qml |
55 | +UnityActions.Action |
56 | + property url iconSource |
57 | + property string iconName |
58 | + property bool visible |
59 | + property Component itemHint |
60 | +modules/Ubuntu/Components/Action.qml |
61 | +UnityActions.Action |
62 | + property url iconSource |
63 | + property string iconName |
64 | + property bool visible |
65 | + property Component itemHint |
66 | +modules/Ubuntu/Components/ActionItem.qml |
67 | +StyledItem |
68 | + property Action action |
69 | + property string text |
70 | + property url iconSource |
71 | + property string iconName |
72 | + signal triggered(var value) |
73 | + function trigger(value) |
74 | +modules/Ubuntu/Components/ActionItem.qml |
75 | +StyledItem |
76 | + property Action action |
77 | + property string text |
78 | + property url iconSource |
79 | + property string iconName |
80 | + signal triggered(var value) |
81 | + function trigger(value) |
82 | +modules/Ubuntu/Components/ActionList.qml |
83 | +QtObject |
84 | + default property list<Action> children |
85 | + property list<Action> actions |
86 | +modules/Ubuntu/Components/ActionList.qml |
87 | +QtObject |
88 | + default property list<Action> children |
89 | + property list<Action> actions |
90 | +modules/Ubuntu/Components/ActivityIndicator.qml |
91 | +AnimatedItem |
92 | + property bool running |
93 | +modules/Ubuntu/Components/ActivityIndicator.qml |
94 | +AnimatedItem |
95 | + property bool running |
96 | +modules/Ubuntu/Components/Button.qml |
97 | +AbstractButton |
98 | + property color color |
99 | + property Gradient gradient |
100 | + property string iconPosition |
101 | +modules/Ubuntu/Components/Button.qml |
102 | +AbstractButton |
103 | + property color color |
104 | + property Gradient gradient |
105 | + property string iconPosition |
106 | +modules/Ubuntu/Components/CheckBox.qml |
107 | +AbstractButton |
108 | + property bool checked |
109 | modules/Ubuntu/Components/CheckBox.qml |
110 | AbstractButton |
111 | property bool checked |
112 | @@ -53,255 +90,515 @@ |
113 | readonly property bool running |
114 | property size sourceSize |
115 | readonly property int status |
116 | -modules/Ubuntu/Components/Header.qml |
117 | -StyledItem |
118 | - property bool animate |
119 | - function show() |
120 | - function hide() |
121 | - property string title |
122 | - property Item contents |
123 | - property Flickable flickable |
124 | -modules/Ubuntu/Components/Icon.qml |
125 | -Item |
126 | - property string name |
127 | - property color color |
128 | - property color keyColor |
129 | -modules/Ubuntu/Components/Label.qml |
130 | -Text |
131 | - property string fontSize |
132 | -modules/Ubuntu/Components/ListItems/Base.qml |
133 | -Empty |
134 | - property variant icon |
135 | - property url iconSource |
136 | - property string iconName |
137 | - property url fallbackIconSource |
138 | - property string fallbackIconName |
139 | - property bool progression |
140 | - property bool iconFrame |
141 | - property real __iconWidth |
142 | - property real __iconHeight |
143 | - property real __leftIconMargin |
144 | - property real __rightIconMargin |
145 | - property bool __iconIsItem |
146 | - property internal children |
147 | -modules/Ubuntu/Components/ListItems/Caption.qml |
148 | -Item |
149 | - property string text |
150 | -modules/Ubuntu/Components/ListItems/Divider.qml |
151 | -Image |
152 | -modules/Ubuntu/Components/ListItems/Empty.qml |
153 | -AbstractButton |
154 | - property bool selected |
155 | - property bool highlightWhenPressed |
156 | - property bool removable |
157 | - property bool confirmRemoval |
158 | - readonly property string swipingState |
159 | - readonly property bool waitingConfirmationForRemoval |
160 | - signal itemRemoved |
161 | - property int __height |
162 | - property bool showDivider |
163 | - default property internal children |
164 | - property internal __contents |
165 | - property list<Item> backgroundIndicator |
166 | - property ThinDivider divider |
167 | - property real __contentsMargins |
168 | - function cancelItemRemoval() |
169 | -modules/Ubuntu/Components/ListItems/Expandable.qml |
170 | -Empty |
171 | - property bool expanded |
172 | - property real collapsedHeight |
173 | - property real expandedHeight |
174 | - property bool collapseOnClick |
175 | - default property QtObject children |
176 | -modules/Ubuntu/Components/ListItems/ExpandablesColumn.qml |
177 | -Flickable |
178 | - readonly property Item expandedItem |
179 | - function expandItem(item) |
180 | - function collapse() |
181 | - default property QtObject children |
182 | -modules/Ubuntu/Components/ListItems/Header.qml |
183 | -Item |
184 | - property string text |
185 | - property internal __foregroundColor |
186 | -modules/Ubuntu/Components/ListItems/ItemSelector.qml |
187 | -ListItem.Empty |
188 | - property var model |
189 | - property bool expanded |
190 | - property bool multiSelection |
191 | - property bool colourImage |
192 | - property real containerHeight |
193 | - property int selectedIndex |
194 | - property bool currentlyExpanded |
195 | - readonly property real itemHeight |
196 | - signal delegateClicked(int index) |
197 | - signal expansionCompleted() |
198 | -modules/Ubuntu/Components/ListItems/MultiValue.qml |
199 | -Base |
200 | - property variant values |
201 | -modules/Ubuntu/Components/ListItems/SingleControl.qml |
202 | -Empty |
203 | - property Item control |
204 | - function __updateControl() |
205 | -modules/Ubuntu/Components/ListItems/SingleValue.qml |
206 | -Base |
207 | - property string value |
208 | -modules/Ubuntu/Components/ListItems/Standard.qml |
209 | -Empty |
210 | - property variant icon |
211 | - property url iconSource |
212 | - property string iconName |
213 | - property url fallbackIconSource |
214 | - property string fallbackIconName |
215 | - property bool progression |
216 | - property real __iconWidth |
217 | - property real __iconHeight |
218 | - property real __leftIconMargin |
219 | - property real __rightIconMargin |
220 | - property Item control |
221 | - property bool iconFrame |
222 | - property bool __controlAreaPressed |
223 | - property bool __iconIsItem |
224 | - property internal __foregroundColor |
225 | -modules/Ubuntu/Components/ListItems/Subtitled.qml |
226 | -Base |
227 | - property string text |
228 | - property string subText |
229 | -modules/Ubuntu/Components/ListItems/ThinDivider.qml |
230 | -Image |
231 | -modules/Ubuntu/Components/ListItems/ValueSelector.qml |
232 | -Empty |
233 | - property variant icon |
234 | - property url iconSource |
235 | - property string iconName |
236 | - property url fallbackIconSource |
237 | - property string fallbackIconName |
238 | - property real __iconWidth |
239 | - property real __iconHeight |
240 | - property real __leftIconMargin |
241 | - property real __rightIconMargin |
242 | - property bool iconFrame |
243 | - property variant values |
244 | - property int selectedIndex |
245 | - property bool expanded |
246 | -modules/Ubuntu/Components/MainView.qml |
247 | -PageTreeNode |
248 | - property string applicationName |
249 | - property bool anchorToKeyboard |
250 | - property color headerColor |
251 | - property color backgroundColor |
252 | - property color footerColor |
253 | - property bool automaticOrientation |
254 | - property bool useDeprecatedToolbar |
255 | - default property internal contentsItem |
256 | - property list<Action> actions |
257 | - property UnityActions.ActionManager actionManager |
258 | -modules/Ubuntu/Components/Object.qml |
259 | -QtObject |
260 | - default property internal children |
261 | -modules/Ubuntu/Components/OptionSelector.qml |
262 | -ListItem.Empty |
263 | - property var model |
264 | - property bool expanded |
265 | - property bool multiSelection |
266 | - property bool colourImage |
267 | - property real containerHeight |
268 | - property int selectedIndex |
269 | - property bool currentlyExpanded |
270 | - readonly property real itemHeight |
271 | - signal delegateClicked(int index) |
272 | - signal expansionCompleted() |
273 | -modules/Ubuntu/Components/OptionSelectorDelegate.qml |
274 | -ListItem.Standard |
275 | - property string text |
276 | - property string subText |
277 | - property url icon |
278 | - property url iconSource |
279 | - property string iconName |
280 | - property bool constrainImage |
281 | - property bool colourImage |
282 | - property color assetColour |
283 | - readonly property ListView listView |
284 | - readonly property string fragColourShader |
285 | -modules/Ubuntu/Components/OrientationHelper.qml |
286 | -Item |
287 | - property bool automaticOrientation |
288 | - property bool transitionEnabled |
289 | - property alias rotating |
290 | - property int __orientationAngle |
291 | - property int orientationAngle |
292 | -modules/Ubuntu/Components/Page.qml |
293 | -PageTreeNode |
294 | - property string title |
295 | - property Flickable flickable |
296 | - property list<Action> actions |
297 | -modules/Ubuntu/Components/PageStack.qml |
298 | -PageTreeNode |
299 | - property bool __showHeader |
300 | - property int depth |
301 | - property Item currentPage |
302 | - function push(page, properties) |
303 | - function pop() |
304 | - function clear() |
305 | -modules/Ubuntu/Components/Panel.qml |
306 | -Item |
307 | - default property list<Object> contents |
308 | - property int align |
309 | - property bool opened |
310 | - function open() |
311 | - function close() |
312 | - property int hideTimeout |
313 | - property bool locked |
314 | - property real hintSize |
315 | - property real triggerSize |
316 | - readonly property real position |
317 | - property bool animate |
318 | - readonly property bool animating |
319 | - property bool __closeOnContentsClicks |
320 | - property bool __openOnHover |
321 | - property bool pressed |
322 | -modules/Ubuntu/Components/Pickers/DatePicker.qml |
323 | -StyledItem |
324 | - property string mode |
325 | - property date date |
326 | - property date minimum |
327 | - property date maximum |
328 | - readonly property int year |
329 | - readonly property int month |
330 | - readonly property int day |
331 | - readonly property int week |
332 | - readonly property int hours |
333 | - readonly property int minutes |
334 | - readonly property int seconds |
335 | - property var locale |
336 | - readonly property bool moving |
337 | -modules/Ubuntu/Components/Pickers/Dialer.qml |
338 | -StyledItem |
339 | - property real minimumValue |
340 | - property real maximumValue |
341 | - property real size |
342 | - property real handSpace |
343 | - readonly property Item centerItem |
344 | - property list<var> centerContent |
345 | - readonly property list<DialerHands> hands |
346 | - signal handUpdated(var hand) |
347 | -modules/Ubuntu/Components/Pickers/DialerHand.qml |
348 | -StyledItem |
349 | - property real value |
350 | - property DialerHandGroup hand |
351 | - readonly property Dialer dialer |
352 | - default property list<QtObject> overlay |
353 | - readonly property int index |
354 | - property internal __grabber |
355 | -modules/Ubuntu/Components/Pickers/Picker.qml |
356 | -StyledItem |
357 | - property bool circular |
358 | - property var model |
359 | - property Component delegate |
360 | - property int selectedIndex |
361 | - property bool live |
362 | - readonly property bool moving |
363 | - function positionViewAtIndex(index) |
364 | - property int __clickedIndex |
365 | +modules/Ubuntu/Components/CrossFadeImage.qml |
366 | +Item |
367 | + property url source |
368 | + property int fillMode |
369 | + property int fadeDuration |
370 | + readonly property bool running |
371 | + property size sourceSize |
372 | + readonly property int status |
373 | +modules/Ubuntu/Components/Header.qml |
374 | +StyledItem |
375 | + property bool animate |
376 | + function show() |
377 | + function hide() |
378 | + property string title |
379 | + property Item contents |
380 | + property Flickable flickable |
381 | +modules/Ubuntu/Components/Header.qml |
382 | +StyledItem |
383 | + property bool animate |
384 | + function show() |
385 | + function hide() |
386 | + property string title |
387 | + property Item contents |
388 | + property Flickable flickable |
389 | +modules/Ubuntu/Components/Icon.qml |
390 | +Item |
391 | + property string name |
392 | + property color color |
393 | + property color keyColor |
394 | +modules/Ubuntu/Components/Icon.qml |
395 | +Item |
396 | + property string name |
397 | + property color color |
398 | + property color keyColor |
399 | +modules/Ubuntu/Components/Label.qml |
400 | +Text |
401 | + property string fontSize |
402 | +modules/Ubuntu/Components/Label.qml |
403 | +Text |
404 | + property string fontSize |
405 | +modules/Ubuntu/Components/ListItems/Base.qml |
406 | +Empty |
407 | + property variant icon |
408 | + property url iconSource |
409 | + property string iconName |
410 | + property url fallbackIconSource |
411 | + property string fallbackIconName |
412 | + property bool progression |
413 | + property bool iconFrame |
414 | + property real __iconWidth |
415 | + property real __iconHeight |
416 | + property real __leftIconMargin |
417 | + property real __rightIconMargin |
418 | + property bool __iconIsItem |
419 | + property internal children |
420 | +modules/Ubuntu/Components/ListItems/Base.qml |
421 | +Empty |
422 | + property variant icon |
423 | + property url iconSource |
424 | + property string iconName |
425 | + property url fallbackIconSource |
426 | + property string fallbackIconName |
427 | + property bool progression |
428 | + property bool iconFrame |
429 | + property real __iconWidth |
430 | + property real __iconHeight |
431 | + property real __leftIconMargin |
432 | + property real __rightIconMargin |
433 | + property bool __iconIsItem |
434 | + property internal children |
435 | +modules/Ubuntu/Components/ListItems/Caption.qml |
436 | +Item |
437 | + property string text |
438 | +modules/Ubuntu/Components/ListItems/Caption.qml |
439 | +Item |
440 | + property string text |
441 | +modules/Ubuntu/Components/ListItems/Divider.qml |
442 | +Image |
443 | +modules/Ubuntu/Components/ListItems/Divider.qml |
444 | +Image |
445 | +modules/Ubuntu/Components/ListItems/Empty.qml |
446 | +AbstractButton |
447 | + property bool selected |
448 | + property bool highlightWhenPressed |
449 | + property bool removable |
450 | + property bool confirmRemoval |
451 | + readonly property string swipingState |
452 | + readonly property bool waitingConfirmationForRemoval |
453 | + signal itemRemoved |
454 | + property int __height |
455 | + property bool showDivider |
456 | + default property internal children |
457 | + property internal __contents |
458 | + property list<Item> backgroundIndicator |
459 | + property ThinDivider divider |
460 | + property real __contentsMargins |
461 | + function cancelItemRemoval() |
462 | +modules/Ubuntu/Components/ListItems/Empty.qml |
463 | +AbstractButton |
464 | + property bool selected |
465 | + property bool highlightWhenPressed |
466 | + property bool removable |
467 | + property bool confirmRemoval |
468 | + readonly property string swipingState |
469 | + readonly property bool waitingConfirmationForRemoval |
470 | + signal itemRemoved |
471 | + property int __height |
472 | + property bool showDivider |
473 | + default property internal children |
474 | + property internal __contents |
475 | + property list<Item> backgroundIndicator |
476 | + property ThinDivider divider |
477 | + property real __contentsMargins |
478 | + function cancelItemRemoval() |
479 | +modules/Ubuntu/Components/ListItems/Expandable.qml |
480 | +Empty |
481 | + property bool expanded |
482 | + property real collapsedHeight |
483 | + property real expandedHeight |
484 | + property bool collapseOnClick |
485 | + default property QtObject children |
486 | +modules/Ubuntu/Components/ListItems/Expandable.qml |
487 | +Empty |
488 | + property bool expanded |
489 | + property real collapsedHeight |
490 | + property real expandedHeight |
491 | + property bool collapseOnClick |
492 | + default property QtObject children |
493 | +modules/Ubuntu/Components/ListItems/ExpandablesColumn.qml |
494 | +Flickable |
495 | + readonly property Item expandedItem |
496 | + function expandItem(item) |
497 | + function collapse() |
498 | + default property QtObject children |
499 | +modules/Ubuntu/Components/ListItems/ExpandablesColumn.qml |
500 | +Flickable |
501 | + readonly property Item expandedItem |
502 | + function expandItem(item) |
503 | + function collapse() |
504 | + default property QtObject children |
505 | +modules/Ubuntu/Components/ListItems/Header.qml |
506 | +Item |
507 | + property string text |
508 | + property internal __foregroundColor |
509 | +modules/Ubuntu/Components/ListItems/Header.qml |
510 | +Item |
511 | + property string text |
512 | + property internal __foregroundColor |
513 | +modules/Ubuntu/Components/ListItems/ItemSelector.qml |
514 | +ListItem.Empty |
515 | + property var model |
516 | + property bool expanded |
517 | + property bool multiSelection |
518 | + property bool colourImage |
519 | + property real containerHeight |
520 | + property int selectedIndex |
521 | + property bool currentlyExpanded |
522 | + readonly property real itemHeight |
523 | + signal delegateClicked(int index) |
524 | + signal expansionCompleted() |
525 | +modules/Ubuntu/Components/ListItems/ItemSelector.qml |
526 | +ListItem.Empty |
527 | + property var model |
528 | + property bool expanded |
529 | + property bool multiSelection |
530 | + property bool colourImage |
531 | + property real containerHeight |
532 | + property int selectedIndex |
533 | + property bool currentlyExpanded |
534 | + readonly property real itemHeight |
535 | + signal delegateClicked(int index) |
536 | + signal expansionCompleted() |
537 | +modules/Ubuntu/Components/ListItems/MultiValue.qml |
538 | +Base |
539 | + property variant values |
540 | +modules/Ubuntu/Components/ListItems/MultiValue.qml |
541 | +Base |
542 | + property variant values |
543 | +modules/Ubuntu/Components/ListItems/SingleControl.qml |
544 | +Empty |
545 | + property Item control |
546 | + function __updateControl() |
547 | +modules/Ubuntu/Components/ListItems/SingleControl.qml |
548 | +Empty |
549 | + property Item control |
550 | + function __updateControl() |
551 | +modules/Ubuntu/Components/ListItems/SingleValue.qml |
552 | +Base |
553 | + property string value |
554 | +modules/Ubuntu/Components/ListItems/SingleValue.qml |
555 | +Base |
556 | + property string value |
557 | +modules/Ubuntu/Components/ListItems/Standard.qml |
558 | +Empty |
559 | + property variant icon |
560 | + property url iconSource |
561 | + property string iconName |
562 | + property url fallbackIconSource |
563 | + property string fallbackIconName |
564 | + property bool progression |
565 | + property real __iconWidth |
566 | + property real __iconHeight |
567 | + property real __leftIconMargin |
568 | + property real __rightIconMargin |
569 | + property Item control |
570 | + property bool iconFrame |
571 | + property bool __controlAreaPressed |
572 | + property bool __iconIsItem |
573 | + property internal __foregroundColor |
574 | +modules/Ubuntu/Components/ListItems/Standard.qml |
575 | +Empty |
576 | + property variant icon |
577 | + property url iconSource |
578 | + property string iconName |
579 | + property url fallbackIconSource |
580 | + property string fallbackIconName |
581 | + property bool progression |
582 | + property real __iconWidth |
583 | + property real __iconHeight |
584 | + property real __leftIconMargin |
585 | + property real __rightIconMargin |
586 | + property Item control |
587 | + property bool iconFrame |
588 | + property bool __controlAreaPressed |
589 | + property bool __iconIsItem |
590 | + property internal __foregroundColor |
591 | +modules/Ubuntu/Components/ListItems/Subtitled.qml |
592 | +Base |
593 | + property string text |
594 | + property string subText |
595 | +modules/Ubuntu/Components/ListItems/Subtitled.qml |
596 | +Base |
597 | + property string text |
598 | + property string subText |
599 | +modules/Ubuntu/Components/ListItems/ThinDivider.qml |
600 | +Image |
601 | +modules/Ubuntu/Components/ListItems/ThinDivider.qml |
602 | +Image |
603 | +modules/Ubuntu/Components/ListItems/ValueSelector.qml |
604 | +Empty |
605 | + property variant icon |
606 | + property url iconSource |
607 | + property string iconName |
608 | + property url fallbackIconSource |
609 | + property string fallbackIconName |
610 | + property real __iconWidth |
611 | + property real __iconHeight |
612 | + property real __leftIconMargin |
613 | + property real __rightIconMargin |
614 | + property bool iconFrame |
615 | + property variant values |
616 | + property int selectedIndex |
617 | + property bool expanded |
618 | +modules/Ubuntu/Components/ListItems/ValueSelector.qml |
619 | +Empty |
620 | + property variant icon |
621 | + property url iconSource |
622 | + property string iconName |
623 | + property url fallbackIconSource |
624 | + property string fallbackIconName |
625 | + property real __iconWidth |
626 | + property real __iconHeight |
627 | + property real __leftIconMargin |
628 | + property real __rightIconMargin |
629 | + property bool iconFrame |
630 | + property variant values |
631 | + property int selectedIndex |
632 | + property bool expanded |
633 | +modules/Ubuntu/Components/MainView.qml |
634 | +PageTreeNode |
635 | + property string applicationName |
636 | + property bool anchorToKeyboard |
637 | + property color headerColor |
638 | + property color backgroundColor |
639 | + property color footerColor |
640 | + property bool automaticOrientation |
641 | + property bool useDeprecatedToolbar |
642 | + default property internal contentsItem |
643 | + property list<Action> actions |
644 | + property UnityActions.ActionManager actionManager |
645 | +modules/Ubuntu/Components/MainView.qml |
646 | +PageTreeNode |
647 | + property string applicationName |
648 | + property bool anchorToKeyboard |
649 | + property color headerColor |
650 | + property color backgroundColor |
651 | + property color footerColor |
652 | + property bool automaticOrientation |
653 | + property bool useDeprecatedToolbar |
654 | + default property internal contentsItem |
655 | + property list<Action> actions |
656 | + property UnityActions.ActionManager actionManager |
657 | +modules/Ubuntu/Components/Object.qml |
658 | +QtObject |
659 | + default property internal children |
660 | +modules/Ubuntu/Components/Object.qml |
661 | +QtObject |
662 | + default property internal children |
663 | +modules/Ubuntu/Components/OptionSelector.qml |
664 | +ListItem.Empty |
665 | + property var model |
666 | + property bool expanded |
667 | + property bool multiSelection |
668 | + property bool colourImage |
669 | + property real containerHeight |
670 | + property int selectedIndex |
671 | + property bool currentlyExpanded |
672 | + readonly property real itemHeight |
673 | + signal delegateClicked(int index) |
674 | + signal expansionCompleted() |
675 | +modules/Ubuntu/Components/OptionSelector.qml |
676 | +ListItem.Empty |
677 | + property var model |
678 | + property bool expanded |
679 | + property bool multiSelection |
680 | + property bool colourImage |
681 | + property real containerHeight |
682 | + property int selectedIndex |
683 | + property bool currentlyExpanded |
684 | + readonly property real itemHeight |
685 | + signal delegateClicked(int index) |
686 | + signal expansionCompleted() |
687 | +modules/Ubuntu/Components/OptionSelectorDelegate.qml |
688 | +ListItem.Standard |
689 | + property string text |
690 | + property string subText |
691 | + property url icon |
692 | + property url iconSource |
693 | + property string iconName |
694 | + property bool constrainImage |
695 | + property bool colourImage |
696 | + property color assetColour |
697 | + readonly property ListView listView |
698 | + readonly property string fragColourShader |
699 | +modules/Ubuntu/Components/OptionSelectorDelegate.qml |
700 | +ListItem.Standard |
701 | + property string text |
702 | + property string subText |
703 | + property url icon |
704 | + property url iconSource |
705 | + property string iconName |
706 | + property bool constrainImage |
707 | + property bool colourImage |
708 | + property color assetColour |
709 | + readonly property ListView listView |
710 | + readonly property string fragColourShader |
711 | +modules/Ubuntu/Components/OrientationHelper.qml |
712 | +Item |
713 | + property bool automaticOrientation |
714 | + property bool transitionEnabled |
715 | + property alias rotating |
716 | + property int __orientationAngle |
717 | + property int orientationAngle |
718 | +modules/Ubuntu/Components/OrientationHelper.qml |
719 | +Item |
720 | + property bool automaticOrientation |
721 | + property bool transitionEnabled |
722 | + property alias rotating |
723 | + property int __orientationAngle |
724 | + property int orientationAngle |
725 | +modules/Ubuntu/Components/Page.qml |
726 | +PageTreeNode |
727 | + property string title |
728 | + property Flickable flickable |
729 | + property list<Action> actions |
730 | +modules/Ubuntu/Components/Page.qml |
731 | +PageTreeNode |
732 | + property string title |
733 | + property Flickable flickable |
734 | + property list<Action> actions |
735 | +modules/Ubuntu/Components/PageStack.qml |
736 | +PageTreeNode |
737 | + property bool __showHeader |
738 | + property int depth |
739 | + property Item currentPage |
740 | + function push(page, properties) |
741 | + function pop() |
742 | + function clear() |
743 | +modules/Ubuntu/Components/PageStack.qml |
744 | +PageTreeNode |
745 | + property bool __showHeader |
746 | + property int depth |
747 | + property Item currentPage |
748 | + function push(page, properties) |
749 | + function pop() |
750 | + function clear() |
751 | +modules/Ubuntu/Components/Panel.qml |
752 | +Item |
753 | + default property list<Object> contents |
754 | + property int align |
755 | + property bool opened |
756 | + function open() |
757 | + function close() |
758 | + property int hideTimeout |
759 | + property bool locked |
760 | + property real hintSize |
761 | + property real triggerSize |
762 | + readonly property real position |
763 | + property bool animate |
764 | + readonly property bool animating |
765 | + property bool __closeOnContentsClicks |
766 | + property bool __openOnHover |
767 | + property bool pressed |
768 | +modules/Ubuntu/Components/Panel.qml |
769 | +Item |
770 | + default property list<Object> contents |
771 | + property int align |
772 | + property bool opened |
773 | + function open() |
774 | + function close() |
775 | + property int hideTimeout |
776 | + property bool locked |
777 | + property real hintSize |
778 | + property real triggerSize |
779 | + readonly property real position |
780 | + property bool animate |
781 | + readonly property bool animating |
782 | + property bool __closeOnContentsClicks |
783 | + property bool __openOnHover |
784 | + property bool pressed |
785 | +modules/Ubuntu/Components/Pickers/DatePicker.qml |
786 | +StyledItem |
787 | + property string mode |
788 | + property date date |
789 | + property date minimum |
790 | + property date maximum |
791 | + readonly property int year |
792 | + readonly property int month |
793 | + readonly property int day |
794 | + readonly property int week |
795 | + readonly property int hours |
796 | + readonly property int minutes |
797 | + readonly property int seconds |
798 | + property var locale |
799 | + readonly property bool moving |
800 | +modules/Ubuntu/Components/Pickers/DatePicker.qml |
801 | +StyledItem |
802 | + property string mode |
803 | + property date date |
804 | + property date minimum |
805 | + property date maximum |
806 | + readonly property int year |
807 | + readonly property int month |
808 | + readonly property int day |
809 | + readonly property int week |
810 | + readonly property int hours |
811 | + readonly property int minutes |
812 | + readonly property int seconds |
813 | + property var locale |
814 | + readonly property bool moving |
815 | +modules/Ubuntu/Components/Pickers/Dialer.qml |
816 | +StyledItem |
817 | + property real minimumValue |
818 | + property real maximumValue |
819 | + property real size |
820 | + property real handSpace |
821 | + readonly property Item centerItem |
822 | + property list<var> centerContent |
823 | + readonly property list<DialerHands> hands |
824 | + signal handUpdated(var hand) |
825 | +modules/Ubuntu/Components/Pickers/Dialer.qml |
826 | +StyledItem |
827 | + property real minimumValue |
828 | + property real maximumValue |
829 | + property real size |
830 | + property real handSpace |
831 | + readonly property Item centerItem |
832 | + property list<var> centerContent |
833 | + readonly property list<DialerHands> hands |
834 | + signal handUpdated(var hand) |
835 | +modules/Ubuntu/Components/Pickers/DialerHand.qml |
836 | +StyledItem |
837 | + property real value |
838 | + property DialerHandGroup hand |
839 | + readonly property Dialer dialer |
840 | + default property list<QtObject> overlay |
841 | + readonly property int index |
842 | + property internal __grabber |
843 | +modules/Ubuntu/Components/Pickers/DialerHand.qml |
844 | +StyledItem |
845 | + property real value |
846 | + property DialerHandGroup hand |
847 | + readonly property Dialer dialer |
848 | + default property list<QtObject> overlay |
849 | + readonly property int index |
850 | + property internal __grabber |
851 | +modules/Ubuntu/Components/Pickers/Picker.qml |
852 | +StyledItem |
853 | + property bool circular |
854 | + property var model |
855 | + property Component delegate |
856 | + property int selectedIndex |
857 | + property bool live |
858 | + readonly property bool moving |
859 | + function positionViewAtIndex(index) |
860 | + property int __clickedIndex |
861 | +modules/Ubuntu/Components/Pickers/Picker.qml |
862 | +StyledItem |
863 | + property bool circular |
864 | + property var model |
865 | + property Component delegate |
866 | + property int selectedIndex |
867 | + property bool live |
868 | + readonly property bool moving |
869 | + function positionViewAtIndex(index) |
870 | + property int __clickedIndex |
871 | +modules/Ubuntu/Components/Pickers/PickerDelegate.qml |
872 | +AbstractButton |
873 | + readonly property Picker picker |
874 | modules/Ubuntu/Components/Pickers/PickerDelegate.qml |
875 | AbstractButton |
876 | readonly property Picker picker |
877 | @@ -313,241 +610,477 @@ |
878 | property Item target |
879 | property var actions |
880 | property Component delegate |
881 | -modules/Ubuntu/Components/Popups/ComposerSheet.qml |
882 | -SheetBase |
883 | - signal cancelClicked |
884 | - signal confirmClicked |
885 | -modules/Ubuntu/Components/Popups/DefaultSheet.qml |
886 | -SheetBase |
887 | - property bool doneButton |
888 | - signal closeClicked |
889 | - signal doneClicked |
890 | -modules/Ubuntu/Components/Popups/Dialog.qml |
891 | -PopupBase |
892 | - default property list<Object> contents |
893 | - property string title |
894 | - property string text |
895 | - property Item caller |
896 | - property Item pointerTarget |
897 | - property real edgeMargins |
898 | - property real callerMargin |
899 | - property bool modal |
900 | -modules/Ubuntu/Components/Popups/Popover.qml |
901 | -PopupBase |
902 | - default property list<Object> container |
903 | - property real contentWidth |
904 | - property real contentHeight |
905 | - property Item caller |
906 | - property Item pointerTarget |
907 | - property real edgeMargins |
908 | - property real callerMargin |
909 | - property bool autoClose |
910 | - property Component foregroundStyle |
911 | - function show() |
912 | - function hide() |
913 | - function __makeInvisible() |
914 | -modules/Ubuntu/Components/Popups/PopupBase.qml |
915 | -OrientationHelper |
916 | - property Item dismissArea |
917 | - property bool grabDismissAreaEvents |
918 | - function show() |
919 | - function hide() |
920 | - function __closeIfHidden() |
921 | - function __closePopup() |
922 | - property Item __foreground |
923 | - property bool __closeOnDismissAreaPress |
924 | - property internal __dimBackground |
925 | - property internal __eventGrabber |
926 | -modules/Ubuntu/Components/Popups/SheetBase.qml |
927 | -PopupBase |
928 | - default property list<Object> container |
929 | - property real contentsWidth |
930 | - property real contentsHeight |
931 | - property string title |
932 | - property bool modal |
933 | - property internal __leftButton |
934 | - property internal __rightButton |
935 | -modules/Ubuntu/Components/ProgressBar.qml |
936 | -AnimatedItem |
937 | - property bool indeterminate |
938 | - property real minimumValue |
939 | - property real maximumValue |
940 | - property real value |
941 | -modules/Ubuntu/Components/Scrollbar.qml |
942 | -StyledItem |
943 | - property Flickable flickableItem |
944 | - property int align |
945 | - property bool __interactive |
946 | - property internal __private |
947 | -modules/Ubuntu/Components/Slider.qml |
948 | -StyledItem |
949 | - property real minimumValue |
950 | - property real maximumValue |
951 | - property real value |
952 | - property bool live |
953 | - property bool pressed |
954 | - signal touched(bool onThumb) |
955 | - function formatValue(v) |
956 | - property internal __internals |
957 | -modules/Ubuntu/Components/StyledItem.qml |
958 | -FocusScope |
959 | - property Component style |
960 | - readonly property Item __styleInstance |
961 | -modules/Ubuntu/Components/Switch.qml |
962 | -CheckBox |
963 | -modules/Ubuntu/Components/Tab.qml |
964 | -PageTreeNode |
965 | - property string title |
966 | - property url iconSource |
967 | - property Item page |
968 | - readonly property int index |
969 | - property internal __protected |
970 | -modules/Ubuntu/Components/TabBar.qml |
971 | -StyledItem |
972 | - property Item tabsItem |
973 | - property var model |
974 | - readonly property bool pressed |
975 | - property bool selectionMode |
976 | - property int selectedIndex |
977 | - property bool alwaysSelectionMode |
978 | - property bool animate |
979 | -modules/Ubuntu/Components/Tabs.qml |
980 | -PageTreeNode |
981 | - property int selectedTabIndex |
982 | - readonly property Tab selectedTab |
983 | - readonly property Item currentPage |
984 | - property TabBar tabBar |
985 | - default property list<Item> tabChildren |
986 | - readonly property int count |
987 | - signal modelChanged() |
988 | -modules/Ubuntu/Components/TextArea.qml |
989 | -StyledItem |
990 | - property bool highlighted |
991 | - property string placeholderText |
992 | - readonly property string displayText |
993 | - property bool selectByMouse |
994 | - property bool autoExpand |
995 | - property bool autoSize |
996 | - property int maximumLineCount |
997 | - property real contentWidth |
998 | - property real contentHeight |
999 | - property var popover |
1000 | - property bool activeFocusOnPress |
1001 | - property url baseUrl |
1002 | - property bool canPaste |
1003 | - property bool canRedo |
1004 | - property bool canUndo |
1005 | - property color color |
1006 | - property Component cursorDelegate |
1007 | - property int cursorPosition |
1008 | - property rectangle cursorRectangle |
1009 | - property bool cursorVisible |
1010 | - property enumeration effectiveHorizontalAlignment |
1011 | - property font font |
1012 | - property enumeration horizontalAlignment |
1013 | - property bool inputMethodComposing |
1014 | - property enumeration inputMethodHints |
1015 | - property int length |
1016 | - property int lineCount |
1017 | - property enumeration mouseSelectionMode |
1018 | - property enumeration persistentSelection |
1019 | - property bool readOnly |
1020 | - property enumeration renderType |
1021 | - property string selectedText |
1022 | - property color selectedTextColor |
1023 | - property color selectionColor |
1024 | - property int selectionEnd |
1025 | - property int selectionStart |
1026 | - property string text |
1027 | - property enumeration textFormat |
1028 | - property enumeration verticalAlignment |
1029 | - property enumeration wrapMode |
1030 | - signal linkActivated(string link) |
1031 | - function copy() |
1032 | - function cut() |
1033 | - function deselect() |
1034 | - function insert(position, text) |
1035 | - function positionAt(x, y) |
1036 | - function isRightToLeft(start, end) |
1037 | - function moveCursorSelection(position, mode) |
1038 | - function paste(data) |
1039 | - function positionToRectangle(position) |
1040 | - function redo() |
1041 | - function select(start, end) |
1042 | - function selectAll() |
1043 | - function selectWord() |
1044 | - function getFormattedText(start, end) |
1045 | - function getText(start, end) |
1046 | - function remove(start, end) |
1047 | - function undo() |
1048 | - function forceActiveFocus() |
1049 | - property internal __internal |
1050 | -modules/Ubuntu/Components/TextField.qml |
1051 | -ActionItem |
1052 | - property bool highlighted |
1053 | - property string placeholderText |
1054 | - property bool hasClearButton |
1055 | - property Component customSoftwareInputPanel |
1056 | - property var popover |
1057 | - property list<Object> primaryItem |
1058 | - property list<Object> secondaryItem |
1059 | - property bool errorHighlight |
1060 | - property bool acceptableInput |
1061 | - property bool activeFocusOnPress |
1062 | - property bool autoScroll |
1063 | - property bool canPaste |
1064 | - property bool canRedo |
1065 | - property bool canUndo |
1066 | - property color color |
1067 | - property real contentHeight |
1068 | - property real contentWidth |
1069 | - property Component cursorDelegate |
1070 | - property int cursorPosition |
1071 | - property rectangle cursorRectangle |
1072 | - property bool cursorVisible |
1073 | - property string displayText |
1074 | - property enumeration echoMode |
1075 | - property font font |
1076 | - property string inputMask |
1077 | - property bool inputMethodComposing |
1078 | - property enumeration inputMethodHints |
1079 | - property int length |
1080 | - property int maximumLength |
1081 | - property enumeration mouseSelectionMode |
1082 | - property bool persistentSelection |
1083 | - property bool readOnly |
1084 | - property enumeration renderType |
1085 | - property bool selectByMouse |
1086 | - readonly property string selectedText |
1087 | - property int selectionStart |
1088 | - property int selectionEnd |
1089 | - property string text |
1090 | - property Validator validator |
1091 | - property enumeration horizontalAlignment |
1092 | - property enumeration effectiveHorizontalAlignment |
1093 | - property enumeration verticalAlignment |
1094 | - property string passwordCharacter |
1095 | - property color selectionColor |
1096 | - property color selectedTextColor |
1097 | - signal accepted() |
1098 | - function copy() |
1099 | - function cut() |
1100 | - function paste(data) |
1101 | - function deselect() |
1102 | - function insert(position, text) |
1103 | - function positionAt(x, position) |
1104 | - function positionToRectangle(pos) |
1105 | - function select(start, end) |
1106 | - function selectAll() |
1107 | - function selectWord() |
1108 | - function forceActiveFocus() |
1109 | - function isRightToLeft(start, end) |
1110 | - function moveCursorSelection(position, mode) |
1111 | - function redo() |
1112 | - function undo() |
1113 | - function remove(start, end) |
1114 | - function getText(start, end) |
1115 | - property internal __internal |
1116 | +modules/Ubuntu/Components/Popups/ActionSelectionPopover.qml |
1117 | +Popover |
1118 | + property Item target |
1119 | + property var actions |
1120 | + property Component delegate |
1121 | +modules/Ubuntu/Components/Popups/ComposerSheet.qml |
1122 | +SheetBase |
1123 | + signal cancelClicked |
1124 | + signal confirmClicked |
1125 | +modules/Ubuntu/Components/Popups/ComposerSheet.qml |
1126 | +SheetBase |
1127 | + signal cancelClicked |
1128 | + signal confirmClicked |
1129 | +modules/Ubuntu/Components/Popups/DefaultSheet.qml |
1130 | +SheetBase |
1131 | + property bool doneButton |
1132 | + signal closeClicked |
1133 | + signal doneClicked |
1134 | +modules/Ubuntu/Components/Popups/DefaultSheet.qml |
1135 | +SheetBase |
1136 | + property bool doneButton |
1137 | + signal closeClicked |
1138 | + signal doneClicked |
1139 | +modules/Ubuntu/Components/Popups/Dialog.qml |
1140 | +PopupBase |
1141 | + default property list<Object> contents |
1142 | + property string title |
1143 | + property string text |
1144 | + property Item caller |
1145 | + property Item pointerTarget |
1146 | + property real edgeMargins |
1147 | + property real callerMargin |
1148 | + property bool modal |
1149 | +modules/Ubuntu/Components/Popups/Dialog.qml |
1150 | +PopupBase |
1151 | + default property list<Object> contents |
1152 | + property string title |
1153 | + property string text |
1154 | + property Item caller |
1155 | + property Item pointerTarget |
1156 | + property real edgeMargins |
1157 | + property real callerMargin |
1158 | + property bool modal |
1159 | +modules/Ubuntu/Components/Popups/Popover.qml |
1160 | +PopupBase |
1161 | + default property list<Object> container |
1162 | + property real contentWidth |
1163 | + property real contentHeight |
1164 | + property Item caller |
1165 | + property Item pointerTarget |
1166 | + property real edgeMargins |
1167 | + property real callerMargin |
1168 | + property bool autoClose |
1169 | + property Component foregroundStyle |
1170 | + function show() |
1171 | + function hide() |
1172 | + function __makeInvisible() |
1173 | +modules/Ubuntu/Components/Popups/Popover.qml |
1174 | +PopupBase |
1175 | + default property list<Object> container |
1176 | + property real contentWidth |
1177 | + property real contentHeight |
1178 | + property Item caller |
1179 | + property Item pointerTarget |
1180 | + property real edgeMargins |
1181 | + property real callerMargin |
1182 | + property bool autoClose |
1183 | + property Component foregroundStyle |
1184 | + function show() |
1185 | + function hide() |
1186 | + function __makeInvisible() |
1187 | +modules/Ubuntu/Components/Popups/PopupBase.qml |
1188 | +OrientationHelper |
1189 | + property Item dismissArea |
1190 | + property bool grabDismissAreaEvents |
1191 | + function show() |
1192 | + function hide() |
1193 | + function __closeIfHidden() |
1194 | + function __closePopup() |
1195 | + property Item __foreground |
1196 | + property bool __closeOnDismissAreaPress |
1197 | + property internal __dimBackground |
1198 | + property internal __eventGrabber |
1199 | +modules/Ubuntu/Components/Popups/PopupBase.qml |
1200 | +OrientationHelper |
1201 | + property Item dismissArea |
1202 | + property bool grabDismissAreaEvents |
1203 | + function show() |
1204 | + function hide() |
1205 | + function __closeIfHidden() |
1206 | + function __closePopup() |
1207 | + property Item __foreground |
1208 | + property bool __closeOnDismissAreaPress |
1209 | + property internal __dimBackground |
1210 | + property internal __eventGrabber |
1211 | +modules/Ubuntu/Components/Popups/SheetBase.qml |
1212 | +PopupBase |
1213 | + default property list<Object> container |
1214 | + property real contentsWidth |
1215 | + property real contentsHeight |
1216 | + property string title |
1217 | + property bool modal |
1218 | + property internal __leftButton |
1219 | + property internal __rightButton |
1220 | +modules/Ubuntu/Components/Popups/SheetBase.qml |
1221 | +PopupBase |
1222 | + default property list<Object> container |
1223 | + property real contentsWidth |
1224 | + property real contentsHeight |
1225 | + property string title |
1226 | + property bool modal |
1227 | + property internal __leftButton |
1228 | + property internal __rightButton |
1229 | +modules/Ubuntu/Components/ProgressBar.qml |
1230 | +AnimatedItem |
1231 | + property bool indeterminate |
1232 | + property real minimumValue |
1233 | + property real maximumValue |
1234 | + property real value |
1235 | +modules/Ubuntu/Components/ProgressBar.qml |
1236 | +AnimatedItem |
1237 | + property bool indeterminate |
1238 | + property real minimumValue |
1239 | + property real maximumValue |
1240 | + property real value |
1241 | +modules/Ubuntu/Components/Scrollbar.qml |
1242 | +StyledItem |
1243 | + property Flickable flickableItem |
1244 | + property int align |
1245 | + property bool __interactive |
1246 | + property internal __private |
1247 | +modules/Ubuntu/Components/Scrollbar.qml |
1248 | +StyledItem |
1249 | + property Flickable flickableItem |
1250 | + property int align |
1251 | + property bool __interactive |
1252 | + property internal __private |
1253 | +modules/Ubuntu/Components/Slider.qml |
1254 | +StyledItem |
1255 | + property real minimumValue |
1256 | + property real maximumValue |
1257 | + property real value |
1258 | + property bool live |
1259 | + property bool pressed |
1260 | + signal touched(bool onThumb) |
1261 | + function formatValue(v) |
1262 | + property internal __internals |
1263 | +modules/Ubuntu/Components/Slider.qml |
1264 | +StyledItem |
1265 | + property real minimumValue |
1266 | + property real maximumValue |
1267 | + property real value |
1268 | + property bool live |
1269 | + property bool pressed |
1270 | + signal touched(bool onThumb) |
1271 | + function formatValue(v) |
1272 | + property internal __internals |
1273 | +modules/Ubuntu/Components/StyledItem.qml |
1274 | +FocusScope |
1275 | + property Component style |
1276 | + readonly property Item __styleInstance |
1277 | +modules/Ubuntu/Components/StyledItem.qml |
1278 | +FocusScope |
1279 | + property Component style |
1280 | + readonly property Item __styleInstance |
1281 | +modules/Ubuntu/Components/Switch.qml |
1282 | +CheckBox |
1283 | +modules/Ubuntu/Components/Switch.qml |
1284 | +CheckBox |
1285 | +modules/Ubuntu/Components/Tab.qml |
1286 | +PageTreeNode |
1287 | + property string title |
1288 | + property url iconSource |
1289 | + property Item page |
1290 | + readonly property int index |
1291 | + property internal __protected |
1292 | +modules/Ubuntu/Components/Tab.qml |
1293 | +PageTreeNode |
1294 | + property string title |
1295 | + property url iconSource |
1296 | + property Item page |
1297 | + readonly property int index |
1298 | + property internal __protected |
1299 | +modules/Ubuntu/Components/TabBar.qml |
1300 | +StyledItem |
1301 | + property Item tabsItem |
1302 | + property var model |
1303 | + readonly property bool pressed |
1304 | + property bool selectionMode |
1305 | + property int selectedIndex |
1306 | + property bool alwaysSelectionMode |
1307 | + property bool animate |
1308 | +modules/Ubuntu/Components/TabBar.qml |
1309 | +StyledItem |
1310 | + property Item tabsItem |
1311 | + property var model |
1312 | + readonly property bool pressed |
1313 | + property bool selectionMode |
1314 | + property int selectedIndex |
1315 | + property bool alwaysSelectionMode |
1316 | + property bool animate |
1317 | +modules/Ubuntu/Components/Tabs.qml |
1318 | +PageTreeNode |
1319 | + property int selectedTabIndex |
1320 | + readonly property Tab selectedTab |
1321 | + readonly property Item currentPage |
1322 | + property TabBar tabBar |
1323 | + default property list<Item> tabChildren |
1324 | + readonly property int count |
1325 | + signal modelChanged() |
1326 | +modules/Ubuntu/Components/Tabs.qml |
1327 | +PageTreeNode |
1328 | + property int selectedTabIndex |
1329 | + readonly property Tab selectedTab |
1330 | + readonly property Item currentPage |
1331 | + property TabBar tabBar |
1332 | + default property list<Item> tabChildren |
1333 | + readonly property int count |
1334 | + signal modelChanged() |
1335 | +modules/Ubuntu/Components/TextArea.qml |
1336 | +StyledItem |
1337 | + property bool highlighted |
1338 | + property string placeholderText |
1339 | + readonly property string displayText |
1340 | + property bool selectByMouse |
1341 | + property bool autoExpand |
1342 | + property bool autoSize |
1343 | + property int maximumLineCount |
1344 | + property real contentWidth |
1345 | + property real contentHeight |
1346 | + property var popover |
1347 | + property bool activeFocusOnPress |
1348 | + property url baseUrl |
1349 | + property bool canPaste |
1350 | + property bool canRedo |
1351 | + property bool canUndo |
1352 | + property color color |
1353 | + property Component cursorDelegate |
1354 | + property int cursorPosition |
1355 | + property rectangle cursorRectangle |
1356 | + property bool cursorVisible |
1357 | + property enumeration effectiveHorizontalAlignment |
1358 | + property font font |
1359 | + property enumeration horizontalAlignment |
1360 | + property bool inputMethodComposing |
1361 | + property enumeration inputMethodHints |
1362 | + property int length |
1363 | + property int lineCount |
1364 | + property enumeration mouseSelectionMode |
1365 | + property enumeration persistentSelection |
1366 | + property bool readOnly |
1367 | + property enumeration renderType |
1368 | + property string selectedText |
1369 | + property color selectedTextColor |
1370 | + property color selectionColor |
1371 | + property int selectionEnd |
1372 | + property int selectionStart |
1373 | + property string text |
1374 | + property enumeration textFormat |
1375 | + property enumeration verticalAlignment |
1376 | + property enumeration wrapMode |
1377 | + signal linkActivated(string link) |
1378 | + function copy() |
1379 | + function cut() |
1380 | + function deselect() |
1381 | + function insert(position, text) |
1382 | + function positionAt(x, y) |
1383 | + function isRightToLeft(start, end) |
1384 | + function moveCursorSelection(position, mode) |
1385 | + function paste(data) |
1386 | + function positionToRectangle(position) |
1387 | + function redo() |
1388 | + function select(start, end) |
1389 | + function selectAll() |
1390 | + function selectWord() |
1391 | + function getFormattedText(start, end) |
1392 | + function getText(start, end) |
1393 | + function remove(start, end) |
1394 | + function undo() |
1395 | + function forceActiveFocus() |
1396 | +modules/Ubuntu/Components/TextArea.qml |
1397 | +StyledItem |
1398 | + property bool highlighted |
1399 | + property string placeholderText |
1400 | + readonly property string displayText |
1401 | + property bool selectByMouse |
1402 | + property bool autoExpand |
1403 | + property bool autoSize |
1404 | + property int maximumLineCount |
1405 | + property real contentWidth |
1406 | + property real contentHeight |
1407 | + property var popover |
1408 | + property bool activeFocusOnPress |
1409 | + property url baseUrl |
1410 | + property bool canPaste |
1411 | + property bool canRedo |
1412 | + property bool canUndo |
1413 | + property color color |
1414 | + property Component cursorDelegate |
1415 | + property int cursorPosition |
1416 | + property rectangle cursorRectangle |
1417 | + property bool cursorVisible |
1418 | + property enumeration effectiveHorizontalAlignment |
1419 | + property font font |
1420 | + property enumeration horizontalAlignment |
1421 | + property bool inputMethodComposing |
1422 | + property enumeration inputMethodHints |
1423 | + property int length |
1424 | + property int lineCount |
1425 | + property enumeration mouseSelectionMode |
1426 | + property enumeration persistentSelection |
1427 | + property bool readOnly |
1428 | + property enumeration renderType |
1429 | + property string selectedText |
1430 | + property color selectedTextColor |
1431 | + property color selectionColor |
1432 | + property int selectionEnd |
1433 | + property int selectionStart |
1434 | + property string text |
1435 | + property enumeration textFormat |
1436 | + property enumeration verticalAlignment |
1437 | + property enumeration wrapMode |
1438 | + signal linkActivated(string link) |
1439 | + function copy() |
1440 | + function cut() |
1441 | + function deselect() |
1442 | + function insert(position, text) |
1443 | + function positionAt(x, y) |
1444 | + function isRightToLeft(start, end) |
1445 | + function moveCursorSelection(position, mode) |
1446 | + function paste(data) |
1447 | + function positionToRectangle(position) |
1448 | + function redo() |
1449 | + function select(start, end) |
1450 | + function selectAll() |
1451 | + function selectWord() |
1452 | + function getFormattedText(start, end) |
1453 | + function getText(start, end) |
1454 | + function remove(start, end) |
1455 | + function undo() |
1456 | + function forceActiveFocus() |
1457 | +modules/Ubuntu/Components/TextField.qml |
1458 | +ActionItem |
1459 | + property bool highlighted |
1460 | + property string placeholderText |
1461 | + property bool hasClearButton |
1462 | + property Component customSoftwareInputPanel |
1463 | + property var popover |
1464 | + property list<Object> primaryItem |
1465 | + property list<Object> secondaryItem |
1466 | + property bool errorHighlight |
1467 | + property bool acceptableInput |
1468 | + property bool activeFocusOnPress |
1469 | + property bool autoScroll |
1470 | + property bool canPaste |
1471 | + property bool canRedo |
1472 | + property bool canUndo |
1473 | + property color color |
1474 | + property real contentHeight |
1475 | + property real contentWidth |
1476 | + property Component cursorDelegate |
1477 | + property int cursorPosition |
1478 | + property rectangle cursorRectangle |
1479 | + property bool cursorVisible |
1480 | + property string displayText |
1481 | + property enumeration echoMode |
1482 | + property font font |
1483 | + property string inputMask |
1484 | + property bool inputMethodComposing |
1485 | + property enumeration inputMethodHints |
1486 | + property int length |
1487 | + property int maximumLength |
1488 | + property enumeration mouseSelectionMode |
1489 | + property bool persistentSelection |
1490 | + property bool readOnly |
1491 | + property enumeration renderType |
1492 | + property bool selectByMouse |
1493 | + readonly property string selectedText |
1494 | + property int selectionStart |
1495 | + property int selectionEnd |
1496 | + property string text |
1497 | + property Validator validator |
1498 | + property enumeration horizontalAlignment |
1499 | + property enumeration effectiveHorizontalAlignment |
1500 | + property enumeration verticalAlignment |
1501 | + property string passwordCharacter |
1502 | + property color selectionColor |
1503 | + property color selectedTextColor |
1504 | + signal accepted() |
1505 | + function copy() |
1506 | + function cut() |
1507 | + function paste(data) |
1508 | + function deselect() |
1509 | + function insert(position, text) |
1510 | + function positionAt(x, position) |
1511 | + function positionToRectangle(pos) |
1512 | + function select(start, end) |
1513 | + function selectAll() |
1514 | + function selectWord() |
1515 | + function forceActiveFocus() |
1516 | + function isRightToLeft(start, end) |
1517 | + function moveCursorSelection(position, mode) |
1518 | + function redo() |
1519 | + function undo() |
1520 | + function remove(start, end) |
1521 | + function getText(start, end) |
1522 | +modules/Ubuntu/Components/TextField.qml |
1523 | +ActionItem |
1524 | + property bool highlighted |
1525 | + property string placeholderText |
1526 | + property bool hasClearButton |
1527 | + property Component customSoftwareInputPanel |
1528 | + property var popover |
1529 | + property list<Object> primaryItem |
1530 | + property list<Object> secondaryItem |
1531 | + property bool errorHighlight |
1532 | + property bool acceptableInput |
1533 | + property bool activeFocusOnPress |
1534 | + property bool autoScroll |
1535 | + property bool canPaste |
1536 | + property bool canRedo |
1537 | + property bool canUndo |
1538 | + property color color |
1539 | + property real contentHeight |
1540 | + property real contentWidth |
1541 | + property Component cursorDelegate |
1542 | + property int cursorPosition |
1543 | + property rectangle cursorRectangle |
1544 | + property bool cursorVisible |
1545 | + property string displayText |
1546 | + property enumeration echoMode |
1547 | + property font font |
1548 | + property string inputMask |
1549 | + property bool inputMethodComposing |
1550 | + property enumeration inputMethodHints |
1551 | + property int length |
1552 | + property int maximumLength |
1553 | + property enumeration mouseSelectionMode |
1554 | + property bool persistentSelection |
1555 | + property bool readOnly |
1556 | + property enumeration renderType |
1557 | + property bool selectByMouse |
1558 | + readonly property string selectedText |
1559 | + property int selectionStart |
1560 | + property int selectionEnd |
1561 | + property string text |
1562 | + property Validator validator |
1563 | + property enumeration horizontalAlignment |
1564 | + property enumeration effectiveHorizontalAlignment |
1565 | + property enumeration verticalAlignment |
1566 | + property string passwordCharacter |
1567 | + property color selectionColor |
1568 | + property color selectedTextColor |
1569 | + signal accepted() |
1570 | + function copy() |
1571 | + function cut() |
1572 | + function paste(data) |
1573 | + function deselect() |
1574 | + function insert(position, text) |
1575 | + function positionAt(x, position) |
1576 | + function positionToRectangle(pos) |
1577 | + function select(start, end) |
1578 | + function selectAll() |
1579 | + function selectWord() |
1580 | + function forceActiveFocus() |
1581 | + function isRightToLeft(start, end) |
1582 | + function moveCursorSelection(position, mode) |
1583 | + function redo() |
1584 | + function undo() |
1585 | + function remove(start, end) |
1586 | + function getText(start, end) |
1587 | modules/Ubuntu/Components/Themes/Palette.qml |
1588 | QtObject |
1589 | property PaletteValues normal |
1590 | @@ -566,28 +1099,60 @@ |
1591 | property color fieldText |
1592 | modules/Ubuntu/Components/ToolbarButton.qml |
1593 | ActionItem |
1594 | -modules/Ubuntu/Components/ToolbarItems.qml |
1595 | -Item |
1596 | - default property list<Object> contents |
1597 | - property Item back |
1598 | - property Item pageStack |
1599 | - property bool opened |
1600 | - property bool locked |
1601 | -modules/Ubuntu/Components/UbuntuListView.qml |
1602 | -ListView |
1603 | - property int expandedIndex |
1604 | -modules/Ubuntu/Components/UbuntuNumberAnimation.qml |
1605 | -NumberAnimation |
1606 | -modules/Ubuntu/Components/UbuntuShape.qml |
1607 | -Item |
1608 | - property color color |
1609 | - property color gradientColor |
1610 | - property string radius |
1611 | - property Item image |
1612 | - property url borderSource |
1613 | -modules/Ubuntu/PerformanceMetrics/PerformanceOverlay.qml |
1614 | -Item |
1615 | - property bool active |
1616 | +modules/Ubuntu/Components/ToolbarButton.qml |
1617 | +ActionItem |
1618 | +modules/Ubuntu/Components/ToolbarItems.qml |
1619 | +Item |
1620 | + default property list<Object> contents |
1621 | + property Item back |
1622 | + property Item pageStack |
1623 | + property bool opened |
1624 | + property bool locked |
1625 | +modules/Ubuntu/Components/ToolbarItems.qml |
1626 | +Item |
1627 | + default property list<Object> contents |
1628 | + property Item back |
1629 | + property Item pageStack |
1630 | + property bool opened |
1631 | + property bool locked |
1632 | +modules/Ubuntu/Components/UbuntuListView.qml |
1633 | +ListView |
1634 | + property int expandedIndex |
1635 | +modules/Ubuntu/Components/UbuntuListView.qml |
1636 | +ListView |
1637 | + property int expandedIndex |
1638 | +modules/Ubuntu/Components/UbuntuNumberAnimation.qml |
1639 | +NumberAnimation |
1640 | +modules/Ubuntu/Components/UbuntuNumberAnimation.qml |
1641 | +NumberAnimation |
1642 | +modules/Ubuntu/Components/UbuntuShape.qml |
1643 | +Item |
1644 | + property color color |
1645 | + property color gradientColor |
1646 | + property string radius |
1647 | + property Item image |
1648 | + property url borderSource |
1649 | +modules/Ubuntu/Components/UbuntuShape.qml |
1650 | +Item |
1651 | + property color color |
1652 | + property color gradientColor |
1653 | + property string radius |
1654 | + property Item image |
1655 | + property url borderSource |
1656 | +modules/Ubuntu/PerformanceMetrics/PerformanceOverlay.qml |
1657 | +Item |
1658 | + property bool active |
1659 | +modules/Ubuntu/PerformanceMetrics/PerformanceOverlay.qml |
1660 | +Item |
1661 | + property bool active |
1662 | +modules/Ubuntu/Test/UbuntuTestCase.qml |
1663 | +TestCase |
1664 | + function findChild(obj,objectName) |
1665 | + function findInvisibleChild(obj,objectName) |
1666 | + function mouseMoveSlowly(item,x,y,dx,dy,steps,stepdelay) |
1667 | + function flick(item, x, y, dx, dy, pressTimeout, steps, button, modifiers, delay) |
1668 | + function mouseLongPress(item, x, y, button, modifiers, delay) |
1669 | + function tryCompareFunction(func, expectedResult, timeout) |
1670 | modules/Ubuntu/Test/UbuntuTestCase.qml |
1671 | TestCase |
1672 | function findChild(obj,objectName) |
1673 | @@ -599,7 +1164,7 @@ |
1674 | plugins.qmltypes |
1675 | name: "InverseMouseAreaType" |
1676 | prototype: "QQuickMouseArea" |
1677 | - exports: ["InverseMouseArea 0.1"] |
1678 | + exports: ["InverseMouseArea 0.1", "InverseMouseArea 1.0"] |
1679 | Property { name: "sensingArea"; type: "QQuickItem"; isPointer: true } |
1680 | Property { name: "topmostItem"; type: "bool" } |
1681 | Method { |
1682 | @@ -607,7 +1172,7 @@ |
1683 | Parameter { name: "point"; type: "QPointF" } |
1684 | name: "ShapeItem" |
1685 | prototype: "QQuickItem" |
1686 | - exports: ["Shape 0.1"] |
1687 | + exports: ["Shape 0.1", "Shape 1.0"] |
1688 | name: "HAlignment" |
1689 | name: "VAlignment" |
1690 | Property { name: "color"; type: "QColor" } |
1691 | @@ -622,7 +1187,7 @@ |
1692 | Method { name: "gridUnitChanged" } |
1693 | name: "UCAlarm" |
1694 | prototype: "QObject" |
1695 | - exports: ["Alarm 0.1"] |
1696 | + exports: ["Alarm 0.1", "Alarm 1.0"] |
1697 | name: "Status" |
1698 | name: "Operation" |
1699 | name: "Error" |
1700 | @@ -645,14 +1210,14 @@ |
1701 | Method { name: "reset" } |
1702 | name: "UCAlarmModel" |
1703 | prototype: "QAbstractListModel" |
1704 | - exports: ["AlarmModel 0.1"] |
1705 | + exports: ["AlarmModel 0.1", "AlarmModel 1.0"] |
1706 | Property { name: "count"; type: "int"; isReadonly: true } |
1707 | Method { |
1708 | name: "get" |
1709 | Parameter { name: "index"; type: "int" } |
1710 | name: "UCArgument" |
1711 | prototype: "QObject" |
1712 | - exports: ["Argument 0.1"] |
1713 | + exports: ["Argument 0.1", "Argument 1.0"] |
1714 | Property { name: "name"; type: "string" } |
1715 | Property { name: "help"; type: "string" } |
1716 | Property { name: "required"; type: "bool" } |
1717 | @@ -662,7 +1227,7 @@ |
1718 | Parameter { name: "i"; type: "int" } |
1719 | name: "UCArguments" |
1720 | prototype: "QObject" |
1721 | - exports: ["Arguments 0.1"] |
1722 | + exports: ["Arguments 0.1", "Arguments 1.0"] |
1723 | Property { name: "defaultArgument"; type: "UCArgument"; isPointer: true } |
1724 | Property { name: "arguments"; type: "UCArgument"; isList: true; isReadonly: true } |
1725 | Property { name: "values"; type: "QQmlPropertyMap"; isReadonly: true; isPointer: true } |
1726 | @@ -675,10 +1240,10 @@ |
1727 | Method { name: "quitWithError" } |
1728 | name: "UCInverseMouse" |
1729 | prototype: "UCMouse" |
1730 | - exports: ["InverseMouse 0.1"] |
1731 | + exports: ["InverseMouse 0.1", "InverseMouse 1.0"] |
1732 | name: "UCMouse" |
1733 | prototype: "QObject" |
1734 | - exports: ["Mouse 0.1"] |
1735 | + exports: ["Mouse 0.1", "Mouse 1.0"] |
1736 | name: "Priority" |
1737 | Property { name: "enabled"; type: "bool" } |
1738 | Property { name: "acceptedButtons"; type: "Qt::MouseButtons"; isReadonly: true } |
1739 | @@ -720,7 +1285,7 @@ |
1740 | Parameter { name: "host"; type: "QQuickItem"; isPointer: true } |
1741 | name: "UCQQuickImageExtension" |
1742 | prototype: "QQuickImageBase" |
1743 | - exports: ["QQuickImageBase 0.1"] |
1744 | + exports: ["QQuickImageBase 0.1", "QQuickImageBase 1.0"] |
1745 | Property { name: "source"; type: "QUrl" } |
1746 | Signal { |
1747 | name: "sourceChanged" |
1748 | @@ -730,14 +1295,14 @@ |
1749 | Parameter { type: "QUrl" } |
1750 | name: "UCStateSaver" |
1751 | prototype: "QObject" |
1752 | - exports: ["StateSaver 0.1"] |
1753 | + exports: ["StateSaver 0.1", "StateSaver 1.0"] |
1754 | name: "UCStateSaverAttached" |
1755 | prototype: "QObject" |
1756 | Property { name: "enabled"; type: "bool" } |
1757 | Property { name: "properties"; type: "string" } |
1758 | name: "UCUbuntuAnimation" |
1759 | prototype: "QObject" |
1760 | - exports: ["UbuntuAnimation 0.1"] |
1761 | + exports: ["UbuntuAnimation 0.1", "UbuntuAnimation 1.0"] |
1762 | Property { name: "SnapDuration"; type: "int"; isReadonly: true } |
1763 | Property { name: "FastDuration"; type: "int"; isReadonly: true } |
1764 | Property { name: "BriskDuration"; type: "int"; isReadonly: true } |
1765 | @@ -747,7 +1312,7 @@ |
1766 | Property { name: "StandardEasingReverse"; type: "QEasingCurve"; isReadonly: true } |
1767 | name: "UCUnits" |
1768 | prototype: "QObject" |
1769 | - exports: ["UCUnits 0.1"] |
1770 | + exports: ["UCUnits 0.1", "UCUnits 1.0"] |
1771 | Property { name: "gridUnit"; type: "float" } |
1772 | Method { |
1773 | name: "dp" |
1774 | @@ -757,13 +1322,13 @@ |
1775 | Parameter { name: "value"; type: "float" } |
1776 | name: "UCUriHandler" |
1777 | prototype: "QObject" |
1778 | - exports: ["UriHandler 0.1"] |
1779 | + exports: ["UriHandler 0.1", "UriHandler 1.0"] |
1780 | Signal { |
1781 | name: "opened" |
1782 | Parameter { name: "uris"; type: "QStringList" } |
1783 | name: "UbuntuI18n" |
1784 | prototype: "QObject" |
1785 | - exports: ["i18n 0.1"] |
1786 | + exports: ["i18n 0.1", "i18n 1.0"] |
1787 | Property { name: "domain"; type: "string" } |
1788 | Property { name: "language"; type: "string" } |
1789 | Method { |
1790 | @@ -790,17 +1355,17 @@ |
1791 | Parameter { name: "n"; type: "int" } |
1792 | name: "ULConditionalLayout" |
1793 | prototype: "QObject" |
1794 | - exports: ["ConditionalLayout 0.1"] |
1795 | + exports: ["ConditionalLayout 0.1", "ConditionalLayout 1.0"] |
1796 | Property { name: "name"; type: "string" } |
1797 | Property { name: "when"; type: "QQmlBinding"; isPointer: true } |
1798 | Property { name: "layout"; type: "QQmlComponent"; isPointer: true } |
1799 | name: "ULItemLayout" |
1800 | prototype: "QQuickItem" |
1801 | - exports: ["ItemLayout 0.1"] |
1802 | + exports: ["ItemLayout 0.1", "ItemLayout 1.0"] |
1803 | Property { name: "item"; type: "string" } |
1804 | name: "ULLayouts" |
1805 | prototype: "QQuickItem" |
1806 | - exports: ["Layouts 0.1"] |
1807 | + exports: ["Layouts 0.1", "Layouts 1.0"] |
1808 | Property { name: "currentLayout"; type: "string"; isReadonly: true } |
1809 | Property { name: "layouts"; type: "ULConditionalLayout"; isList: true; isReadonly: true } |
1810 | name: "ULLayoutsAttached" |
1811 | @@ -808,7 +1373,7 @@ |
1812 | Property { name: "item"; type: "string" } |
1813 | name: "UPMCpuUsage" |
1814 | prototype: "QQuickItem" |
1815 | - exports: ["CpuUsage 0.1"] |
1816 | + exports: ["CpuUsage 0.1", "CpuUsage 1.0"] |
1817 | Property { name: "graphModel"; type: "UPMGraphModel"; isReadonly: true; isPointer: true } |
1818 | Property { name: "period"; type: "int" } |
1819 | Property { name: "samplingInterval"; type: "int" } |
1820 | @@ -820,7 +1385,7 @@ |
1821 | Property { name: "currentValue"; type: "int"; isReadonly: true } |
1822 | name: "UPMRenderingTimes" |
1823 | prototype: "QQuickItem" |
1824 | - exports: ["RenderingTimes 0.1"] |
1825 | + exports: ["RenderingTimes 0.1", "RenderingTimes 1.0"] |
1826 | Property { name: "period"; type: "int" } |
1827 | Property { name: "samples"; type: "int" } |
1828 | Property { name: "graphModel"; type: "UPMGraphModel"; isReadonly: true; isPointer: true } |
1829 | @@ -830,5 +1395,5 @@ |
1830 | Parameter { name: "renderTime"; type: "qlonglong" } |
1831 | name: "UPMTextureFromImage" |
1832 | prototype: "QQuickItem" |
1833 | - exports: ["TextureFromImage 0.1"] |
1834 | + exports: ["TextureFromImage 0.1", "TextureFromImage 1.0"] |
1835 | Property { name: "image"; type: "QImage" } |
1836 | |
1837 | === modified file 'documentation/overview.qdoc' |
1838 | --- documentation/overview.qdoc 2014-01-23 17:13:24 +0000 |
1839 | +++ documentation/overview.qdoc 2014-04-23 10:12:48 +0000 |
1840 | @@ -31,70 +31,70 @@ |
1841 | \part Basic QML Types |
1842 | Available through: |
1843 | \code |
1844 | - import Ubuntu.Components 0.1 |
1845 | + import Ubuntu.Components 1.0 |
1846 | \endcode |
1847 | \annotatedlist ubuntu |
1848 | |
1849 | \part List Items |
1850 | Available through: |
1851 | \code |
1852 | - import Ubuntu.Components.ListItems 0.1 |
1853 | + import Ubuntu.Components.ListItems 1.0 |
1854 | \endcode |
1855 | \annotatedlist ubuntu-listitems |
1856 | |
1857 | \part Pickers |
1858 | Available through: |
1859 | \code |
1860 | - import Ubuntu.Components.Pickers 0.1 |
1861 | + import Ubuntu.Components.Pickers 1.0 |
1862 | \endcode |
1863 | \annotatedlist ubuntu-pickers |
1864 | |
1865 | \part Popovers, Sheets and Dialogs |
1866 | Available through: |
1867 | \code |
1868 | - import Ubuntu.Components.Popups 0.1 |
1869 | + import Ubuntu.Components.Popups 1.0 |
1870 | \endcode |
1871 | \annotatedlist ubuntu-popups |
1872 | |
1873 | \part Layouting |
1874 | Available through: |
1875 | \code |
1876 | - import Ubuntu.Layouts 0.1 |
1877 | + import Ubuntu.Layouts 1.0 |
1878 | \endcode |
1879 | \annotatedlist ubuntu-layouts |
1880 | |
1881 | \part Theming Elements |
1882 | Available through: |
1883 | \code |
1884 | - import Ubuntu.Components 0.1 |
1885 | + import Ubuntu.Components 1.0 |
1886 | \endcode |
1887 | \annotatedlist theming |
1888 | |
1889 | \part Resolution Independence Items |
1890 | Available through: |
1891 | \code |
1892 | - import Ubuntu.Components 0.1 |
1893 | + import Ubuntu.Components 1.0 |
1894 | \endcode |
1895 | \annotatedlist resolution-independence |
1896 | |
1897 | \part Parsing Command-Line Arguments |
1898 | Available through: |
1899 | \code |
1900 | - import Ubuntu.Components 0.1 |
1901 | + import Ubuntu.Components 1.0 |
1902 | \endcode |
1903 | \annotatedlist ubuntu-commandline |
1904 | |
1905 | \part Services |
1906 | Available through: |
1907 | \code |
1908 | - import Ubuntu.Components 0.1 |
1909 | + import Ubuntu.Components 1.0 |
1910 | \endcode |
1911 | \annotatedlist ubuntu-services |
1912 | |
1913 | \part Performance Metrics |
1914 | Available through: |
1915 | \code |
1916 | - import Ubuntu.PerformanceMetrics 0.1 |
1917 | + import Ubuntu.PerformanceMetrics 1.0 |
1918 | \endcode |
1919 | \annotatedlist ubuntu-performance-metrics |
1920 | */ |
1921 | |
1922 | === modified file 'documentation/resolution-independence.qdoc' |
1923 | --- documentation/resolution-independence.qdoc 2013-09-25 15:29:26 +0000 |
1924 | +++ documentation/resolution-independence.qdoc 2014-04-23 10:12:48 +0000 |
1925 | @@ -64,7 +64,7 @@ |
1926 | |
1927 | Example Usage: |
1928 | \code |
1929 | - import Ubuntu.Components 0.1 |
1930 | + import Ubuntu.Components 1.0 |
1931 | |
1932 | Item { |
1933 | width: units.gu(2) |
1934 | @@ -79,7 +79,7 @@ |
1935 | |
1936 | Example Usage: |
1937 | \code |
1938 | - import Ubuntu.Components 0.1 |
1939 | + import Ubuntu.Components 1.0 |
1940 | |
1941 | Rectangle { |
1942 | height: units.dp(1) |
1943 | @@ -143,7 +143,7 @@ |
1944 | |
1945 | Example Usage: |
1946 | \code |
1947 | - import Ubuntu.Components 0.1 |
1948 | + import Ubuntu.Components 1.0 |
1949 | |
1950 | Label { |
1951 | fontSize: "small" |
1952 | |
1953 | === modified file 'documentation/snippets/layouts/SimpleLayout.qml' |
1954 | --- documentation/snippets/layouts/SimpleLayout.qml 2013-06-25 14:25:43 +0000 |
1955 | +++ documentation/snippets/layouts/SimpleLayout.qml 2014-04-23 10:12:48 +0000 |
1956 | @@ -15,8 +15,8 @@ |
1957 | */ |
1958 | |
1959 | import QtQuick 2.0 |
1960 | -import Ubuntu.Components 0.1 |
1961 | -import Ubuntu.Layouts 0.1 |
1962 | +import Ubuntu.Components 1.0 |
1963 | +import Ubuntu.Layouts 1.0 |
1964 | |
1965 | Item { |
1966 | id: root |
1967 | |
1968 | === modified file 'documentation/snippets/layouts/layout1.qml' |
1969 | --- documentation/snippets/layouts/layout1.qml 2013-06-25 14:19:12 +0000 |
1970 | +++ documentation/snippets/layouts/layout1.qml 2014-04-23 10:12:48 +0000 |
1971 | @@ -16,8 +16,8 @@ |
1972 | |
1973 | //![0] |
1974 | import QtQuick 2.0 |
1975 | -import Ubuntu.Components 0.1 |
1976 | -import Ubuntu.Layouts 0.1 |
1977 | +import Ubuntu.Components 1.0 |
1978 | +import Ubuntu.Layouts 1.0 |
1979 | |
1980 | Item { |
1981 | id: root |
1982 | |
1983 | === modified file 'documentation/snippets/layouts/layout2.qml' |
1984 | --- documentation/snippets/layouts/layout2.qml 2013-06-25 14:19:12 +0000 |
1985 | +++ documentation/snippets/layouts/layout2.qml 2014-04-23 10:12:48 +0000 |
1986 | @@ -16,8 +16,8 @@ |
1987 | |
1988 | //![0] |
1989 | import QtQuick 2.0 |
1990 | -import Ubuntu.Components 0.1 |
1991 | -import Ubuntu.Layouts 0.1 |
1992 | +import Ubuntu.Components 1.0 |
1993 | +import Ubuntu.Layouts 1.0 |
1994 | |
1995 | Item { |
1996 | id: root |
1997 | |
1998 | === modified file 'documentation/snippets/layouts/layout3.qml' |
1999 | --- documentation/snippets/layouts/layout3.qml 2013-06-25 14:19:12 +0000 |
2000 | +++ documentation/snippets/layouts/layout3.qml 2014-04-23 10:12:48 +0000 |
2001 | @@ -16,8 +16,8 @@ |
2002 | |
2003 | //![0] |
2004 | import QtQuick 2.0 |
2005 | -import Ubuntu.Components 0.1 |
2006 | -import Ubuntu.Layouts 0.1 |
2007 | +import Ubuntu.Components 1.0 |
2008 | +import Ubuntu.Layouts 1.0 |
2009 | |
2010 | Item { |
2011 | id: root |
2012 | |
2013 | === modified file 'documentation/snippets/layouts/layout6.qml' |
2014 | --- documentation/snippets/layouts/layout6.qml 2013-06-25 14:19:12 +0000 |
2015 | +++ documentation/snippets/layouts/layout6.qml 2014-04-23 10:12:48 +0000 |
2016 | @@ -16,8 +16,8 @@ |
2017 | |
2018 | //![0] |
2019 | import QtQuick 2.0 |
2020 | -import Ubuntu.Components 0.1 |
2021 | -import Ubuntu.Layouts 0.1 |
2022 | +import Ubuntu.Components 1.0 |
2023 | +import Ubuntu.Layouts 1.0 |
2024 | |
2025 | Item { |
2026 | id: root |
2027 | |
2028 | === modified file 'documentation/snippets/layouts/layout7.qml' |
2029 | --- documentation/snippets/layouts/layout7.qml 2013-06-25 14:19:12 +0000 |
2030 | +++ documentation/snippets/layouts/layout7.qml 2014-04-23 10:12:48 +0000 |
2031 | @@ -16,8 +16,8 @@ |
2032 | |
2033 | //![0] |
2034 | import QtQuick 2.0 |
2035 | -import Ubuntu.Components 0.1 |
2036 | -import Ubuntu.Layouts 0.1 |
2037 | +import Ubuntu.Components 1.0 |
2038 | +import Ubuntu.Layouts 1.0 |
2039 | |
2040 | Item { |
2041 | id: root |
2042 | |
2043 | === modified file 'documentation/snippets/statesaver/ColorChanger.qml' |
2044 | --- documentation/snippets/statesaver/ColorChanger.qml 2013-09-24 06:20:26 +0000 |
2045 | +++ documentation/snippets/statesaver/ColorChanger.qml 2014-04-23 10:12:48 +0000 |
2046 | @@ -16,7 +16,7 @@ |
2047 | |
2048 | //![color-saver] |
2049 | import QtQuick 2.0 |
2050 | -import Ubuntu.Components 0.1 |
2051 | +import Ubuntu.Components 1.0 |
2052 | |
2053 | Rectangle { |
2054 | id: root |
2055 | |
2056 | === modified file 'documentation/snippets/statesaver/MultiplePropertySaver.qml' |
2057 | --- documentation/snippets/statesaver/MultiplePropertySaver.qml 2013-09-24 06:20:26 +0000 |
2058 | +++ documentation/snippets/statesaver/MultiplePropertySaver.qml 2014-04-23 10:12:48 +0000 |
2059 | @@ -16,7 +16,7 @@ |
2060 | |
2061 | //![group-saver] |
2062 | import QtQuick 2.0 |
2063 | -import Ubuntu.Components 0.1 |
2064 | +import Ubuntu.Components 1.0 |
2065 | |
2066 | Rectangle { |
2067 | id: root |
2068 | |
2069 | === modified file 'documentation/snippets/statesaver/PropertyGroupSaver.qml' |
2070 | --- documentation/snippets/statesaver/PropertyGroupSaver.qml 2013-09-24 06:20:26 +0000 |
2071 | +++ documentation/snippets/statesaver/PropertyGroupSaver.qml 2014-04-23 10:12:48 +0000 |
2072 | @@ -16,7 +16,7 @@ |
2073 | |
2074 | //![property-group-saver] |
2075 | import QtQuick 2.0 |
2076 | -import Ubuntu.Components 0.1 |
2077 | +import Ubuntu.Components 1.0 |
2078 | |
2079 | Rectangle { |
2080 | id: root |
2081 | |
2082 | === modified file 'documentation/snippets/statesaver/PropertyGroupSaver2.qml' |
2083 | --- documentation/snippets/statesaver/PropertyGroupSaver2.qml 2013-09-24 06:20:26 +0000 |
2084 | +++ documentation/snippets/statesaver/PropertyGroupSaver2.qml 2014-04-23 10:12:48 +0000 |
2085 | @@ -16,7 +16,7 @@ |
2086 | |
2087 | //![property-group-saver] |
2088 | import QtQuick 2.0 |
2089 | -import Ubuntu.Components 0.1 |
2090 | +import Ubuntu.Components 1.0 |
2091 | |
2092 | Rectangle { |
2093 | id: root |
2094 | |
2095 | === modified file 'documentation/ubuntu-components-listitems.qdoc' |
2096 | --- documentation/ubuntu-components-listitems.qdoc 2013-09-25 15:29:26 +0000 |
2097 | +++ documentation/ubuntu-components-listitems.qdoc 2014-04-23 10:12:48 +0000 |
2098 | @@ -15,6 +15,6 @@ |
2099 | */ |
2100 | |
2101 | /*! |
2102 | - \qmlmodule Ubuntu.Components.ListItems 0.1 |
2103 | + \qmlmodule Ubuntu.Components.ListItems 1.0 |
2104 | \title List Items |
2105 | */ |
2106 | |
2107 | === modified file 'documentation/ubuntu-components-pickers.qdoc' |
2108 | --- documentation/ubuntu-components-pickers.qdoc 2013-09-25 15:29:26 +0000 |
2109 | +++ documentation/ubuntu-components-pickers.qdoc 2014-04-23 10:12:48 +0000 |
2110 | @@ -15,6 +15,6 @@ |
2111 | */ |
2112 | |
2113 | /*! |
2114 | - \qmlmodule Ubuntu.Components.Pickers 0.1 |
2115 | + \qmlmodule Ubuntu.Components.Pickers 1.0 |
2116 | \title Pickers |
2117 | */ |
2118 | |
2119 | === modified file 'documentation/ubuntu-components-popups.qdoc' |
2120 | --- documentation/ubuntu-components-popups.qdoc 2013-09-25 15:29:26 +0000 |
2121 | +++ documentation/ubuntu-components-popups.qdoc 2014-04-23 10:12:48 +0000 |
2122 | @@ -15,6 +15,6 @@ |
2123 | */ |
2124 | |
2125 | /*! |
2126 | - \qmlmodule Ubuntu.Components.Popups 0.1 |
2127 | + \qmlmodule Ubuntu.Components.Popups 1.0 |
2128 | \title Popovers, Sheets and Dialogs |
2129 | */ |
2130 | |
2131 | === modified file 'documentation/ubuntu-components.qdoc' |
2132 | --- documentation/ubuntu-components.qdoc 2013-09-25 15:29:26 +0000 |
2133 | +++ documentation/ubuntu-components.qdoc 2014-04-23 10:12:48 +0000 |
2134 | @@ -15,7 +15,7 @@ |
2135 | */ |
2136 | |
2137 | /*! |
2138 | - \qmlmodule Ubuntu.Components 0.1 |
2139 | + \qmlmodule Ubuntu.Components 1.0 |
2140 | \title Basic QML Types |
2141 | \nextpage {Ubuntu User Interface Toolkit} |
2142 | */ |
2143 | |
2144 | === modified file 'documentation/ubuntu-layouts.qdoc' |
2145 | --- documentation/ubuntu-layouts.qdoc 2013-09-25 15:29:26 +0000 |
2146 | +++ documentation/ubuntu-layouts.qdoc 2014-04-23 10:12:48 +0000 |
2147 | @@ -15,6 +15,11 @@ |
2148 | */ |
2149 | |
2150 | /*! |
2151 | + \qmlmodule Ubuntu.Layouts 1.0 |
2152 | + \title Layouts |
2153 | +*/ |
2154 | + |
2155 | +/*! |
2156 | \page ubuntu-layouts.html |
2157 | \title Layouts - Introduction |
2158 | \nextpage Layouts - Terminology |
2159 | @@ -177,7 +182,7 @@ |
2160 | \section2 Import |
2161 | First of all, in order to use the layouting abilities, you need to import Ubuntu.Layouts. |
2162 | \code |
2163 | - import Ubuntu.Layouts 0.1 |
2164 | + import Ubuntu.Layouts 1.0 |
2165 | \endcode |
2166 | |
2167 | This layout will have the red button anchored to the parent's left, top and bottom, having |
2168 | |
2169 | === modified file 'examples/calculator/calculator.qml' |
2170 | --- examples/calculator/calculator.qml 2013-07-03 06:41:54 +0000 |
2171 | +++ examples/calculator/calculator.qml 2014-04-23 10:12:48 +0000 |
2172 | @@ -17,8 +17,8 @@ |
2173 | */ |
2174 | |
2175 | import QtQuick 2.0 |
2176 | -import Ubuntu.Components 0.1 |
2177 | -import Ubuntu.Layouts 0.1 |
2178 | +import Ubuntu.Components 1.0 |
2179 | +import Ubuntu.Layouts 1.0 |
2180 | import "components" |
2181 | import "components/calculator.js" as Calculator |
2182 | |
2183 | |
2184 | === modified file 'examples/calculator/components/DefaultLayout.qml' |
2185 | --- examples/calculator/components/DefaultLayout.qml 2013-07-02 14:42:23 +0000 |
2186 | +++ examples/calculator/components/DefaultLayout.qml 2014-04-23 10:12:48 +0000 |
2187 | @@ -17,8 +17,8 @@ |
2188 | */ |
2189 | |
2190 | import QtQuick 2.0 |
2191 | -import Ubuntu.Components 0.1 |
2192 | -import Ubuntu.Layouts 0.1 |
2193 | +import Ubuntu.Components 1.0 |
2194 | +import Ubuntu.Layouts 1.0 |
2195 | |
2196 | Item { |
2197 | id: buttonGrid |
2198 | |
2199 | === modified file 'examples/calculator/components/Functions.qml' |
2200 | --- examples/calculator/components/Functions.qml 2013-07-02 14:42:23 +0000 |
2201 | +++ examples/calculator/components/Functions.qml 2014-04-23 10:12:48 +0000 |
2202 | @@ -17,8 +17,8 @@ |
2203 | */ |
2204 | |
2205 | import QtQuick 2.0 |
2206 | -import Ubuntu.Components 0.1 |
2207 | -import Ubuntu.Layouts 0.1 |
2208 | +import Ubuntu.Components 1.0 |
2209 | +import Ubuntu.Layouts 1.0 |
2210 | |
2211 | Grid { |
2212 | id: buttonGrid |
2213 | |
2214 | === modified file 'examples/jokes/jokes.qml' |
2215 | --- examples/jokes/jokes.qml 2013-07-04 21:36:23 +0000 |
2216 | +++ examples/jokes/jokes.qml 2014-04-23 10:12:48 +0000 |
2217 | @@ -16,7 +16,7 @@ |
2218 | */ |
2219 | |
2220 | import QtQuick 2.0 |
2221 | -import Ubuntu.Components 0.1 |
2222 | +import Ubuntu.Components 1.0 |
2223 | import QtMultimedia 5.0 |
2224 | |
2225 | /*! |
2226 | |
2227 | === modified file 'examples/locale/locale.qml' |
2228 | --- examples/locale/locale.qml 2013-07-04 21:36:23 +0000 |
2229 | +++ examples/locale/locale.qml 2014-04-23 10:12:48 +0000 |
2230 | @@ -16,8 +16,8 @@ |
2231 | */ |
2232 | |
2233 | import QtQuick 2.0 |
2234 | -import Ubuntu.Components 0.1 |
2235 | -import Ubuntu.Components.ListItems 0.1 as ListItem |
2236 | +import Ubuntu.Components 1.0 |
2237 | +import Ubuntu.Components.ListItems 1.0 as ListItem |
2238 | |
2239 | /*! |
2240 | \brief An application to test locales on the device |
2241 | |
2242 | === modified file 'examples/ubuntu-ui-toolkit-gallery/Label.qml' |
2243 | --- examples/ubuntu-ui-toolkit-gallery/Label.qml 2013-11-28 11:11:55 +0000 |
2244 | +++ examples/ubuntu-ui-toolkit-gallery/Label.qml 2014-04-23 10:12:48 +0000 |
2245 | @@ -15,7 +15,7 @@ |
2246 | */ |
2247 | |
2248 | import QtQuick 2.0 |
2249 | -import Ubuntu.Components 0.1 |
2250 | +import Ubuntu.Components 1.0 |
2251 | |
2252 | Template { |
2253 | objectName: "labelsTemplate" |
2254 | |
2255 | === modified file 'examples/unit-converter/unit-converter.qml' |
2256 | --- examples/unit-converter/unit-converter.qml 2013-05-06 16:24:50 +0000 |
2257 | +++ examples/unit-converter/unit-converter.qml 2014-04-23 10:12:48 +0000 |
2258 | @@ -15,7 +15,7 @@ |
2259 | */ |
2260 | |
2261 | import QtQuick 2.0 |
2262 | -import Ubuntu.Components 0.1 |
2263 | +import Ubuntu.Components 1.0 |
2264 | import "conversion.js" as Converter |
2265 | |
2266 | /*! |
2267 | |
2268 | === modified file 'manual-tests/button.qml' |
2269 | --- manual-tests/button.qml 2012-11-14 07:40:05 +0000 |
2270 | +++ manual-tests/button.qml 2014-04-23 10:12:48 +0000 |
2271 | @@ -15,7 +15,7 @@ |
2272 | */ |
2273 | |
2274 | import QtQuick 2.0 |
2275 | -import Ubuntu.Components 0.1 |
2276 | +import Ubuntu.Components 1.0 |
2277 | |
2278 | Button { |
2279 | id: button |
2280 | |
2281 | === modified file 'modules/Ubuntu/Components/AbstractButton.qml' |
2282 | --- modules/Ubuntu/Components/AbstractButton.qml 2013-11-06 22:52:15 +0000 |
2283 | +++ modules/Ubuntu/Components/AbstractButton.qml 2014-04-23 10:12:48 +0000 |
2284 | @@ -19,7 +19,7 @@ |
2285 | |
2286 | /*! |
2287 | \qmlabstract AbstractButton |
2288 | - \inqmlmodule Ubuntu.Components 0.1 |
2289 | + \inqmlmodule Ubuntu.Components 1.0 |
2290 | \ingroup ubuntu |
2291 | \brief The AbstractButton class defines the behavior of the button. |
2292 | |
2293 | |
2294 | === modified file 'modules/Ubuntu/Components/Action.qml' |
2295 | --- modules/Ubuntu/Components/Action.qml 2014-02-24 18:24:59 +0000 |
2296 | +++ modules/Ubuntu/Components/Action.qml 2014-04-23 10:12:48 +0000 |
2297 | @@ -19,7 +19,7 @@ |
2298 | |
2299 | /*! |
2300 | \qmltype Action |
2301 | - \inqmlmodule Ubuntu.Components 0.1 |
2302 | + \inqmlmodule Ubuntu.Components 1.0 |
2303 | \ingroup ubuntu |
2304 | \brief Describe an action that can be re-used in, for example a \l Button |
2305 | |
2306 | |
2307 | === modified file 'modules/Ubuntu/Components/ActionItem.qml' |
2308 | --- modules/Ubuntu/Components/ActionItem.qml 2014-02-24 18:24:59 +0000 |
2309 | +++ modules/Ubuntu/Components/ActionItem.qml 2014-04-23 10:12:48 +0000 |
2310 | @@ -18,7 +18,7 @@ |
2311 | |
2312 | /*! |
2313 | \qmlabstract ActionItem |
2314 | - \inqmlmodule Ubuntu.Components 0.1 |
2315 | + \inqmlmodule Ubuntu.Components 1.0 |
2316 | \ingroup ubuntu |
2317 | \brief A visual representation of an Action. The API of ActionItem is a |
2318 | copy of the API of \l Action, with additional properties to define |
2319 | |
2320 | === modified file 'modules/Ubuntu/Components/ActionList.qml' |
2321 | --- modules/Ubuntu/Components/ActionList.qml 2013-08-28 10:41:42 +0000 |
2322 | +++ modules/Ubuntu/Components/ActionList.qml 2014-04-23 10:12:48 +0000 |
2323 | @@ -18,7 +18,7 @@ |
2324 | |
2325 | /*! |
2326 | \qmltype ActionList |
2327 | - \inqmlmodule Ubuntu.Components 0.1 |
2328 | + \inqmlmodule Ubuntu.Components 1.0 |
2329 | \ingroup ubuntu |
2330 | \brief List of \l Action items |
2331 | */ |
2332 | |
2333 | === modified file 'modules/Ubuntu/Components/ActivityIndicator.qml' |
2334 | --- modules/Ubuntu/Components/ActivityIndicator.qml 2013-06-27 15:20:12 +0000 |
2335 | +++ modules/Ubuntu/Components/ActivityIndicator.qml 2014-04-23 10:12:48 +0000 |
2336 | @@ -18,7 +18,7 @@ |
2337 | |
2338 | /*! |
2339 | \qmltype ActivityIndicator |
2340 | - \inqmlmodule Ubuntu.Components 0.1 |
2341 | + \inqmlmodule Ubuntu.Components 1.0 |
2342 | \ingroup ubuntu |
2343 | \brief The ActivityIndicator component visually indicates that a task of |
2344 | unknown duration is in progress, e.g. busy indication, connection in progress |
2345 | |
2346 | === modified file 'modules/Ubuntu/Components/AnimatedItem.qml' |
2347 | --- modules/Ubuntu/Components/AnimatedItem.qml 2013-06-26 19:25:09 +0000 |
2348 | +++ modules/Ubuntu/Components/AnimatedItem.qml 2014-04-23 10:12:48 +0000 |
2349 | @@ -16,7 +16,7 @@ |
2350 | |
2351 | /*! |
2352 | \qmltype AnimatedItem |
2353 | - \inqmlmodule Ubuntu.Components 0.1 |
2354 | + \inqmlmodule Ubuntu.Components 1.0 |
2355 | \ingroup ubuntu |
2356 | \brief The AnimatedItem drives the animated components behavior inside a Flickable. |
2357 | Reports whether the component whos parent is a Flickable is in the visible area or not, |
2358 | |
2359 | === modified file 'modules/Ubuntu/Components/Button.qml' |
2360 | --- modules/Ubuntu/Components/Button.qml 2013-11-06 22:52:15 +0000 |
2361 | +++ modules/Ubuntu/Components/Button.qml 2014-04-23 10:12:48 +0000 |
2362 | @@ -18,7 +18,7 @@ |
2363 | |
2364 | /*! |
2365 | \qmltype Button |
2366 | - \inqmlmodule Ubuntu.Components 0.1 |
2367 | + \inqmlmodule Ubuntu.Components 1.0 |
2368 | \ingroup ubuntu |
2369 | \brief Standard Ubuntu button. |
2370 | |
2371 | |
2372 | === modified file 'modules/Ubuntu/Components/CheckBox.qml' |
2373 | --- modules/Ubuntu/Components/CheckBox.qml 2013-10-01 14:46:11 +0000 |
2374 | +++ modules/Ubuntu/Components/CheckBox.qml 2014-04-23 10:12:48 +0000 |
2375 | @@ -18,7 +18,7 @@ |
2376 | |
2377 | /*! |
2378 | \qmltype CheckBox |
2379 | - \inqmlmodule Ubuntu.Components 0.1 |
2380 | + \inqmlmodule Ubuntu.Components 1.0 |
2381 | \ingroup ubuntu |
2382 | \brief CheckBox is a component with two states, checked or unchecked. It can |
2383 | be used to set boolean options. The behavior is the same as \l Switch, the |
2384 | |
2385 | === modified file 'modules/Ubuntu/Components/CrossFadeImage.qml' |
2386 | --- modules/Ubuntu/Components/CrossFadeImage.qml 2013-10-08 20:10:59 +0000 |
2387 | +++ modules/Ubuntu/Components/CrossFadeImage.qml 2014-04-23 10:12:48 +0000 |
2388 | @@ -19,7 +19,7 @@ |
2389 | // we need to use named imports otherwise namespace collision is reported |
2390 | // by the QML engine. As workaround, we use Ubuntu named import. |
2391 | // Bug to watch: https://bugreports.qt-project.org/browse/QTBUG-27645 |
2392 | -import Ubuntu.Components 0.1 as Ubuntu |
2393 | +import Ubuntu.Components 1.0 as Ubuntu |
2394 | |
2395 | /*! |
2396 | \qmltype CrossFadeImage |
2397 | @@ -28,7 +28,7 @@ |
2398 | |
2399 | \qml |
2400 | import QtQuick 2.0 |
2401 | - import Ubuntu.Components 0.1 |
2402 | + import Ubuntu.Components 1.0 |
2403 | |
2404 | CrossFadeImage { |
2405 | width: units.gu(100) |
2406 | |
2407 | === modified file 'modules/Ubuntu/Components/Header.qml' |
2408 | --- modules/Ubuntu/Components/Header.qml 2014-03-12 09:36:00 +0000 |
2409 | +++ modules/Ubuntu/Components/Header.qml 2014-04-23 10:12:48 +0000 |
2410 | @@ -15,16 +15,12 @@ |
2411 | */ |
2412 | |
2413 | import QtQuick 2.0 |
2414 | -// FIXME: When a module contains QML, C++ and JavaScript elements exported, |
2415 | -// we need to use named imports otherwise namespace collision is reported |
2416 | -// by the QML engine. As workaround, we use Ubuntu named import. |
2417 | -// Bug to watch: https://bugreports.qt-project.org/browse/QTBUG-27645 |
2418 | -import Ubuntu.Components 0.1 as Ubuntu |
2419 | +import Ubuntu.Components 1.0 |
2420 | |
2421 | /*! |
2422 | \internal |
2423 | \qmltype Header |
2424 | - \inqmlmodule Ubuntu.Components 0.1 |
2425 | + \inqmlmodule Ubuntu.Components 1.0 |
2426 | \ingroup ubuntu |
2427 | */ |
2428 | StyledItem { |
2429 | @@ -44,7 +40,7 @@ |
2430 | Behavior on y { |
2431 | enabled: animate && !(header.flickable && header.flickable.moving) |
2432 | SmoothedAnimation { |
2433 | - duration: Ubuntu.UbuntuAnimation.BriskDuration |
2434 | + duration: UbuntuAnimation.BriskDuration |
2435 | } |
2436 | } |
2437 | |
2438 | |
2439 | === modified file 'modules/Ubuntu/Components/Icon.qml' |
2440 | --- modules/Ubuntu/Components/Icon.qml 2013-11-06 22:52:15 +0000 |
2441 | +++ modules/Ubuntu/Components/Icon.qml 2014-04-23 10:12:48 +0000 |
2442 | @@ -18,7 +18,7 @@ |
2443 | |
2444 | /*! |
2445 | \qmltype Icon |
2446 | - \inqmlmodule Ubuntu.Components 0.1 |
2447 | + \inqmlmodule Ubuntu.Components 1.0 |
2448 | \ingroup ubuntu |
2449 | \brief The Icon component displays an icon from the icon theme. |
2450 | |
2451 | |
2452 | === added file 'modules/Ubuntu/Components/InputHandler.qml' |
2453 | --- modules/Ubuntu/Components/InputHandler.qml 1970-01-01 00:00:00 +0000 |
2454 | +++ modules/Ubuntu/Components/InputHandler.qml 2014-04-23 10:12:48 +0000 |
2455 | @@ -0,0 +1,305 @@ |
2456 | +/* |
2457 | + * Copyright 2014 Canonical Ltd. |
2458 | + * |
2459 | + * This program is free software; you can redistribute it and/or modify |
2460 | + * it under the terms of the GNU Lesser General Public License as published by |
2461 | + * the Free Software Foundation; version 3. |
2462 | + * |
2463 | + * This program is distributed in the hope that it will be useful, |
2464 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
2465 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
2466 | + * GNU Lesser General Public License for more details. |
2467 | + * |
2468 | + * You should have received a copy of the GNU Lesser General Public License |
2469 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
2470 | + */ |
2471 | + |
2472 | +import QtQuick 2.0 |
2473 | +import Ubuntu.Components 0.1 as Ubuntu |
2474 | + |
2475 | +/* |
2476 | + This component is a unified text selection and scrolling handler for both |
2477 | + TextField and TextArea components. |
2478 | + */ |
2479 | + |
2480 | +Item { |
2481 | + id: inputHandler |
2482 | + objectName: "input_handler" |
2483 | + // the root control |
2484 | + property Item main |
2485 | + // the input instance |
2486 | + property Item input |
2487 | + // the Flickable holdiong the input instance |
2488 | + property Flickable flickable |
2489 | + // selection cursor mode |
2490 | + property bool selectionCursor: input && input.selectedText !== "" |
2491 | + // True if mouse handlig is enabled, false if flicking mode is enabled |
2492 | + readonly property bool mouseHandlingEnabled: !flickable.interactive |
2493 | + // property holding the selection mode timeout |
2494 | + property int selectionModeTimeout: 200 |
2495 | + |
2496 | + // signal triggered when popup shoudl be opened |
2497 | + signal pressAndHold(int pos) |
2498 | + |
2499 | + function activateInput() { |
2500 | + if (!input.activeFocus) { |
2501 | + input.forceActiveFocus(); |
2502 | + } else { |
2503 | + showInputPanel(); |
2504 | + } |
2505 | + } |
2506 | + |
2507 | + function showInputPanel() { |
2508 | + if (!Qt.inputMethod.visible) { |
2509 | + Qt.inputMethod.show(); |
2510 | + } |
2511 | + textChanged = false; |
2512 | + } |
2513 | + function hideInputPanel() { |
2514 | + Qt.inputMethod.hide(); |
2515 | + // emit accepted signal if changed |
2516 | + if (textChanged && input.hasOwnProperty("accepted")) { |
2517 | + input.accepted(); |
2518 | + } |
2519 | + } |
2520 | + |
2521 | + // internal properties/functions |
2522 | + readonly property bool singleLine: input && input.hasOwnProperty("validator") |
2523 | + property var flickableList: new Array() |
2524 | + property bool textChanged: false |
2525 | + property int pressedPosition: -1 |
2526 | + // move properties |
2527 | + property int moveStarts: -1 |
2528 | + property int moveEnds: -1 |
2529 | + // set scroller to the first Flickable that scrolls the input |
2530 | + // this can be the internal Flickable if the full autosize is disabled |
2531 | + // or one of the input's parent Flickable |
2532 | + readonly property bool scrollingDisabled: main && main.hasOwnProperty("autoSize") ? |
2533 | + (main.autoSize && (main.maximumLineCount <= 0)) : false |
2534 | + onScrollingDisabledChanged: if (state == "") flickable.interactive = !scrollingDisabled |
2535 | + readonly property Flickable grandScroller: firstFlickableParent(main) |
2536 | + readonly property Flickable scroller: (scrollingDisabled && grandScroller) ? grandScroller : flickable |
2537 | + |
2538 | + // ensures the text cusrorRectangle is always in the internal Flickable's visible area |
2539 | + function ensureVisible() |
2540 | + { |
2541 | + var rect = input.cursorRectangle; |
2542 | + if (flickable.moving || flickable.flicking) |
2543 | + return; |
2544 | + if (flickable.contentX >= rect.x) |
2545 | + flickable.contentX = rect.x; |
2546 | + else if (flickable.contentX + flickable.width <= rect.x + rect.width) |
2547 | + flickable.contentX = rect.x + rect.width - flickable.width; |
2548 | + if (flickable.contentY >= rect.y) |
2549 | + flickable.contentY = rect.y; |
2550 | + else if (flickable.contentY + flickable.height <= rect.y + rect.height) |
2551 | + flickable.contentY = rect.y + rect.height - flickable.height; |
2552 | + } |
2553 | + // returns the mouse position |
2554 | + function mousePosition(mouse) { |
2555 | + return singleLine ? input.positionAt(mouse.x) : input.positionAt(mouse.x, mouse.y); |
2556 | + } |
2557 | + // checks whether the position is in the selected text |
2558 | + function positionInSelection(pos) { |
2559 | + return (input.selectionStart !== input.selectionEnd) |
2560 | + && (pos >= Math.min(input.selectionStart, input.selectionEnd)) |
2561 | + && (pos <= Math.max(input.selectionStart, input.selectionEnd)); |
2562 | + } |
2563 | + |
2564 | + // check whether the mouse is inside a selected text area |
2565 | + function mouseInSelection(mouse) { |
2566 | + var pos = mousePosition(mouse); |
2567 | + return positionInSelection(pos); |
2568 | + } |
2569 | + // selects text |
2570 | + function selectText(mouse) { |
2571 | + moveEnds = mousePosition(mouse); |
2572 | + if (moveStarts < 0) { |
2573 | + moveStarts = moveEnds; |
2574 | + } |
2575 | + input.select(moveStarts, moveEnds); |
2576 | + } |
2577 | + // returns the first Flickable parent of a given item |
2578 | + function firstFlickableParent(item) { |
2579 | + var p = item ? item.parent : null; |
2580 | + while (p && !p.hasOwnProperty("flicking")) { |
2581 | + p = p.parent; |
2582 | + } |
2583 | + return p; |
2584 | + } |
2585 | + // focuses the input if not yet focused, and shows the context menu |
2586 | + function openContextMenu(mouse) { |
2587 | + var pos = mousePosition(mouse); |
2588 | + if (!main.focus || !mouseInSelection(mouse)) { |
2589 | + activateInput(); |
2590 | + input.cursorPosition = pressedPosition = mousePosition(mouse); |
2591 | + } |
2592 | + // open context menu at the cursor position |
2593 | + inputHandler.pressAndHold(input.cursorPosition); |
2594 | + // if opened with left press (touch falls into this criteria as well), we need to set state to inactive |
2595 | + // so the mouse moves won't result in selected text loss/change |
2596 | + if (mouse.button === Qt.LeftButton) { |
2597 | + state = "inactive"; |
2598 | + } |
2599 | + } |
2600 | + |
2601 | + // disables interactive Flickable parents, stops at the first non-interactive flickable. |
2602 | + function toggleFlickablesInteractive(turnOn) { |
2603 | + var p; |
2604 | + if (!turnOn) { |
2605 | + // handle the scroller separately |
2606 | + p = firstFlickableParent(scroller) |
2607 | + while (p) { |
2608 | + if (p.interactive) { |
2609 | + flickableList.push(p); |
2610 | + p.interactive = false; |
2611 | + } else { |
2612 | + break; |
2613 | + } |
2614 | + p = firstFlickableParent(p); |
2615 | + } |
2616 | + } else { |
2617 | + while (flickableList.length > 0) { |
2618 | + p = flickableList.pop(); |
2619 | + p.interactive = true; |
2620 | + } |
2621 | + } |
2622 | + } |
2623 | + |
2624 | + Component.onCompleted: { |
2625 | + state = (main.focus) ? "" : "inactive"; |
2626 | + } |
2627 | + |
2628 | + // states |
2629 | + states: [ |
2630 | + // override default state to turn on the saved Flickable interactive mode |
2631 | + State { |
2632 | + name: "" |
2633 | + StateChangeScript { |
2634 | + // restore interactive for all Flickable parents |
2635 | + script: toggleFlickablesInteractive(true); |
2636 | + } |
2637 | + }, |
2638 | + State { |
2639 | + name: "inactive" |
2640 | + // we do not disable scroller here as in case the internal scrolling |
2641 | + // is disabled (scrollingDisabled = true) the outer scroller (grandScroller) |
2642 | + // would be blocked as well, which we don't want to |
2643 | + PropertyChanges { |
2644 | + target: flickable |
2645 | + interactive: false |
2646 | + } |
2647 | + }, |
2648 | + State { |
2649 | + name: "scrolling" |
2650 | + StateChangeScript { |
2651 | + script: { |
2652 | + // stop scrolling all the parents |
2653 | + toggleFlickablesInteractive(false); |
2654 | + // stop selection timeout |
2655 | + selectionTimeout.running = false; |
2656 | + } |
2657 | + } |
2658 | + }, |
2659 | + State { |
2660 | + name: "select" |
2661 | + // during select state all the flickables are blocked (interactive = false) |
2662 | + // we can use scroller here as we need to disable the outer scroller too! |
2663 | + PropertyChanges { |
2664 | + target: scroller |
2665 | + interactive: false |
2666 | + } |
2667 | + StateChangeScript { |
2668 | + script: { |
2669 | + // turn off interactive for all parent flickables |
2670 | + toggleFlickablesInteractive(false); |
2671 | + if (!positionInSelection(pressedPosition)) { |
2672 | + input.cursorPosition = pressedPosition; |
2673 | + } |
2674 | + } |
2675 | + } |
2676 | + } |
2677 | + ] |
2678 | + |
2679 | + // brings the state back to default when the component looses focuse |
2680 | + Connections { |
2681 | + target: main |
2682 | + ignoreUnknownSignals: true |
2683 | + onFocusChanged: { |
2684 | + state = (main.focus) ? "" : "inactive"; |
2685 | + } |
2686 | + } |
2687 | + |
2688 | + // input specific signals |
2689 | + Connections { |
2690 | + target: input |
2691 | + onCursorRectangleChanged: if (!scrollingDisabled) ensureVisible() |
2692 | + onTextChanged: textChanged = true; |
2693 | + } |
2694 | + |
2695 | + // inner or outer Flickable controlling |
2696 | + Connections { |
2697 | + target: scroller |
2698 | + // turn scrolling state on |
2699 | + onFlickStarted: if (!scrollingDisabled) state = "scrolling" |
2700 | + onMovementStarted: if (!scrollingDisabled) state = "scrolling" |
2701 | + // reset to default state |
2702 | + onMovementEnded: state = "" |
2703 | + } |
2704 | + |
2705 | + // switches the state to selection |
2706 | + Timer { |
2707 | + id: selectionTimeout |
2708 | + interval: selectionModeTimeout |
2709 | + onTriggered: { |
2710 | + if (scroller && !scroller.moving) { |
2711 | + state = "select"; |
2712 | + } |
2713 | + } |
2714 | + } |
2715 | + |
2716 | + // Mouse handling |
2717 | + Ubuntu.Mouse.forwardTo: [main] |
2718 | + Ubuntu.Mouse.onPressed: { |
2719 | + if (input.activeFocus) { |
2720 | + // start selection timeout |
2721 | + selectionTimeout.restart(); |
2722 | + } |
2723 | + // remember pressed position as we need it when entering into selection state |
2724 | + pressedPosition = mousePosition(mouse); |
2725 | + // consume event so it does not get forwarded to the input |
2726 | + mouse.accepted = true; |
2727 | + } |
2728 | + Ubuntu.Mouse.onReleased: { |
2729 | + if (!main.focus && !main.activeFocusOnPress) { |
2730 | + return; |
2731 | + } |
2732 | + |
2733 | + activateInput(); |
2734 | + // stop text selection timer |
2735 | + selectionTimeout.running = false; |
2736 | + if (state === "") { |
2737 | + input.cursorPosition = mousePosition(mouse); |
2738 | + } |
2739 | + moveStarts = moveEnds = -1; |
2740 | + state = ""; |
2741 | + } |
2742 | + Ubuntu.Mouse.onPositionChanged: { |
2743 | + // leave if not focus, not the left button or not in select state |
2744 | + if (!input.activeFocus || (mouse.button !== Qt.LeftButton) || (state !== "select") || !main.selectByMouse) { |
2745 | + return; |
2746 | + } |
2747 | + // stop text selection timer |
2748 | + selectionTimeout.running = false; |
2749 | + selectText(mouse); |
2750 | + } |
2751 | + Ubuntu.Mouse.onDoubleClicked: { |
2752 | + if (main.selectByMouse) { |
2753 | + input.selectWord(); |
2754 | + // turn selection state temporarily so the selection is not cleared on release |
2755 | + state = "selection"; |
2756 | + } |
2757 | + } |
2758 | + Ubuntu.Mouse.onPressAndHold: openContextMenu(mouse) |
2759 | + |
2760 | +} |
2761 | |
2762 | === modified file 'modules/Ubuntu/Components/Label.qml' |
2763 | --- modules/Ubuntu/Components/Label.qml 2014-01-23 19:01:47 +0000 |
2764 | +++ modules/Ubuntu/Components/Label.qml 2014-04-23 10:12:48 +0000 |
2765 | @@ -18,7 +18,7 @@ |
2766 | |
2767 | /*! |
2768 | \qmltype Label |
2769 | - \inqmlmodule Ubuntu.Components 0.1 |
2770 | + \inqmlmodule Ubuntu.Components 1.0 |
2771 | \ingroup ubuntu |
2772 | \brief Text with Ubuntu styling. |
2773 | |
2774 | |
2775 | === modified file 'modules/Ubuntu/Components/ListItems/Base.qml' |
2776 | --- modules/Ubuntu/Components/ListItems/Base.qml 2014-02-13 10:27:14 +0000 |
2777 | +++ modules/Ubuntu/Components/ListItems/Base.qml 2014-04-23 10:12:48 +0000 |
2778 | @@ -15,11 +15,11 @@ |
2779 | */ |
2780 | |
2781 | import QtQuick 2.0 |
2782 | -import Ubuntu.Components 0.1 |
2783 | +import Ubuntu.Components 1.0 |
2784 | |
2785 | /*! |
2786 | \qmltype Base |
2787 | - \inqmlmodule Ubuntu.Components.ListItems 0.1 |
2788 | + \inqmlmodule Ubuntu.Components.ListItems 1.0 |
2789 | \ingroup ubuntu-listitems |
2790 | \brief Parent class of various list item classes that can have |
2791 | an icon and a progression symbol. |
2792 | |
2793 | === modified file 'modules/Ubuntu/Components/ListItems/Caption.qml' |
2794 | --- modules/Ubuntu/Components/ListItems/Caption.qml 2013-07-04 22:12:37 +0000 |
2795 | +++ modules/Ubuntu/Components/ListItems/Caption.qml 2014-04-23 10:12:48 +0000 |
2796 | @@ -15,17 +15,17 @@ |
2797 | */ |
2798 | |
2799 | import QtQuick 2.0 |
2800 | -import Ubuntu.Components 0.1 |
2801 | +import Ubuntu.Components 1.0 |
2802 | |
2803 | /*! |
2804 | \qmltype Caption |
2805 | - \inqmlmodule Ubuntu.Components.ListItems 0.1 |
2806 | + \inqmlmodule Ubuntu.Components.ListItems 1.0 |
2807 | \ingroup ubuntu-listitems |
2808 | \brief List item that shows a piece of text. |
2809 | |
2810 | Examples: |
2811 | \qml |
2812 | - import Ubuntu.Components.ListItems 0.1 as ListItem |
2813 | + import Ubuntu.Components.ListItems 1.0 as ListItem |
2814 | Column { |
2815 | ListItem.Standard { |
2816 | text: "Default list item." |
2817 | |
2818 | === modified file 'modules/Ubuntu/Components/ListItems/Divider.qml' |
2819 | --- modules/Ubuntu/Components/ListItems/Divider.qml 2012-10-19 01:09:07 +0000 |
2820 | +++ modules/Ubuntu/Components/ListItems/Divider.qml 2014-04-23 10:12:48 +0000 |
2821 | @@ -18,7 +18,7 @@ |
2822 | |
2823 | /*! |
2824 | \qmltype Divider |
2825 | - \inqmlmodule Ubuntu.Components.ListItems 0.1 |
2826 | + \inqmlmodule Ubuntu.Components.ListItems 1.0 |
2827 | \ingroup ubuntu-listitems |
2828 | \brief Divider to break up list items into groups. |
2829 | |
2830 | |
2831 | === modified file 'modules/Ubuntu/Components/ListItems/Empty.qml' |
2832 | --- modules/Ubuntu/Components/ListItems/Empty.qml 2014-02-04 14:39:53 +0000 |
2833 | +++ modules/Ubuntu/Components/ListItems/Empty.qml 2014-04-23 10:12:48 +0000 |
2834 | @@ -15,11 +15,11 @@ |
2835 | */ |
2836 | |
2837 | import QtQuick 2.0 |
2838 | -import Ubuntu.Components 0.1 |
2839 | +import Ubuntu.Components 1.0 |
2840 | |
2841 | /*! |
2842 | \qmltype Empty |
2843 | - \inqmlmodule Ubuntu.Components.ListItems 0.1 |
2844 | + \inqmlmodule Ubuntu.Components.ListItems 1.0 |
2845 | \ingroup ubuntu-listitems |
2846 | \brief A list item with no contents. |
2847 | The Empty class can be used for generic list items containing other |
2848 | @@ -34,8 +34,8 @@ |
2849 | |
2850 | Examples: |
2851 | \qml |
2852 | - import Ubuntu.Components 0.1 |
2853 | - import Ubuntu.Components.ListItems 0.1 as ListItem |
2854 | + import Ubuntu.Components 1.0 |
2855 | + import Ubuntu.Components.ListItems 1.0 as ListItem |
2856 | |
2857 | Item { |
2858 | Model { |
2859 | |
2860 | === modified file 'modules/Ubuntu/Components/ListItems/Expandable.qml' |
2861 | --- modules/Ubuntu/Components/ListItems/Expandable.qml 2014-03-17 16:35:27 +0000 |
2862 | +++ modules/Ubuntu/Components/ListItems/Expandable.qml 2014-04-23 10:12:48 +0000 |
2863 | @@ -14,11 +14,11 @@ |
2864 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
2865 | */ |
2866 | import QtQuick 2.0 |
2867 | -import Ubuntu.Components 0.1 |
2868 | +import Ubuntu.Components 1.0 |
2869 | |
2870 | /*! |
2871 | \qmltype Expandable |
2872 | - \inqmlmodule Ubuntu.Components.ListItems 0.1 |
2873 | + \inqmlmodule Ubuntu.Components.ListItems 1.0 |
2874 | \ingroup ubuntu-listitems |
2875 | \brief An expandable list item with no contents. |
2876 | The Expandable class can be used for generic list items containing other |
2877 | @@ -35,8 +35,8 @@ |
2878 | |
2879 | Examples: |
2880 | \qml |
2881 | - import Ubuntu.Components 0.1 |
2882 | - import Ubuntu.Components.ListItems 0.1 as ListItem |
2883 | + import Ubuntu.Components 1.0 |
2884 | + import Ubuntu.Components.ListItems 1.0 as ListItem |
2885 | |
2886 | Item { |
2887 | ListModel { |
2888 | |
2889 | === modified file 'modules/Ubuntu/Components/ListItems/ExpandablesColumn.qml' |
2890 | --- modules/Ubuntu/Components/ListItems/ExpandablesColumn.qml 2014-02-26 09:46:30 +0000 |
2891 | +++ modules/Ubuntu/Components/ListItems/ExpandablesColumn.qml 2014-04-23 10:12:48 +0000 |
2892 | @@ -15,11 +15,11 @@ |
2893 | */ |
2894 | |
2895 | import QtQuick 2.0 |
2896 | -import Ubuntu.Components 0.1 |
2897 | +import Ubuntu.Components 1.0 |
2898 | |
2899 | /*! |
2900 | \qmltype ExpandablesColumn |
2901 | - \inqmlmodule Ubuntu.Components.ListItems 0.1 |
2902 | + \inqmlmodule Ubuntu.Components.ListItems 1.0 |
2903 | \ingroup ubuntu-listitems |
2904 | \brief A column to be used together with the \l Expandable item. |
2905 | This lays out its content just like a regular Column inside a Flickable but |
2906 | @@ -29,8 +29,8 @@ |
2907 | |
2908 | Examples: |
2909 | \qml |
2910 | - import Ubuntu.Components 0.1 |
2911 | - import Ubuntu.Components.ListItems 0.1 as ListItem |
2912 | + import Ubuntu.Components 1.0 |
2913 | + import Ubuntu.Components.ListItems 1.0 as ListItem |
2914 | |
2915 | ListItem.ExpandablesColumn { |
2916 | anchors { left: parent.left; right: parent.right } |
2917 | |
2918 | === modified file 'modules/Ubuntu/Components/ListItems/Header.qml' |
2919 | --- modules/Ubuntu/Components/ListItems/Header.qml 2013-02-06 11:40:31 +0000 |
2920 | +++ modules/Ubuntu/Components/ListItems/Header.qml 2014-04-23 10:12:48 +0000 |
2921 | @@ -18,13 +18,13 @@ |
2922 | |
2923 | /*! |
2924 | \qmltype Header |
2925 | - \inqmlmodule Ubuntu.Components.ListItems 0.1 |
2926 | + \inqmlmodule Ubuntu.Components.ListItems 1.0 |
2927 | \ingroup ubuntu-listitems |
2928 | \brief Header for grouping list items together |
2929 | |
2930 | Examples: |
2931 | \qml |
2932 | - import Ubuntu.Components.ListItems 0.1 as ListItem |
2933 | + import Ubuntu.Components.ListItems 1.0 as ListItem |
2934 | Column { |
2935 | ListItem.Header { text: "Title" } |
2936 | ListItem.Standard { text: "Item one" } |
2937 | |
2938 | === modified file 'modules/Ubuntu/Components/ListItems/IconVisual.qml' |
2939 | --- modules/Ubuntu/Components/ListItems/IconVisual.qml 2013-11-06 22:52:15 +0000 |
2940 | +++ modules/Ubuntu/Components/ListItems/IconVisual.qml 2014-04-23 10:12:48 +0000 |
2941 | @@ -15,7 +15,7 @@ |
2942 | */ |
2943 | |
2944 | import QtQuick 2.0 |
2945 | -import Ubuntu.Components 0.1 |
2946 | +import Ubuntu.Components 1.0 |
2947 | |
2948 | // internal helper class to create the visuals |
2949 | // for the icon. |
2950 | |
2951 | === modified file 'modules/Ubuntu/Components/ListItems/ItemSelector.qml' |
2952 | --- modules/Ubuntu/Components/ListItems/ItemSelector.qml 2014-02-18 14:23:57 +0000 |
2953 | +++ modules/Ubuntu/Components/ListItems/ItemSelector.qml 2014-04-23 10:12:48 +0000 |
2954 | @@ -16,11 +16,11 @@ |
2955 | |
2956 | import QtQuick 2.0 |
2957 | import "." as ListItem |
2958 | -import Ubuntu.Components 0.1 |
2959 | +import Ubuntu.Components 1.0 |
2960 | |
2961 | /*! |
2962 | \qmltype ItemSelector |
2963 | - \inqmlmodule Ubuntu.Components.ListItems 0.1 |
2964 | + \inqmlmodule Ubuntu.Components.ListItems 1.0 |
2965 | \ingroup ubuntu-listitems |
2966 | \brief ListItem displaying either a single selected value or expanded multiple choice with an optional image and subtext when not expanded, when expanding it opens a |
2967 | listing of all the possible values for selection with an additional option of always being expanded. If multiple choice is selected the list is expanded automatically. |
2968 | @@ -29,7 +29,7 @@ |
2969 | |
2970 | Examples: |
2971 | \qml |
2972 | - import Ubuntu.Components.ListItems 0.1 as ListItem |
2973 | + import Ubuntu.Components.ListItems 1.0 as ListItem |
2974 | Column { |
2975 | anchors.left: parent.left |
2976 | anchors.right: parent.right |
2977 | |
2978 | === modified file 'modules/Ubuntu/Components/ListItems/LabelVisual.qml' |
2979 | --- modules/Ubuntu/Components/ListItems/LabelVisual.qml 2013-08-29 18:47:30 +0000 |
2980 | +++ modules/Ubuntu/Components/ListItems/LabelVisual.qml 2014-04-23 10:12:48 +0000 |
2981 | @@ -15,7 +15,7 @@ |
2982 | */ |
2983 | |
2984 | import QtQuick 2.0 |
2985 | -import Ubuntu.Components 0.1 |
2986 | +import Ubuntu.Components 1.0 |
2987 | |
2988 | // internal helper class for text inside the list items. |
2989 | Label { |
2990 | |
2991 | === modified file 'modules/Ubuntu/Components/ListItems/MultiValue.qml' |
2992 | --- modules/Ubuntu/Components/ListItems/MultiValue.qml 2013-11-06 22:52:15 +0000 |
2993 | +++ modules/Ubuntu/Components/ListItems/MultiValue.qml 2014-04-23 10:12:48 +0000 |
2994 | @@ -18,14 +18,14 @@ |
2995 | |
2996 | /*! |
2997 | \qmltype MultiValue |
2998 | - \inqmlmodule Ubuntu.Components.ListItems 0.1 |
2999 | + \inqmlmodule Ubuntu.Components.ListItems 1.0 |
3000 | \ingroup ubuntu-listitems |
3001 | \brief List item displaying multiple values. |
3002 | \b{This component is under heavy development.} |
3003 | |
3004 | Examples: |
3005 | \qml |
3006 | - import Ubuntu.Components.ListItems 0.1 as ListItem |
3007 | + import Ubuntu.Components.ListItems 1.0 as ListItem |
3008 | Column { |
3009 | ListItem.MultiValue { |
3010 | text: "Label" |
3011 | |
3012 | === modified file 'modules/Ubuntu/Components/ListItems/ProgressionVisual.qml' |
3013 | --- modules/Ubuntu/Components/ListItems/ProgressionVisual.qml 2013-12-09 12:23:15 +0000 |
3014 | +++ modules/Ubuntu/Components/ListItems/ProgressionVisual.qml 2014-04-23 10:12:48 +0000 |
3015 | @@ -15,7 +15,7 @@ |
3016 | */ |
3017 | |
3018 | import QtQuick 2.0 |
3019 | -import Ubuntu.Components 0.1 |
3020 | +import Ubuntu.Components 1.0 |
3021 | |
3022 | // Internal helper class for the visuals of |
3023 | // the progression symbol. |
3024 | |
3025 | === modified file 'modules/Ubuntu/Components/ListItems/SingleControl.qml' |
3026 | --- modules/Ubuntu/Components/ListItems/SingleControl.qml 2013-07-14 20:18:08 +0000 |
3027 | +++ modules/Ubuntu/Components/ListItems/SingleControl.qml 2014-04-23 10:12:48 +0000 |
3028 | @@ -15,19 +15,19 @@ |
3029 | */ |
3030 | |
3031 | import QtQuick 2.0 |
3032 | -import Ubuntu.Components 0.1 |
3033 | -import Ubuntu.Components.ListItems 0.1 |
3034 | +import Ubuntu.Components 1.0 |
3035 | +import Ubuntu.Components.ListItems 1.0 |
3036 | |
3037 | /*! |
3038 | \qmltype SingleControl |
3039 | - \inqmlmodule Ubuntu.Components.ListItems 0.1 |
3040 | + \inqmlmodule Ubuntu.Components.ListItems 1.0 |
3041 | \ingroup ubuntu-listitems |
3042 | \brief A list item containing a single control |
3043 | |
3044 | Examples: |
3045 | \qml |
3046 | - import Ubuntu.Components 0.1 |
3047 | - import Ubuntu.Components.ListItems 0.1 as ListItem |
3048 | + import Ubuntu.Components 1.0 |
3049 | + import Ubuntu.Components.ListItems 1.0 as ListItem |
3050 | Column { |
3051 | ListItem.SingleControl { |
3052 | control: Button { |
3053 | |
3054 | === modified file 'modules/Ubuntu/Components/ListItems/SingleValue.qml' |
3055 | --- modules/Ubuntu/Components/ListItems/SingleValue.qml 2013-11-06 22:52:15 +0000 |
3056 | +++ modules/Ubuntu/Components/ListItems/SingleValue.qml 2014-04-23 10:12:48 +0000 |
3057 | @@ -18,13 +18,13 @@ |
3058 | |
3059 | /*! |
3060 | \qmltype SingleValue |
3061 | - \inqmlmodule Ubuntu.Components.ListItems 0.1 |
3062 | + \inqmlmodule Ubuntu.Components.ListItems 1.0 |
3063 | \ingroup ubuntu-listitems |
3064 | \brief A list item displaying a single value |
3065 | |
3066 | Examples: |
3067 | \qml |
3068 | - import Ubuntu.Components.ListItems 0.1 as ListItem |
3069 | + import Ubuntu.Components.ListItems 1.0 as ListItem |
3070 | Column { |
3071 | ListItem.SingleValue { |
3072 | text: "Label" |
3073 | |
3074 | === modified file 'modules/Ubuntu/Components/ListItems/Standard.qml' |
3075 | --- modules/Ubuntu/Components/ListItems/Standard.qml 2013-11-07 19:45:58 +0000 |
3076 | +++ modules/Ubuntu/Components/ListItems/Standard.qml 2014-04-23 10:12:48 +0000 |
3077 | @@ -15,11 +15,11 @@ |
3078 | */ |
3079 | |
3080 | import QtQuick 2.0 |
3081 | -import Ubuntu.Components 0.1 |
3082 | +import Ubuntu.Components 1.0 |
3083 | |
3084 | /*! |
3085 | \qmltype Standard |
3086 | - \inqmlmodule Ubuntu.Components.ListItems 0.1 |
3087 | + \inqmlmodule Ubuntu.Components.ListItems 1.0 |
3088 | \ingroup ubuntu-listitems |
3089 | \brief The standard list item class. It shows a basic list item |
3090 | with a label (text), and optionally an icon, a progression arrow, |
3091 | @@ -30,8 +30,8 @@ |
3092 | |
3093 | Examples: |
3094 | \qml |
3095 | - import Ubuntu.Components 0.1 |
3096 | - import Ubuntu.Components.ListItems 0.1 as ListItem |
3097 | + import Ubuntu.Components 1.0 |
3098 | + import Ubuntu.Components.ListItems 1.0 as ListItem |
3099 | Column { |
3100 | ListItem.Standard { |
3101 | text: "Selectable standard list item" |
3102 | |
3103 | === modified file 'modules/Ubuntu/Components/ListItems/Subtitled.qml' |
3104 | --- modules/Ubuntu/Components/ListItems/Subtitled.qml 2013-11-06 22:52:15 +0000 |
3105 | +++ modules/Ubuntu/Components/ListItems/Subtitled.qml 2014-04-23 10:12:48 +0000 |
3106 | @@ -15,18 +15,18 @@ |
3107 | */ |
3108 | |
3109 | import QtQuick 2.0 |
3110 | -import Ubuntu.Components 0.1 |
3111 | +import Ubuntu.Components 1.0 |
3112 | |
3113 | /*! |
3114 | \qmltype MultiValue |
3115 | - \inqmlmodule Ubuntu.Components.ListItems 0.1 |
3116 | + \inqmlmodule Ubuntu.Components.ListItems 1.0 |
3117 | \ingroup ubuntu-listitems |
3118 | \brief List item displaying a second string under the main label. |
3119 | \b{This component is under heavy development.} |
3120 | |
3121 | Examples: |
3122 | \qml |
3123 | - import Ubuntu.Components.ListItems 0.1 as ListItem |
3124 | + import Ubuntu.Components.ListItems 1.0 as ListItem |
3125 | Column { |
3126 | ListItem.Subtitled { |
3127 | text: "Idle" |
3128 | |
3129 | === modified file 'modules/Ubuntu/Components/ListItems/ThinDivider.qml' |
3130 | --- modules/Ubuntu/Components/ListItems/ThinDivider.qml 2013-11-19 08:51:02 +0000 |
3131 | +++ modules/Ubuntu/Components/ListItems/ThinDivider.qml 2014-04-23 10:12:48 +0000 |
3132 | @@ -18,7 +18,7 @@ |
3133 | |
3134 | /*! |
3135 | \qmltype ThinDivider |
3136 | - \inqmlmodule Ubuntu.Components.ListItems 0.1 |
3137 | + \inqmlmodule Ubuntu.Components.ListItems 1.0 |
3138 | \ingroup ubuntu-listitems |
3139 | \brief Narrow line used as a divider between ListItems. |
3140 | |
3141 | @@ -29,7 +29,7 @@ |
3142 | |
3143 | Examples: |
3144 | \qml |
3145 | - import Ubuntu.Components.ListItems 0.1 as ListItem |
3146 | + import Ubuntu.Components.ListItems 1.0 as ListItem |
3147 | Column { |
3148 | width: 250 |
3149 | ListItem.ThinDivider {} //can be used as header for list |
3150 | |
3151 | === modified file 'modules/Ubuntu/Components/ListItems/ValueSelector.qml' |
3152 | --- modules/Ubuntu/Components/ListItems/ValueSelector.qml 2013-11-06 22:52:15 +0000 |
3153 | +++ modules/Ubuntu/Components/ListItems/ValueSelector.qml 2014-04-23 10:12:48 +0000 |
3154 | @@ -15,13 +15,13 @@ |
3155 | */ |
3156 | |
3157 | import QtQuick 2.0 |
3158 | -import Ubuntu.Components 0.1 |
3159 | +import Ubuntu.Components 1.0 |
3160 | |
3161 | /*! |
3162 | ****DEPRECATED! PLEASE USE ITEM SELECTOR OR FOR THE UBUNTU SHAPE VERSION THE OPTION SELECTOR.**** |
3163 | |
3164 | \qmltype ValueSelector |
3165 | - \inqmlmodule Ubuntu.Components.ListItems 0.1 |
3166 | + \inqmlmodule Ubuntu.Components.ListItems 1.0 |
3167 | \ingroup ubuntu-listitems |
3168 | \brief List item displaying single selected value when not expanded, |
3169 | where expanding it opens a listing of all the possible values for selection. |
3170 | @@ -30,7 +30,7 @@ |
3171 | |
3172 | Examples: |
3173 | \qml |
3174 | - import Ubuntu.Components.ListItems 0.1 as ListItem |
3175 | + import Ubuntu.Components.ListItems 1.0 as ListItem |
3176 | Column { |
3177 | width: 250 |
3178 | ListItem.ValueSelector { |
3179 | |
3180 | === modified file 'modules/Ubuntu/Components/ListItems/qmldir' |
3181 | --- modules/Ubuntu/Components/ListItems/qmldir 2014-02-13 11:33:09 +0000 |
3182 | +++ modules/Ubuntu/Components/ListItems/qmldir 2014-04-23 10:12:48 +0000 |
3183 | @@ -1,3 +1,4 @@ |
3184 | +module Ubuntu.Components.ListItems |
3185 | Empty 0.1 Empty.qml |
3186 | Base 0.1 Base.qml |
3187 | Caption 0.1 Caption.qml |
3188 | @@ -16,3 +17,20 @@ |
3189 | ThinDivider 0.1 ThinDivider.qml |
3190 | Expandable 0.1 Expandable.qml |
3191 | ExpandablesColumn 0.1 ExpandablesColumn.qml |
3192 | + |
3193 | +#version 1.0 |
3194 | +Empty 1.0 Empty.qml |
3195 | +Base 1.0 Base.qml |
3196 | +Caption 1.0 Caption.qml |
3197 | +Divider 1.0 Divider.qml |
3198 | +Header 1.0 Header.qml |
3199 | +MultiValue 1.0 MultiValue.qml |
3200 | +ItemSelector 1.0 ItemSelector.qml |
3201 | +ValueSelector 1.0 ValueSelector.qml |
3202 | +SingleValue 1.0 SingleValue.qml |
3203 | +Standard 1.0 Standard.qml |
3204 | +Subtitled 1.0 Subtitled.qml |
3205 | +SingleControl 1.0 SingleControl.qml |
3206 | +ThinDivider 1.0 ThinDivider.qml |
3207 | +Expandable 1.0 Expandable.qml |
3208 | +ExpandablesColumn 1.0 ExpandablesColumn.qml |
3209 | |
3210 | === modified file 'modules/Ubuntu/Components/MainView.qml' |
3211 | --- modules/Ubuntu/Components/MainView.qml 2014-04-04 11:03:45 +0000 |
3212 | +++ modules/Ubuntu/Components/MainView.qml 2014-04-23 10:12:48 +0000 |
3213 | @@ -16,12 +16,12 @@ |
3214 | |
3215 | import QtQuick 2.0 |
3216 | import Ubuntu.Unity.Action 1.1 as UnityActions |
3217 | -import Ubuntu.PerformanceMetrics 0.1 |
3218 | +import Ubuntu.PerformanceMetrics 1.0 |
3219 | import QtQuick.Window 2.0 |
3220 | |
3221 | /*! |
3222 | \qmltype MainView |
3223 | - \inqmlmodule Ubuntu.Components 0.1 |
3224 | + \inqmlmodule Ubuntu.Components 1.0 |
3225 | \ingroup ubuntu |
3226 | \brief MainView is the root Item that should be used for all applications. |
3227 | It automatically adds a header and toolbar for its contents and can |
3228 | @@ -30,7 +30,7 @@ |
3229 | The simplest way to use a MainView is to include a \l Page object inside the MainView: |
3230 | \qml |
3231 | import QtQuick 2.0 |
3232 | - import Ubuntu.Components 0.1 |
3233 | + import Ubuntu.Components 1.0 |
3234 | |
3235 | MainView { |
3236 | width: units.gu(48) |
3237 | @@ -57,7 +57,7 @@ |
3238 | will automatically hide and show when the user scrolls up or down: |
3239 | \qml |
3240 | import QtQuick 2.0 |
3241 | - import Ubuntu.Components 0.1 |
3242 | + import Ubuntu.Components 1.0 |
3243 | |
3244 | MainView { |
3245 | width: units.gu(48) |
3246 | @@ -89,7 +89,7 @@ |
3247 | A toolbar can be added to the application by setting the tools property of the \l Page: |
3248 | \qml |
3249 | import QtQuick 2.0 |
3250 | - import Ubuntu.Components 0.1 |
3251 | + import Ubuntu.Components 1.0 |
3252 | |
3253 | MainView { |
3254 | width: units.gu(48) |
3255 | @@ -169,7 +169,7 @@ |
3256 | the content: |
3257 | \qml |
3258 | import QtQuick 2.0 |
3259 | - import Ubuntu.Components 0.1 |
3260 | + import Ubuntu.Components 1.0 |
3261 | |
3262 | MainView { |
3263 | width: units.gu(40) |
3264 | |
3265 | === modified file 'modules/Ubuntu/Components/Object.qml' |
3266 | --- modules/Ubuntu/Components/Object.qml 2012-11-14 11:01:37 +0000 |
3267 | +++ modules/Ubuntu/Components/Object.qml 2014-04-23 10:12:48 +0000 |
3268 | @@ -19,7 +19,7 @@ |
3269 | /*! |
3270 | \qmltype Object |
3271 | \internal |
3272 | - \inqmlmodule Ubuntu.Components 0.1 |
3273 | + \inqmlmodule Ubuntu.Components 1.0 |
3274 | \ingroup ubuntu |
3275 | \brief Internal type used for lightweight objects that can have children. |
3276 | */ |
3277 | |
3278 | === modified file 'modules/Ubuntu/Components/OptionSelector.qml' |
3279 | --- modules/Ubuntu/Components/OptionSelector.qml 2013-12-13 15:50:35 +0000 |
3280 | +++ modules/Ubuntu/Components/OptionSelector.qml 2014-04-23 10:12:48 +0000 |
3281 | @@ -16,11 +16,11 @@ |
3282 | |
3283 | import QtQuick 2.0 |
3284 | import "ListItems" as ListItem |
3285 | -import Ubuntu.Components 0.1 as Toolkit |
3286 | +import Ubuntu.Components 1.0 as Toolkit |
3287 | |
3288 | /*! |
3289 | \qmltype OptionSelector |
3290 | - \inqmlmodule Ubuntu.Components 0.1 |
3291 | + \inqmlmodule Ubuntu.Components 1.0 |
3292 | \ingroup ubuntu-components |
3293 | \brief Component displaying either a single selected value or expanded multiple choice with an optional image and subtext when not expanded, when expanding it opens a |
3294 | listing of all the possible values for selection with an additional option of always being expanded. If multiple choice is selected the list is expanded automatically. |
3295 | @@ -29,7 +29,7 @@ |
3296 | |
3297 | Examples: |
3298 | \qml |
3299 | - import Ubuntu.Components 0.1 |
3300 | + import Ubuntu.Components 1.0 |
3301 | Column { |
3302 | spacing: units.gu(3) |
3303 | |
3304 | |
3305 | === modified file 'modules/Ubuntu/Components/OptionSelectorDelegate.qml' |
3306 | --- modules/Ubuntu/Components/OptionSelectorDelegate.qml 2014-03-04 12:16:38 +0000 |
3307 | +++ modules/Ubuntu/Components/OptionSelectorDelegate.qml 2014-04-23 10:12:48 +0000 |
3308 | @@ -16,7 +16,7 @@ |
3309 | |
3310 | /*! |
3311 | \qmltype OptionSelectorDelegate |
3312 | - \inqmlmodule Ubuntu.Components 0.1 |
3313 | + \inqmlmodule Ubuntu.Components 1.0 |
3314 | \ingroup ubuntu-components |
3315 | \brief OptionSelector delegate which can display text, subtext and an image from a custom model. |
3316 | |
3317 | @@ -24,7 +24,7 @@ |
3318 | |
3319 | Examples: |
3320 | \qml |
3321 | - import Ubuntu.Components 0.1 |
3322 | + import Ubuntu.Components 1.0 |
3323 | Column { |
3324 | width: 250 |
3325 | OptionSelector { |
3326 | @@ -45,7 +45,7 @@ |
3327 | |
3328 | import QtQuick 2.0 |
3329 | import "ListItems" as ListItem |
3330 | -import Ubuntu.Components 0.1 as Toolkit |
3331 | +import Ubuntu.Components 1.0 as Toolkit |
3332 | |
3333 | ListItem.Standard { |
3334 | id: option |
3335 | |
3336 | === modified file 'modules/Ubuntu/Components/OrientationHelper.qml' |
3337 | --- modules/Ubuntu/Components/OrientationHelper.qml 2013-11-27 11:15:17 +0000 |
3338 | +++ modules/Ubuntu/Components/OrientationHelper.qml 2014-04-23 10:12:48 +0000 |
3339 | @@ -16,11 +16,11 @@ |
3340 | |
3341 | import QtQuick 2.0 |
3342 | import QtQuick.Window 2.0 |
3343 | -import Ubuntu.Components 0.1 as Ubuntu |
3344 | +import Ubuntu.Components 1.0 |
3345 | |
3346 | /*! |
3347 | \qmltype OrientationHelper |
3348 | - \inqmlmodule Ubuntu.Components 0.1 |
3349 | + \inqmlmodule Ubuntu.Components 1.0 |
3350 | \ingroup ubuntu |
3351 | \brief The OrientationHelper automatically rotates its children following the |
3352 | orientation of the device. |
3353 | @@ -188,8 +188,8 @@ |
3354 | RotationAnimation { |
3355 | target: orientationHelper |
3356 | properties: "rotation" |
3357 | - duration: Ubuntu.UbuntuAnimation.FastDuration |
3358 | - easing: Ubuntu.UbuntuAnimation.StandardEasing |
3359 | + duration: UbuntuAnimation.FastDuration |
3360 | + easing: UbuntuAnimation.StandardEasing |
3361 | direction: RotationAnimation.Shortest |
3362 | } |
3363 | } |
3364 | |
3365 | === modified file 'modules/Ubuntu/Components/Page.qml' |
3366 | --- modules/Ubuntu/Components/Page.qml 2014-04-07 10:03:39 +0000 |
3367 | +++ modules/Ubuntu/Components/Page.qml 2014-04-23 10:12:48 +0000 |
3368 | @@ -19,7 +19,7 @@ |
3369 | |
3370 | /*! |
3371 | \qmltype Page |
3372 | - \inqmlmodule Ubuntu.Components 0.1 |
3373 | + \inqmlmodule Ubuntu.Components 1.0 |
3374 | \ingroup ubuntu |
3375 | \brief A page is the basic Item that must be used inside the \l MainView, |
3376 | \l PageStack and \l Tabs. |
3377 | @@ -33,7 +33,7 @@ |
3378 | |
3379 | \qml |
3380 | import QtQuick 2.0 |
3381 | - import Ubuntu.Components 0.1 |
3382 | + import Ubuntu.Components 1.0 |
3383 | |
3384 | MainView { |
3385 | width: units.gu(48) |
3386 | @@ -94,7 +94,7 @@ |
3387 | and anchors to the top of the page or fills the page. For example: |
3388 | \qml |
3389 | import QtQuick 2.0 |
3390 | - import Ubuntu.Components 0.1 |
3391 | + import Ubuntu.Components 1.0 |
3392 | |
3393 | MainView { |
3394 | width: units.gu(30) |
3395 | |
3396 | === modified file 'modules/Ubuntu/Components/PageStack.qml' |
3397 | --- modules/Ubuntu/Components/PageStack.qml 2013-08-22 17:15:35 +0000 |
3398 | +++ modules/Ubuntu/Components/PageStack.qml 2014-04-23 10:12:48 +0000 |
3399 | @@ -19,7 +19,7 @@ |
3400 | |
3401 | /*! |
3402 | \qmltype PageStack |
3403 | - \inqmlmodule Ubuntu.Components 0.1 |
3404 | + \inqmlmodule Ubuntu.Components 1.0 |
3405 | \ingroup ubuntu |
3406 | \brief A stack of \l Page items that is used for inter-Page navigation. |
3407 | Pages on the stack can be popped, and new Pages can be pushed. |
3408 | @@ -39,8 +39,8 @@ |
3409 | Example: |
3410 | \qml |
3411 | import QtQuick 2.0 |
3412 | - import Ubuntu.Components 0.1 |
3413 | - import Ubuntu.Components.ListItems 0.1 as ListItem |
3414 | + import Ubuntu.Components 1.0 |
3415 | + import Ubuntu.Components.ListItems 1.0 as ListItem |
3416 | |
3417 | MainView { |
3418 | width: units.gu(48) |
3419 | |
3420 | === modified file 'modules/Ubuntu/Components/PageTreeNode.qml' |
3421 | --- modules/Ubuntu/Components/PageTreeNode.qml 2013-07-18 16:42:06 +0000 |
3422 | +++ modules/Ubuntu/Components/PageTreeNode.qml 2014-04-23 10:12:48 +0000 |
3423 | @@ -19,7 +19,7 @@ |
3424 | /*! |
3425 | \internal |
3426 | \qmltype PageTreeNode |
3427 | - \inqmlmodule Ubuntu.Components 0.1 |
3428 | + \inqmlmodule Ubuntu.Components 1.0 |
3429 | \ingroup ubuntu |
3430 | \brief The common parent of \l Page, \l MainView, \l PageStack and \l Tabs. |
3431 | |
3432 | |
3433 | === modified file 'modules/Ubuntu/Components/PageWrapper.qml' |
3434 | --- modules/Ubuntu/Components/PageWrapper.qml 2013-03-11 16:20:14 +0000 |
3435 | +++ modules/Ubuntu/Components/PageWrapper.qml 2014-04-23 10:12:48 +0000 |
3436 | @@ -20,7 +20,7 @@ |
3437 | /*! |
3438 | \internal |
3439 | \qmltype PageWrapper |
3440 | - \inqmlmodule Ubuntu.Components 0.1 |
3441 | + \inqmlmodule Ubuntu.Components 1.0 |
3442 | \ingroup ubuntu |
3443 | \brief Internal class used by \l PageStack |
3444 | |
3445 | |
3446 | === modified file 'modules/Ubuntu/Components/Panel.qml' |
3447 | --- modules/Ubuntu/Components/Panel.qml 2014-04-02 09:47:42 +0000 |
3448 | +++ modules/Ubuntu/Components/Panel.qml 2014-04-23 10:12:48 +0000 |
3449 | @@ -15,11 +15,11 @@ |
3450 | */ |
3451 | |
3452 | import QtQuick 2.0 |
3453 | -import Ubuntu.Components 0.1 as Toolkit |
3454 | +import Ubuntu.Components 1.0 as Toolkit |
3455 | |
3456 | /*! |
3457 | \qmltype Panel |
3458 | - \inqmlmodule Ubuntu.Components 0.1 |
3459 | + \inqmlmodule Ubuntu.Components 1.0 |
3460 | \ingroup ubuntu |
3461 | \brief A panel that can be swiped in and out from an edge of the window by the user. |
3462 | For most applications, it is highly recommended to use the \l MainView instead which includes |
3463 | @@ -38,7 +38,7 @@ |
3464 | A black panel that can be swiped in from the lower-right of the window can be created like this: |
3465 | \qml |
3466 | import QtQuick 2.0 |
3467 | - import Ubuntu.Components 0.1 |
3468 | + import Ubuntu.Components 1.0 |
3469 | |
3470 | Item { |
3471 | width: units.gu(80) |
3472 | @@ -69,7 +69,7 @@ |
3473 | A panel that looks like the standard (bottom-aligned) toolbar, but with custom contents, can be created like this: |
3474 | \qml |
3475 | import QtQuick 2.0 |
3476 | - import Ubuntu.Components 0.1 |
3477 | + import Ubuntu.Components 1.0 |
3478 | |
3479 | Item { |
3480 | width: units.gu(80) |
3481 | @@ -106,7 +106,7 @@ |
3482 | signals are forwarded from the panel by calling the child's trigger() function. Example: |
3483 | \qml |
3484 | import QtQuick 2.0 |
3485 | - import Ubuntu.Components 0.1 |
3486 | + import Ubuntu.Components 1.0 |
3487 | |
3488 | Rectangle { |
3489 | color: Theme.palette.normal.background |
3490 | |
3491 | === modified file 'modules/Ubuntu/Components/Pickers/DatePicker.qml' |
3492 | --- modules/Ubuntu/Components/Pickers/DatePicker.qml 2014-03-06 10:46:17 +0000 |
3493 | +++ modules/Ubuntu/Components/Pickers/DatePicker.qml 2014-04-23 10:12:48 +0000 |
3494 | @@ -15,11 +15,11 @@ |
3495 | */ |
3496 | |
3497 | import QtQuick 2.0 |
3498 | -import Ubuntu.Components 0.1 |
3499 | +import Ubuntu.Components 1.0 |
3500 | |
3501 | /*! |
3502 | \qmltype DatePicker |
3503 | - \inqmlmodule Ubuntu.Components.Pickers 0.1 |
3504 | + \inqmlmodule Ubuntu.Components.Pickers 1.0 |
3505 | \ingroup ubuntu-pickers |
3506 | \brief DatePicker component provides date and time value picking functionality. |
3507 | |
3508 | @@ -36,8 +36,8 @@ |
3509 | |
3510 | \qml |
3511 | import QtQuick 2.0 |
3512 | - import Ubuntu.Components 0.1 |
3513 | - import Ubuntu.Components.Pickers 0.1 |
3514 | + import Ubuntu.Components 1.0 |
3515 | + import Ubuntu.Components.Pickers 1.0 |
3516 | |
3517 | Column { |
3518 | Label { |
3519 | @@ -56,8 +56,8 @@ |
3520 | which shows only year and month date units would look as follows: |
3521 | \qml |
3522 | import QtQuick 2.0 |
3523 | - import Ubuntu.Components 0.1 |
3524 | - import Ubuntu.Components.Pickers 0.1 |
3525 | + import Ubuntu.Components 1.0 |
3526 | + import Ubuntu.Components.Pickers 1.0 |
3527 | |
3528 | Column { |
3529 | Label { |
3530 | @@ -75,8 +75,8 @@ |
3531 | The following example demonstrates how to use DatePicker for time picking. |
3532 | \qml |
3533 | import QtQuick 2.0 |
3534 | - import Ubuntu.Components 0.1 |
3535 | - import Ubuntu.Components.Pickers 0.1 |
3536 | + import Ubuntu.Components 1.0 |
3537 | + import Ubuntu.Components.Pickers 1.0 |
3538 | |
3539 | Column { |
3540 | Label { |
3541 | @@ -112,8 +112,8 @@ |
3542 | \endlist |
3543 | \qml |
3544 | import QtQuick 2.0 |
3545 | - import Ubuntu.Components 0.1 |
3546 | - import Ubuntu.Components.Pickers 0.1 |
3547 | + import Ubuntu.Components 1.0 |
3548 | + import Ubuntu.Components.Pickers 1.0 |
3549 | |
3550 | Column { |
3551 | Label { |
3552 | |
3553 | === modified file 'modules/Ubuntu/Components/Pickers/DayModel.qml' |
3554 | --- modules/Ubuntu/Components/Pickers/DayModel.qml 2013-12-10 16:52:07 +0000 |
3555 | +++ modules/Ubuntu/Components/Pickers/DayModel.qml 2014-04-23 10:12:48 +0000 |
3556 | @@ -15,7 +15,7 @@ |
3557 | */ |
3558 | |
3559 | import QtQuick 2.0 |
3560 | -import Ubuntu.Components 0.1 |
3561 | +import Ubuntu.Components 1.0 |
3562 | |
3563 | PickerModelBase { |
3564 | circular: true |
3565 | |
3566 | === modified file 'modules/Ubuntu/Components/Pickers/Dialer.qml' |
3567 | --- modules/Ubuntu/Components/Pickers/Dialer.qml 2013-09-24 10:42:52 +0000 |
3568 | +++ modules/Ubuntu/Components/Pickers/Dialer.qml 2014-04-23 10:12:48 +0000 |
3569 | @@ -15,11 +15,11 @@ |
3570 | */ |
3571 | |
3572 | import QtQuick 2.0 |
3573 | -import "../" 0.1 |
3574 | +import Ubuntu.Components 1.0 |
3575 | |
3576 | /*! |
3577 | \qmltype Dialer |
3578 | - \inqmlmodule Ubuntu.Components.Pickers 0.1 |
3579 | + \inqmlmodule Ubuntu.Components.Pickers 1.0 |
3580 | \ingroup ubuntu-pickers |
3581 | \brief Dialer is a phone dialer style picker component. |
3582 | |
3583 | @@ -35,7 +35,7 @@ |
3584 | |
3585 | \qml |
3586 | import QtQuick 2.0 |
3587 | - import Ubuntu.Components.Pickers 0.1 |
3588 | + import Ubuntu.Components.Pickers 1.0 |
3589 | |
3590 | Dialer { |
3591 | size: units.gu(20) |
3592 | |
3593 | === modified file 'modules/Ubuntu/Components/Pickers/DialerHand.qml' |
3594 | --- modules/Ubuntu/Components/Pickers/DialerHand.qml 2013-09-24 11:02:17 +0000 |
3595 | +++ modules/Ubuntu/Components/Pickers/DialerHand.qml 2014-04-23 10:12:48 +0000 |
3596 | @@ -15,11 +15,11 @@ |
3597 | */ |
3598 | |
3599 | import QtQuick 2.0 |
3600 | -import "../" 0.1 |
3601 | +import Ubuntu.Components 1.0 |
3602 | |
3603 | /*! |
3604 | \qmltype DialerHand |
3605 | - \inqmlmodule Ubuntu.Components.Pickers 0.1 |
3606 | + \inqmlmodule Ubuntu.Components.Pickers 1.0 |
3607 | \ingroup ubuntu-pickers |
3608 | \brief DialerHand represents a value selector on a Dialer. |
3609 | |
3610 | |
3611 | === modified file 'modules/Ubuntu/Components/Pickers/DialerHandGroup.qml' |
3612 | --- modules/Ubuntu/Components/Pickers/DialerHandGroup.qml 2013-09-12 09:19:28 +0000 |
3613 | +++ modules/Ubuntu/Components/Pickers/DialerHandGroup.qml 2014-04-23 10:12:48 +0000 |
3614 | @@ -14,7 +14,7 @@ |
3615 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
3616 | */ |
3617 | import QtQuick 2.0 |
3618 | -import "../" 0.1 |
3619 | +import Ubuntu.Components 1.0 |
3620 | |
3621 | /*! |
3622 | \internal |
3623 | |
3624 | === modified file 'modules/Ubuntu/Components/Pickers/HoursModel.qml' |
3625 | --- modules/Ubuntu/Components/Pickers/HoursModel.qml 2013-12-16 13:01:41 +0000 |
3626 | +++ modules/Ubuntu/Components/Pickers/HoursModel.qml 2014-04-23 10:12:48 +0000 |
3627 | @@ -15,7 +15,7 @@ |
3628 | */ |
3629 | |
3630 | import QtQuick 2.0 |
3631 | -import Ubuntu.Components 0.1 |
3632 | +import Ubuntu.Components 1.0 |
3633 | |
3634 | PickerModelBase { |
3635 | property int from |
3636 | |
3637 | === modified file 'modules/Ubuntu/Components/Pickers/MinutesModel.qml' |
3638 | --- modules/Ubuntu/Components/Pickers/MinutesModel.qml 2013-12-13 11:22:51 +0000 |
3639 | +++ modules/Ubuntu/Components/Pickers/MinutesModel.qml 2014-04-23 10:12:48 +0000 |
3640 | @@ -15,7 +15,7 @@ |
3641 | */ |
3642 | |
3643 | import QtQuick 2.0 |
3644 | -import Ubuntu.Components 0.1 |
3645 | +import Ubuntu.Components 1.0 |
3646 | |
3647 | PickerModelBase { |
3648 | property int from |
3649 | |
3650 | === modified file 'modules/Ubuntu/Components/Pickers/MonthModel.qml' |
3651 | --- modules/Ubuntu/Components/Pickers/MonthModel.qml 2013-12-13 11:22:51 +0000 |
3652 | +++ modules/Ubuntu/Components/Pickers/MonthModel.qml 2014-04-23 10:12:48 +0000 |
3653 | @@ -15,7 +15,7 @@ |
3654 | */ |
3655 | |
3656 | import QtQuick 2.0 |
3657 | -import Ubuntu.Components 0.1 |
3658 | +import Ubuntu.Components 1.0 |
3659 | |
3660 | PickerModelBase { |
3661 | circular: (count >= 11) |
3662 | |
3663 | === modified file 'modules/Ubuntu/Components/Pickers/Picker.qml' |
3664 | --- modules/Ubuntu/Components/Pickers/Picker.qml 2014-03-06 10:46:17 +0000 |
3665 | +++ modules/Ubuntu/Components/Pickers/Picker.qml 2014-04-23 10:12:48 +0000 |
3666 | @@ -15,11 +15,11 @@ |
3667 | */ |
3668 | |
3669 | import QtQuick 2.0 |
3670 | -import Ubuntu.Components 0.1 |
3671 | +import Ubuntu.Components 1.0 |
3672 | |
3673 | /*! |
3674 | \qmltype Picker |
3675 | - \inqmlmodule Ubuntu.Components.Pickers 0.1 |
3676 | + \inqmlmodule Ubuntu.Components.Pickers 1.0 |
3677 | \ingroup ubuntu-pickers |
3678 | \brief Picker is a slot-machine style value selection component. |
3679 | |
3680 | @@ -35,8 +35,8 @@ |
3681 | Example: |
3682 | \qml |
3683 | import QtQuick 2.0 |
3684 | - import Ubuntu.Components 0.1 |
3685 | - import Ubuntu.Components.Pickers 0.1 |
3686 | + import Ubuntu.Components 1.0 |
3687 | + import Ubuntu.Components.Pickers 1.0 |
3688 | |
3689 | Picker { |
3690 | model: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sept", "Oct", "Nov", "Dec"] |
3691 | |
3692 | === modified file 'modules/Ubuntu/Components/Pickers/PickerDelegate.qml' |
3693 | --- modules/Ubuntu/Components/Pickers/PickerDelegate.qml 2014-03-06 10:46:17 +0000 |
3694 | +++ modules/Ubuntu/Components/Pickers/PickerDelegate.qml 2014-04-23 10:12:48 +0000 |
3695 | @@ -15,11 +15,11 @@ |
3696 | */ |
3697 | |
3698 | import QtQuick 2.0 |
3699 | -import "../" 0.1 |
3700 | +import Ubuntu.Components 1.0 |
3701 | |
3702 | /*! |
3703 | \qmltype PickerDelegate |
3704 | - \inqmlmodule Ubuntu.Components.Pickers 0.1 |
3705 | + \inqmlmodule Ubuntu.Components.Pickers 1.0 |
3706 | \ingroup ubuntu-pickers |
3707 | \brief PickerDelegate component serves as base for Picker delegates. |
3708 | |
3709 | |
3710 | === modified file 'modules/Ubuntu/Components/Pickers/PickerPanel.qml' |
3711 | --- modules/Ubuntu/Components/Pickers/PickerPanel.qml 2014-02-19 10:36:14 +0000 |
3712 | +++ modules/Ubuntu/Components/Pickers/PickerPanel.qml 2014-04-23 10:12:48 +0000 |
3713 | @@ -16,13 +16,13 @@ |
3714 | |
3715 | import QtQuick 2.0 |
3716 | import QtQuick.Window 2.0 |
3717 | -import Ubuntu.Components 0.1 |
3718 | -import Ubuntu.Components.ListItems 0.1 |
3719 | -import Ubuntu.Components.Popups 0.1 |
3720 | +import Ubuntu.Components 1.0 |
3721 | +import Ubuntu.Components.ListItems 1.0 |
3722 | +import Ubuntu.Components.Popups 1.0 |
3723 | |
3724 | /*! |
3725 | \qmltype PickerPanel |
3726 | - \inqmlmodule Ubuntu.Components 0.1 |
3727 | + \inqmlmodule Ubuntu.Components 1.0 |
3728 | \ingroup ubuntu-pickers |
3729 | \brief Provides a panel for opening a DatePicker in place of the input panel or |
3730 | as Popover, depending on the form factor. |
3731 | @@ -32,7 +32,7 @@ |
3732 | on date pickers. |
3733 | \qml |
3734 | import QtQuick 2.0 |
3735 | - import Ubuntu.Components 0.1 |
3736 | + import Ubuntu.Components 1.0 |
3737 | |
3738 | MainWindow { |
3739 | width: units.gu(40) |
3740 | |
3741 | === modified file 'modules/Ubuntu/Components/Pickers/PickerRow.qml' |
3742 | --- modules/Ubuntu/Components/Pickers/PickerRow.qml 2014-03-06 10:46:17 +0000 |
3743 | +++ modules/Ubuntu/Components/Pickers/PickerRow.qml 2014-04-23 10:12:48 +0000 |
3744 | @@ -15,7 +15,7 @@ |
3745 | */ |
3746 | |
3747 | import QtQuick 2.0 |
3748 | -import Ubuntu.Components 0.1 |
3749 | +import Ubuntu.Components 1.0 |
3750 | |
3751 | Row { |
3752 | id: row |
3753 | |
3754 | === modified file 'modules/Ubuntu/Components/Pickers/SecondsModel.qml' |
3755 | --- modules/Ubuntu/Components/Pickers/SecondsModel.qml 2013-12-13 11:22:51 +0000 |
3756 | +++ modules/Ubuntu/Components/Pickers/SecondsModel.qml 2014-04-23 10:12:48 +0000 |
3757 | @@ -15,7 +15,7 @@ |
3758 | */ |
3759 | |
3760 | import QtQuick 2.0 |
3761 | -import Ubuntu.Components 0.1 |
3762 | +import Ubuntu.Components 1.0 |
3763 | |
3764 | PickerModelBase { |
3765 | property int from |
3766 | |
3767 | === modified file 'modules/Ubuntu/Components/Pickers/YearModel.qml' |
3768 | --- modules/Ubuntu/Components/Pickers/YearModel.qml 2013-12-13 11:22:51 +0000 |
3769 | +++ modules/Ubuntu/Components/Pickers/YearModel.qml 2014-04-23 10:12:48 +0000 |
3770 | @@ -15,7 +15,7 @@ |
3771 | */ |
3772 | |
3773 | import QtQuick 2.0 |
3774 | -import Ubuntu.Components 0.1 |
3775 | +import Ubuntu.Components 1.0 |
3776 | |
3777 | PickerModelBase { |
3778 | // local properties |
3779 | |
3780 | === modified file 'modules/Ubuntu/Components/Pickers/qmldir' |
3781 | --- modules/Ubuntu/Components/Pickers/qmldir 2013-12-10 16:37:04 +0000 |
3782 | +++ modules/Ubuntu/Components/Pickers/qmldir 2014-04-23 10:12:48 +0000 |
3783 | @@ -8,3 +8,10 @@ |
3784 | internal MonthModel MonthModel.qml |
3785 | internal DayModel DayModel.qml |
3786 | internal PickerModelBase PickerModelBase.qml |
3787 | + |
3788 | +#version 1.0 |
3789 | +Picker 1.0 Picker.qml |
3790 | +PickerDelegate 1.0 PickerDelegate.qml |
3791 | +Dialer 1.0 Dialer.qml |
3792 | +DialerHand 1.0 DialerHand.qml |
3793 | +DatePicker 1.0 DatePicker.qml |
3794 | |
3795 | === modified file 'modules/Ubuntu/Components/Popups/ActionSelectionPopover.qml' |
3796 | --- modules/Ubuntu/Components/Popups/ActionSelectionPopover.qml 2013-08-07 12:50:35 +0000 |
3797 | +++ modules/Ubuntu/Components/Popups/ActionSelectionPopover.qml 2014-04-23 10:12:48 +0000 |
3798 | @@ -15,13 +15,13 @@ |
3799 | */ |
3800 | |
3801 | import QtQuick 2.0 |
3802 | -import "../" 0.1 |
3803 | -import "../ListItems" 0.1 |
3804 | +import Ubuntu.Components 1.0 |
3805 | +import Ubuntu.Components.ListItems 1.0 |
3806 | |
3807 | /*! |
3808 | \qmltype ActionSelectionPopover |
3809 | \inherits Popover |
3810 | - \inqmlmodule Ubuntu.Components.Popups 0.1 |
3811 | + \inqmlmodule Ubuntu.Components.Popups 1.0 |
3812 | \ingroup ubuntu-popups |
3813 | \brief A special popover presenting actions to the user. The popover is closed |
3814 | automatically when the action is chosen. |
3815 | |
3816 | === modified file 'modules/Ubuntu/Components/Popups/ComposerSheet.qml' |
3817 | --- modules/Ubuntu/Components/Popups/ComposerSheet.qml 2013-11-05 00:34:46 +0000 |
3818 | +++ modules/Ubuntu/Components/Popups/ComposerSheet.qml 2014-04-23 10:12:48 +0000 |
3819 | @@ -15,11 +15,11 @@ |
3820 | */ |
3821 | |
3822 | import QtQuick 2.0 |
3823 | -import Ubuntu.Components 0.1 |
3824 | +import Ubuntu.Components 1.0 |
3825 | /*! |
3826 | \qmltype ComposerSheet |
3827 | \inherits SheetBase |
3828 | - \inqmlmodule Ubuntu.Components.Popups 0.1 |
3829 | + \inqmlmodule Ubuntu.Components.Popups 1.0 |
3830 | \ingroup ubuntu-popups |
3831 | \brief Much like the \l DefaultSheet the Composer Sheet allows an application to insert a content |
3832 | view over the focused view without disrupting the navigation pattern. However the Composer Sheet |
3833 | @@ -31,8 +31,8 @@ |
3834 | |
3835 | Example: |
3836 | \qml |
3837 | - import Ubuntu.Components 0.1 |
3838 | - import Ubuntu.Components.Popups 0.1 |
3839 | + import Ubuntu.Components 1.0 |
3840 | + import Ubuntu.Components.Popups 1.0 |
3841 | |
3842 | Item { |
3843 | Component { |
3844 | |
3845 | === modified file 'modules/Ubuntu/Components/Popups/DefaultSheet.qml' |
3846 | --- modules/Ubuntu/Components/Popups/DefaultSheet.qml 2013-07-01 05:54:33 +0000 |
3847 | +++ modules/Ubuntu/Components/Popups/DefaultSheet.qml 2014-04-23 10:12:48 +0000 |
3848 | @@ -15,12 +15,12 @@ |
3849 | */ |
3850 | |
3851 | import QtQuick 2.0 |
3852 | -import Ubuntu.Components 0.1 |
3853 | +import Ubuntu.Components 1.0 |
3854 | |
3855 | /*! |
3856 | \qmltype DefaultSheet |
3857 | \inherits SheetBase |
3858 | - \inqmlmodule Ubuntu.Components.Popups 0.1 |
3859 | + \inqmlmodule Ubuntu.Components.Popups 1.0 |
3860 | \ingroup ubuntu-popups |
3861 | \brief The Default Sheet allows an application to insert a content view over the focused view |
3862 | without disrupting the navigation pattern (tabs state or drill-down path are maintained. When |
3863 | @@ -32,8 +32,8 @@ |
3864 | |
3865 | Example: |
3866 | \qml |
3867 | - import Ubuntu.Components 0.1 |
3868 | - import Ubuntu.Components.Popups 0.1 |
3869 | + import Ubuntu.Components 1.0 |
3870 | + import Ubuntu.Components.Popups 1.0 |
3871 | |
3872 | Item { |
3873 | Component { |
3874 | |
3875 | === modified file 'modules/Ubuntu/Components/Popups/Dialog.qml' |
3876 | --- modules/Ubuntu/Components/Popups/Dialog.qml 2013-07-15 10:28:04 +0000 |
3877 | +++ modules/Ubuntu/Components/Popups/Dialog.qml 2014-04-23 10:12:48 +0000 |
3878 | @@ -15,13 +15,13 @@ |
3879 | */ |
3880 | |
3881 | import QtQuick 2.0 |
3882 | -import Ubuntu.Components 0.1 |
3883 | +import Ubuntu.Components 1.0 |
3884 | import "internalPopupUtils.js" as InternalPopupUtils |
3885 | |
3886 | /*! |
3887 | \qmltype Dialog |
3888 | \inherits PopupBase |
3889 | - \inqmlmodule Ubuntu.Components.Popups 0.1 |
3890 | + \inqmlmodule Ubuntu.Components.Popups 1.0 |
3891 | \ingroup ubuntu-popups |
3892 | \brief The Dialog caters for cases in which the application requires the user to determine |
3893 | between optional actions. The Dialog will interrupt the user flow and lock the view |
3894 | @@ -33,8 +33,8 @@ |
3895 | Example: |
3896 | \qml |
3897 | import QtQuick 2.0 |
3898 | - import Ubuntu.Components 0.1 |
3899 | - import Ubuntu.Components.Popups 0.1 |
3900 | + import Ubuntu.Components 1.0 |
3901 | + import Ubuntu.Components.Popups 1.0 |
3902 | |
3903 | Item { |
3904 | width: units.gu(80) |
3905 | |
3906 | === modified file 'modules/Ubuntu/Components/Popups/Popover.qml' |
3907 | --- modules/Ubuntu/Components/Popups/Popover.qml 2014-01-10 15:34:32 +0000 |
3908 | +++ modules/Ubuntu/Components/Popups/Popover.qml 2014-04-23 10:12:48 +0000 |
3909 | @@ -16,12 +16,12 @@ |
3910 | |
3911 | import QtQuick 2.0 |
3912 | import "internalPopupUtils.js" as InternalPopupUtils |
3913 | -import Ubuntu.Components 0.1 |
3914 | +import Ubuntu.Components 1.0 |
3915 | |
3916 | /*! |
3917 | \qmltype Popover |
3918 | \inherits PopupBase |
3919 | - \inqmlmodule Ubuntu.Components.Popups 0.1 |
3920 | + \inqmlmodule Ubuntu.Components.Popups 1.0 |
3921 | \ingroup ubuntu-popups |
3922 | \brief A popover allows an application to present additional content without changing the view. |
3923 | A popover has a fixed width and automatic height, depending on is contents. |
3924 | @@ -32,9 +32,9 @@ |
3925 | Example: |
3926 | \qml |
3927 | import QtQuick 2.0 |
3928 | - import Ubuntu.Components 0.1 |
3929 | - import Ubuntu.Components.ListItems 0.1 as ListItem |
3930 | - import Ubuntu.Components.Popups 0.1 |
3931 | + import Ubuntu.Components 1.0 |
3932 | + import Ubuntu.Components.ListItems 1.0 as ListItem |
3933 | + import Ubuntu.Components.Popups 1.0 |
3934 | |
3935 | Rectangle { |
3936 | color: Theme.palette.normal.background |
3937 | |
3938 | === modified file 'modules/Ubuntu/Components/Popups/PopupBase.qml' |
3939 | --- modules/Ubuntu/Components/Popups/PopupBase.qml 2014-01-08 16:32:38 +0000 |
3940 | +++ modules/Ubuntu/Components/Popups/PopupBase.qml 2014-04-23 10:12:48 +0000 |
3941 | @@ -15,11 +15,11 @@ |
3942 | */ |
3943 | |
3944 | import QtQuick 2.0 |
3945 | -import Ubuntu.Components 0.1 |
3946 | +import Ubuntu.Components 1.0 |
3947 | |
3948 | /*! |
3949 | \qmltype PopupBase |
3950 | - \inqmlmodule Ubuntu.Components.Popups 0.1 |
3951 | + \inqmlmodule Ubuntu.Components.Popups 1.0 |
3952 | \ingroup ubuntu-popups |
3953 | \brief The base class for all dialogs, sheets and popovers. Do not use directly. |
3954 | |
3955 | |
3956 | === modified file 'modules/Ubuntu/Components/Popups/SheetBase.qml' |
3957 | --- modules/Ubuntu/Components/Popups/SheetBase.qml 2013-06-27 15:20:12 +0000 |
3958 | +++ modules/Ubuntu/Components/Popups/SheetBase.qml 2014-04-23 10:12:48 +0000 |
3959 | @@ -15,11 +15,11 @@ |
3960 | */ |
3961 | |
3962 | import QtQuick 2.0 |
3963 | -import Ubuntu.Components 0.1 |
3964 | +import Ubuntu.Components 1.0 |
3965 | |
3966 | /*! |
3967 | \qmltype SheetBase |
3968 | - \inqmlmodule Ubuntu.Components.Popups 0.1 |
3969 | + \inqmlmodule Ubuntu.Components.Popups 1.0 |
3970 | \ingroup ubuntu-popups |
3971 | \brief Parent class of different types of sheets. Not to be used directly. |
3972 | |
3973 | |
3974 | === modified file 'modules/Ubuntu/Components/Popups/qmldir' |
3975 | --- modules/Ubuntu/Components/Popups/qmldir 2013-07-13 14:35:21 +0000 |
3976 | +++ modules/Ubuntu/Components/Popups/qmldir 2014-04-23 10:12:48 +0000 |
3977 | @@ -9,3 +9,14 @@ |
3978 | ActionSelectionPopover 0.1 ActionSelectionPopover.qml |
3979 | |
3980 | PopupUtils 0.1 popupUtils.js |
3981 | + |
3982 | +#version 1.0 |
3983 | +Dialog 1.0 Dialog.qml |
3984 | +PopupBase 1.0 PopupBase.qml |
3985 | +Popover 1.0 Popover.qml |
3986 | +SheetBase 1.0 SheetBase.qml |
3987 | +DefaultSheet 1.0 DefaultSheet.qml |
3988 | +ComposerSheet 1.0 ComposerSheet.qml |
3989 | +ActionSelectionPopover 1.0 ActionSelectionPopover.qml |
3990 | + |
3991 | +PopupUtils 1.0 popupUtils.js |
3992 | |
3993 | === modified file 'modules/Ubuntu/Components/ProgressBar.qml' |
3994 | --- modules/Ubuntu/Components/ProgressBar.qml 2013-08-01 14:06:36 +0000 |
3995 | +++ modules/Ubuntu/Components/ProgressBar.qml 2014-04-23 10:12:48 +0000 |
3996 | @@ -18,7 +18,7 @@ |
3997 | |
3998 | /*! |
3999 | \qmltype ProgressBar |
4000 | - \inqmlmodule Ubuntu.Components 0.1 |
4001 | + \inqmlmodule Ubuntu.Components 1.0 |
4002 | \ingroup ubuntu |
4003 | \brief The ProgressBar component visually indicates the progress of a process of |
4004 | determinate or indeterminate duration. |
4005 | |
4006 | === modified file 'modules/Ubuntu/Components/Scrollbar.qml' |
4007 | --- modules/Ubuntu/Components/Scrollbar.qml 2013-06-27 15:20:12 +0000 |
4008 | +++ modules/Ubuntu/Components/Scrollbar.qml 2014-04-23 10:12:48 +0000 |
4009 | @@ -18,7 +18,7 @@ |
4010 | |
4011 | /*! |
4012 | \qmltype ScrollBar |
4013 | - \inqmlmodule Ubuntu.Components 0.1 |
4014 | + \inqmlmodule Ubuntu.Components 1.0 |
4015 | \ingroup ubuntu |
4016 | \brief The ScrollBar component provides scrolling functionality for |
4017 | scrollable views (i.e. Flickable, ListView). |
4018 | |
4019 | === modified file 'modules/Ubuntu/Components/Slider.qml' |
4020 | --- modules/Ubuntu/Components/Slider.qml 2014-01-08 16:32:38 +0000 |
4021 | +++ modules/Ubuntu/Components/Slider.qml 2014-04-23 10:12:48 +0000 |
4022 | @@ -21,7 +21,7 @@ |
4023 | |
4024 | /*! |
4025 | \qmltype Slider |
4026 | - \inqmlmodule Ubuntu.Components 0.1 |
4027 | + \inqmlmodule Ubuntu.Components 1.0 |
4028 | \ingroup ubuntu |
4029 | \brief Slider is a component to select a value from a continuous range of |
4030 | values. |
4031 | |
4032 | === modified file 'modules/Ubuntu/Components/StyledItem.qml' |
4033 | --- modules/Ubuntu/Components/StyledItem.qml 2013-06-27 15:36:28 +0000 |
4034 | +++ modules/Ubuntu/Components/StyledItem.qml 2014-04-23 10:12:48 +0000 |
4035 | @@ -18,7 +18,7 @@ |
4036 | |
4037 | /*! |
4038 | \qmlabstract StyledItem |
4039 | - \inqmlmodule Ubuntu.Components 0.1 |
4040 | + \inqmlmodule Ubuntu.Components 1.0 |
4041 | \ingroup theming |
4042 | \brief The StyledItem class allows items to be styled by the theme. |
4043 | |
4044 | |
4045 | === modified file 'modules/Ubuntu/Components/Switch.qml' |
4046 | --- modules/Ubuntu/Components/Switch.qml 2013-06-27 15:20:12 +0000 |
4047 | +++ modules/Ubuntu/Components/Switch.qml 2014-04-23 10:12:48 +0000 |
4048 | @@ -21,7 +21,7 @@ |
4049 | |
4050 | /*! |
4051 | \qmltype Switch |
4052 | - \inqmlmodule Ubuntu.Components 0.1 |
4053 | + \inqmlmodule Ubuntu.Components 1.0 |
4054 | \ingroup ubuntu |
4055 | \brief Switch is a component with two states, checked or unchecked. It can |
4056 | be used to set boolean options. The behavior is the same as \l CheckBox, the |
4057 | |
4058 | === modified file 'modules/Ubuntu/Components/Tab.qml' |
4059 | --- modules/Ubuntu/Components/Tab.qml 2014-04-16 11:51:47 +0000 |
4060 | +++ modules/Ubuntu/Components/Tab.qml 2014-04-23 10:12:48 +0000 |
4061 | @@ -18,7 +18,7 @@ |
4062 | |
4063 | /*! |
4064 | \qmltype Tab |
4065 | - \inqmlmodule Ubuntu.Components 0.1 |
4066 | + \inqmlmodule Ubuntu.Components 1.0 |
4067 | \ingroup ubuntu |
4068 | \brief Component to represent a single tab in a \l Tabs environment. |
4069 | |
4070 | |
4071 | === modified file 'modules/Ubuntu/Components/TabBar.qml' |
4072 | --- modules/Ubuntu/Components/TabBar.qml 2014-04-08 12:38:35 +0000 |
4073 | +++ modules/Ubuntu/Components/TabBar.qml 2014-04-23 10:12:48 +0000 |
4074 | @@ -18,7 +18,7 @@ |
4075 | |
4076 | /*! |
4077 | \qmltype TabBar |
4078 | - \inqmlmodule Ubuntu.Components 0.1 |
4079 | + \inqmlmodule Ubuntu.Components 1.0 |
4080 | \ingroup ubuntu |
4081 | \brief Tab bar that will be shown in the header when \l Tabs is active. |
4082 | This component does not need to be instantiated by the developer, it is |
4083 | |
4084 | === modified file 'modules/Ubuntu/Components/Tabs.qml' |
4085 | --- modules/Ubuntu/Components/Tabs.qml 2014-04-16 11:51:47 +0000 |
4086 | +++ modules/Ubuntu/Components/Tabs.qml 2014-04-23 10:12:48 +0000 |
4087 | @@ -18,7 +18,7 @@ |
4088 | |
4089 | /*! |
4090 | \qmltype Tabs |
4091 | - \inqmlmodule Ubuntu.Components 0.1 |
4092 | + \inqmlmodule Ubuntu.Components 1.0 |
4093 | \ingroup ubuntu |
4094 | \brief The Tabs class provides an environment where multible \l Tab |
4095 | children can be added, and the user is presented with a tab |
4096 | @@ -33,8 +33,8 @@ |
4097 | Example: |
4098 | \qml |
4099 | import QtQuick 2.0 |
4100 | - import Ubuntu.Components 0.1 |
4101 | - import Ubuntu.Components.ListItems 0.1 as ListItem |
4102 | + import Ubuntu.Components 1.0 |
4103 | + import Ubuntu.Components.ListItems 1.0 as ListItem |
4104 | |
4105 | MainView { |
4106 | width: units.gu(48) |
4107 | @@ -104,7 +104,7 @@ |
4108 | |
4109 | \qml |
4110 | import QtQuick 2.0 |
4111 | - import Ubuntu.Components 0.1 |
4112 | + import Ubuntu.Components 1.0 |
4113 | |
4114 | MainView { |
4115 | id: mainView |
4116 | |
4117 | === modified file 'modules/Ubuntu/Components/TextArea.qml' |
4118 | --- modules/Ubuntu/Components/TextArea.qml 2014-01-08 16:32:38 +0000 |
4119 | +++ modules/Ubuntu/Components/TextArea.qml 2014-04-23 10:12:48 +0000 |
4120 | @@ -15,11 +15,12 @@ |
4121 | */ |
4122 | |
4123 | import QtQuick 2.0 |
4124 | +import Ubuntu.Components 0.1 as Ubuntu |
4125 | import "mathUtils.js" as MathUtils |
4126 | |
4127 | /*! |
4128 | \qmltype TextArea |
4129 | - \inqmlmodule Ubuntu.Components 0.1 |
4130 | + \inqmlmodule Ubuntu.Components 1.0 |
4131 | \ingroup ubuntu |
4132 | \brief The TextArea item displays a block of editable, scrollable, formatted |
4133 | text. |
4134 | @@ -60,19 +61,34 @@ |
4135 | mode and 4 lines on fixed-mode. The line size is calculated from the font size and the |
4136 | ovarlay and frame spacing specified in the style. |
4137 | |
4138 | + \section2 Scrolling and text selection |
4139 | + The input is activated when the tap or mouse is released after being pressed |
4140 | + over the component. |
4141 | + |
4142 | Scrolling the editing area can happen when the size is fixed or in auto-sizing mode when |
4143 | the content size is bigger than the visible area. The scrolling is realized by swipe |
4144 | gestures, or by navigating the cursor. |
4145 | |
4146 | - The item enters in selection mode when the user performs a long tap (or long mouse press) |
4147 | - or a double tap/press on the text area. The mode is visualized by two selection cursors |
4148 | - (pins) which can be used to select the desired text. The text can also be selected by |
4149 | - moving the finger/mouse towards the desired area right after entering in selection mode. |
4150 | - The way the text is selected is driven by the mouseSelectionMode value, which is either |
4151 | - character or word. The editor leaves the selection mode by pressing/tapping again on it |
4152 | - or by losing focus. |
4153 | - |
4154 | - \b{This component is under heavy development.} |
4155 | + The content can be selected in the following ways: |
4156 | + \list |
4157 | + \li - double tapping/left mouse clicking over the content, when the word that |
4158 | + had been tapped over will be selected |
4159 | + \li - by pressing and dragging the selection cursor over the text input. Note |
4160 | + that there has to be a delay of approx. 200 ms between the press and drag |
4161 | + gesture, time when the input switches from scroll mode to selection mode |
4162 | + \endlist |
4163 | + |
4164 | + The input is focused (activated) upon tap/left mouse button release. The cursor |
4165 | + will be placed at the position the mouse/tap point at release time. If the click |
4166 | + is happening on a selected area, the selection will be cleared. Long press above |
4167 | + a selected area brings up the clipboard context menu. When the long press happens |
4168 | + over a non-selected area, the cursor will be moved to the position and the component |
4169 | + enters in selection mode. The selection mode can also be activated by tapping and |
4170 | + keeping the tap/mouse over for approx 300 ms. If there is a move during this time, |
4171 | + the component enters into scrolling mode. The mode is exited once the scrolling |
4172 | + finishes. During the scrolling mode the selected text is preserved. |
4173 | + |
4174 | + \note During text selection all interactive parent Flickables are turned off. |
4175 | */ |
4176 | |
4177 | StyledItem { |
4178 | @@ -708,7 +724,7 @@ |
4179 | */ |
4180 | function forceActiveFocus() |
4181 | { |
4182 | - internal.activateEditor(); |
4183 | + inputHandler.activateInput(); |
4184 | } |
4185 | |
4186 | // logic |
4187 | @@ -721,6 +737,13 @@ |
4188 | // activation area on mouse click |
4189 | // the editor activates automatically when pressed in the editor control, |
4190 | // however that one can be slightly spaced to the main control area |
4191 | + MouseArea { |
4192 | + anchors.fill: parent |
4193 | + enabled: internal.frameSpacing > 0 |
4194 | + // activate input when pressed on the frame |
4195 | + preventStealing: false |
4196 | + Ubuntu.Mouse.forwardTo: [inputHandler] |
4197 | + } |
4198 | |
4199 | //internals |
4200 | |
4201 | @@ -744,8 +767,6 @@ |
4202 | LayoutMirroring.enabled: Qt.application.layoutDirection == Qt.RightToLeft |
4203 | LayoutMirroring.childrenInherit: true |
4204 | |
4205 | - /*!\internal */ |
4206 | - property alias __internal: internal |
4207 | QtObject { |
4208 | id: internal |
4209 | // public property locals enabling aliasing |
4210 | @@ -757,23 +778,8 @@ |
4211 | property real inputAreaWidth: control.width - 2 * frameSpacing |
4212 | property real inputAreaHeight: control.height - 2 * frameSpacing |
4213 | //selection properties |
4214 | - property bool draggingMode: false |
4215 | - property bool selectionMode: false |
4216 | property bool prevShowCursor |
4217 | |
4218 | - signal popupTriggered(int pos) |
4219 | - |
4220 | - onDraggingModeChanged: { |
4221 | - if (draggingMode) selectionMode = false; |
4222 | - } |
4223 | - onSelectionModeChanged: { |
4224 | - if (selectionMode) |
4225 | - draggingMode = false; |
4226 | - else { |
4227 | - toggleSelectionCursors(false); |
4228 | - } |
4229 | - } |
4230 | - |
4231 | function toggleSelectionCursors(show) |
4232 | { |
4233 | if (!show) { |
4234 | @@ -788,25 +794,6 @@ |
4235 | } |
4236 | } |
4237 | |
4238 | - function activateEditor() |
4239 | - { |
4240 | - if (!editor.activeFocus) |
4241 | - editor.forceActiveFocus(); |
4242 | - else |
4243 | - showInputPanel(); |
4244 | - |
4245 | - } |
4246 | - |
4247 | - function showInputPanel() |
4248 | - { |
4249 | - if (!Qt.inputMethod.visible) |
4250 | - Qt.inputMethod.show(); |
4251 | - } |
4252 | - function hideInputPanel() |
4253 | - { |
4254 | - Qt.inputMethod.hide(); |
4255 | - } |
4256 | - |
4257 | function linesHeight(lines) |
4258 | { |
4259 | var lineHeight = editor.font.pixelSize * lines + lineSpacing * lines |
4260 | @@ -822,24 +809,6 @@ |
4261 | control.height = linesHeight(MathUtils.clamp(control.lineCount, 1, max)); |
4262 | } |
4263 | } |
4264 | - |
4265 | - function enterSelectionMode(x, y) |
4266 | - { |
4267 | - if (undefined !== x && undefined !== y) { |
4268 | - control.cursorPosition = control.positionAt(x, y); |
4269 | - control.moveCursorSelection(control.cursorPosition + 1); |
4270 | - } |
4271 | - toggleSelectionCursors(true); |
4272 | - } |
4273 | - |
4274 | - function positionCursor(x, y) { |
4275 | - var cursorPos = control.positionAt(x, y); |
4276 | - if (control.selectedText === "") |
4277 | - control.cursorPosition = cursorPos; |
4278 | - else if (control.selectionStart > cursorPos || control.selectionEnd < cursorPos) { |
4279 | - control.cursorPosition = cursorPos; |
4280 | - } |
4281 | - } |
4282 | } |
4283 | |
4284 | // grab Enter/Return keys which may be stolen from parent components of TextArea |
4285 | @@ -869,7 +838,7 @@ |
4286 | popover: control.popover |
4287 | visible: editor.cursorVisible |
4288 | |
4289 | - Component.onCompleted: internal.popupTriggered.connect(cursorItem.openPopover) |
4290 | + Component.onCompleted: inputHandler.pressAndHold.connect(cursorItem.openPopover) |
4291 | } |
4292 | } |
4293 | // selection cursor loader |
4294 | @@ -922,6 +891,7 @@ |
4295 | } |
4296 | Flickable { |
4297 | id: flicker |
4298 | + objectName: "textarea_scroller" |
4299 | anchors { |
4300 | fill: parent |
4301 | margins: internal.frameSpacing |
4302 | @@ -929,38 +899,23 @@ |
4303 | clip: true |
4304 | contentWidth: editor.paintedWidth |
4305 | contentHeight: editor.paintedHeight |
4306 | - interactive: !autoSize || (autoSize && maximumLineCount > 0) |
4307 | // do not allow rebounding |
4308 | boundsBehavior: Flickable.StopAtBounds |
4309 | - pressDelay: 500 |
4310 | - |
4311 | - function ensureVisible(r) |
4312 | - { |
4313 | - if (moving || flicking) |
4314 | - return; |
4315 | - if (contentX >= r.x) |
4316 | - contentX = r.x; |
4317 | - else if (contentX+width <= r.x+r.width) |
4318 | - contentX = r.x+r.width-width; |
4319 | - if (contentY >= r.y) |
4320 | - contentY = r.y; |
4321 | - else if (contentY+height <= r.y+r.height) |
4322 | - contentY = r.y+r.height-height; |
4323 | - } |
4324 | |
4325 | // editor |
4326 | // Images are not shown when text contains <img> tags |
4327 | // bug to watch: https://bugreports.qt-project.org/browse/QTBUG-27071 |
4328 | TextEdit { |
4329 | + objectName: "textarea_input" |
4330 | readOnly: false |
4331 | id: editor |
4332 | focus: true |
4333 | - onCursorRectangleChanged: flicker.ensureVisible(cursorRectangle) |
4334 | width: internal.inputAreaWidth |
4335 | height: Math.max(internal.inputAreaHeight, editor.contentHeight) |
4336 | wrapMode: TextEdit.WrapAtWordBoundaryOrAnywhere |
4337 | mouseSelectionMode: TextEdit.SelectWords |
4338 | selectByMouse: false |
4339 | + activeFocusOnPress: false |
4340 | cursorDelegate: cursor |
4341 | color: control.__styleInstance.color |
4342 | selectedTextColor: Theme.palette.selected.foregroundText |
4343 | @@ -972,55 +927,15 @@ |
4344 | // autosize handling |
4345 | onLineCountChanged: internal.frameSize() |
4346 | |
4347 | - // remove selection when typing starts or input method start entering text |
4348 | - onInputMethodComposingChanged: { |
4349 | - if (inputMethodComposing) |
4350 | - internal.selectionMode = false; |
4351 | - } |
4352 | - Keys.onPressed: { |
4353 | - if ((event.text !== "")) |
4354 | - internal.selectionMode = false; |
4355 | - } |
4356 | - Keys.onReleased: { |
4357 | - // selection positioners are updated after the keypress |
4358 | - if (selectionStart == selectionEnd) |
4359 | - internal.selectionMode = false; |
4360 | - } |
4361 | - |
4362 | - // handling text selection |
4363 | - MouseArea { |
4364 | - id: handler |
4365 | - enabled: control.enabled && control.activeFocusOnPress |
4366 | + // input selection and navigation handling |
4367 | + Ubuntu.Mouse.forwardTo: [inputHandler] |
4368 | + InputHandler { |
4369 | + id: inputHandler |
4370 | anchors.fill: parent |
4371 | - propagateComposedEvents: true |
4372 | - |
4373 | - onPressed: { |
4374 | - internal.activateEditor(); |
4375 | - internal.draggingMode = true; |
4376 | - } |
4377 | - onPressAndHold: { |
4378 | - // move mode gets false if there was a mouse move after the press; |
4379 | - // this is needed as Flickable will send a pressAndHold in case of |
4380 | - // press -> move-pressed ->stop-and-hold-pressed gesture is performed |
4381 | - if (!internal.draggingMode) |
4382 | - return; |
4383 | - internal.draggingMode = false; |
4384 | - // open popup |
4385 | - internal.positionCursor(mouse.x, mouse.y); |
4386 | - internal.popupTriggered(editor.cursorPosition); |
4387 | - } |
4388 | - onReleased: { |
4389 | - internal.draggingMode = false; |
4390 | - } |
4391 | - onDoubleClicked: { |
4392 | - internal.activateEditor(); |
4393 | - if (control.selectByMouse) |
4394 | - control.selectWord(); |
4395 | - } |
4396 | - onClicked: { |
4397 | - internal.activateEditor(); |
4398 | - internal.positionCursor(mouse.x, mouse.y); |
4399 | - } |
4400 | + main: control |
4401 | + input: editor |
4402 | + flickable: flicker |
4403 | + selectionModeTimeout: control.__styleInstance.selectionModeTimeout |
4404 | } |
4405 | } |
4406 | } |
4407 | |
4408 | === modified file 'modules/Ubuntu/Components/TextField.qml' |
4409 | --- modules/Ubuntu/Components/TextField.qml 2014-03-17 17:58:47 +0000 |
4410 | +++ modules/Ubuntu/Components/TextField.qml 2014-04-23 10:12:48 +0000 |
4411 | @@ -16,10 +16,11 @@ |
4412 | |
4413 | import QtQuick 2.0 |
4414 | import Ubuntu.Unity.Action 1.1 as UnityActions |
4415 | +import Ubuntu.Components 0.1 as Ubuntu |
4416 | |
4417 | /*! |
4418 | \qmltype TextField |
4419 | - \inqmlmodule Ubuntu.Components 0.1 |
4420 | + \inqmlmodule Ubuntu.Components 1.0 |
4421 | \ingroup ubuntu |
4422 | \brief The TextField element displays a single line of editable plain text. |
4423 | Input constraints can be set through validator or inputMask. Setting echoMode |
4424 | @@ -70,6 +71,34 @@ |
4425 | } |
4426 | } |
4427 | \endqml |
4428 | + |
4429 | + \section2 Scrolling and text selection |
4430 | + The input is activated when the tap or mouse is released after being pressed |
4431 | + over the component. |
4432 | + |
4433 | + The text can be scrolled horizontally by swiping over the content both when |
4434 | + the component is active or inactive. |
4435 | + |
4436 | + The content can be selected in the following ways: |
4437 | + \list |
4438 | + \li - double tapping/left mouse clicking over the content, when the word that |
4439 | + had been tapped over will be selected |
4440 | + \li - by pressing and dragging the selection cursor over the text input. Note |
4441 | + that there has to be a delay of approx. 200 ms between the press and drag |
4442 | + gesture, time when the input switches from scroll mode to selection mode |
4443 | + \endlist |
4444 | + |
4445 | + The input is focused (activated) upon tap/left mouse button release. The cursor |
4446 | + will be placed at the position the mouse/tap point at release time. If the click |
4447 | + is happening on a selected area, the selection will be cleared. Long press above |
4448 | + a selected area brings up the clipboard context menu. When the long press happens |
4449 | + over a non-selected area, the cursor will be moved to the position and the component |
4450 | + enters in selection mode. The selection mode can also be activated by tapping and |
4451 | + keeping the tap/mouse over for approx 300 ms. If there is a move during this time, |
4452 | + the component enters into scrolling mode. The mode is exited once the scrolling |
4453 | + finishes. During the scrolling mode the selected text is preserved. |
4454 | + |
4455 | + \note During text selection all interactive parent Flickables are turned off. |
4456 | */ |
4457 | |
4458 | ActionItem { |
4459 | @@ -98,10 +127,11 @@ |
4460 | property bool hasClearButton: true |
4461 | |
4462 | /*! |
4463 | - \preliminary |
4464 | + \deprecated |
4465 | Component to be shown and used instead of the default On Screen Keyboard. |
4466 | */ |
4467 | property Component customSoftwareInputPanel |
4468 | + onCustomSoftwareInputPanelChanged: console.error("customSoftwareInputPanel property deprecated.") |
4469 | |
4470 | /*! |
4471 | The property overrides the default popover of the TextField. When set, the TextField |
4472 | @@ -146,10 +176,8 @@ |
4473 | /*! |
4474 | Whether the TextField should gain active focus on a mouse press. By default |
4475 | this is set to true. |
4476 | - |
4477 | - \qmlproperty bool activeFocusOnPress |
4478 | */ |
4479 | - property alias activeFocusOnPress: editor.activeFocusOnPress |
4480 | + property bool activeFocusOnPress: true |
4481 | |
4482 | /*! |
4483 | Whether the TextField should scroll when the text is longer than the width. |
4484 | @@ -446,11 +474,8 @@ |
4485 | |
4486 | If false, the user cannot use the mouse to select text, only can use it to |
4487 | focus the input. |
4488 | - |
4489 | - \qmlproperty bool selectByMouse |
4490 | - \preliminary |
4491 | */ |
4492 | - property alias selectByMouse: virtualKbdHandler.enabled |
4493 | + property bool selectByMouse: true |
4494 | |
4495 | /*! |
4496 | This read-only property provides the text currently selected in the text input. |
4497 | @@ -504,7 +529,7 @@ |
4498 | |
4499 | \qml |
4500 | import QtQuick 2.0 |
4501 | - import Ubuntu.Components 0.1 |
4502 | + import Ubuntu.Components 1.0 |
4503 | TextField{ |
4504 | validator: IntValidator{bottom: 11; top: 31;} |
4505 | focus: true |
4506 | @@ -719,7 +744,7 @@ |
4507 | */ |
4508 | function forceActiveFocus() |
4509 | { |
4510 | - internal.activateEditor(); |
4511 | + inputHandler.activateInput(); |
4512 | } |
4513 | |
4514 | /*! |
4515 | @@ -817,25 +842,20 @@ |
4516 | anchors.fill: parent |
4517 | // us it only when there is space between the frame and input |
4518 | enabled: internal.spacing > 0 |
4519 | - onClicked: internal.activateEditor() |
4520 | + preventStealing: false |
4521 | + // forward mouse events to input so we can handle those uniformly |
4522 | + Ubuntu.Mouse.forwardTo: [inputHandler] |
4523 | } |
4524 | |
4525 | Text { id: fontHolder } |
4526 | |
4527 | //internals |
4528 | - /*! \internal */ |
4529 | - property alias __internal: internal |
4530 | QtObject { |
4531 | id: internal |
4532 | // array of borders in left, top, right, bottom order |
4533 | - property bool textChanged: false |
4534 | property real spacing: control.__styleInstance.overlaySpacing |
4535 | property real lineSpacing: units.dp(3) |
4536 | property real lineSize: editor.font.pixelSize + lineSpacing |
4537 | - //selection properties |
4538 | - property bool selectionMode: false |
4539 | - |
4540 | - signal popupTriggered() |
4541 | |
4542 | property int type: action ? action.parameterType : 0 |
4543 | onTypeChanged: { |
4544 | @@ -847,54 +867,6 @@ |
4545 | || type == UnityActions.Action.Real) |
4546 | inputMethodHints = Qt.ImhDigitsOnly |
4547 | } |
4548 | - |
4549 | - function activateEditor() |
4550 | - { |
4551 | - if (!editor.activeFocus) |
4552 | - editor.forceActiveFocus(); |
4553 | - else |
4554 | - showInputPanel(); |
4555 | - } |
4556 | - |
4557 | - function showInputPanel() |
4558 | - { |
4559 | - if (control.customSoftwareInputPanel != undefined) { |
4560 | - // TODO implement once we have the SIP ready |
4561 | - } else { |
4562 | - if (!Qt.inputMethod.visible) |
4563 | - Qt.inputMethod.show(); |
4564 | - } |
4565 | - textChanged = false; |
4566 | - } |
4567 | - function hideInputPanel() |
4568 | - { |
4569 | - if (control.customSoftwareInputPanel != undefined) { |
4570 | - // TODO implement once we have the SIP ready |
4571 | - } else { |
4572 | - Qt.inputMethod.hide(); |
4573 | - } |
4574 | - // emit accepted signal if changed |
4575 | - if (textChanged) |
4576 | - control.accepted(); |
4577 | - } |
4578 | - // reset selection |
4579 | - function resetEditorSelection(mouseX) |
4580 | - { |
4581 | - editor.cursorPosition = editor.positionAt(mouseX); |
4582 | - } |
4583 | - |
4584 | - // positions the cursor depending on whether there is a selection active or not |
4585 | - function positionCursor(x) { |
4586 | - |
4587 | - var cursorPos = control.positionAt(x); |
4588 | - if (control.selectedText === "") { |
4589 | - control.cursorPosition = cursorPos; |
4590 | - } |
4591 | - // If target cursor position is outside selection then cancel selection and move cursor |
4592 | - else if (control.selectionStart > cursorPos || control.selectionEnd < cursorPos) { |
4593 | - control.cursorPosition = cursorPos; |
4594 | - } |
4595 | - } |
4596 | } |
4597 | |
4598 | //left pane |
4599 | @@ -947,7 +919,7 @@ |
4600 | popover: control.popover |
4601 | visible: editor.cursorVisible |
4602 | |
4603 | - Component.onCompleted: internal.popupTriggered.connect(openPopover) |
4604 | + Component.onCompleted: inputHandler.pressAndHold.connect(openPopover) |
4605 | } |
4606 | } |
4607 | |
4608 | @@ -999,79 +971,55 @@ |
4609 | |
4610 | |
4611 | // text input |
4612 | - TextInput { |
4613 | - id: editor |
4614 | - // FocusScope will forward focus to this component |
4615 | - focus: true |
4616 | + Flickable { |
4617 | + id: flicker |
4618 | + objectName: "textfield_scroller" |
4619 | anchors { |
4620 | left: leftPane.right |
4621 | right: clearButton.left |
4622 | + top: parent.top |
4623 | + bottom: parent.bottom |
4624 | margins: internal.spacing |
4625 | - verticalCenter: parent.verticalCenter |
4626 | } |
4627 | - // get the control's style |
4628 | + topMargin: internal.spacing |
4629 | + // do not allow rebounding |
4630 | + boundsBehavior: Flickable.StopAtBounds |
4631 | + // need to forward events as events occurred on topMargin area are not grabbed by the MouseArea. |
4632 | + Ubuntu.Mouse.forwardTo: [inputHandler] |
4633 | + |
4634 | clip: true |
4635 | - onTextChanged: internal.textChanged = true |
4636 | - cursorDelegate: cursor |
4637 | - color: control.__styleInstance.color |
4638 | - selectedTextColor: Theme.palette.selected.foregroundText |
4639 | - selectionColor: Theme.palette.selected.foreground |
4640 | - font.pixelSize: FontUtils.sizeToPixels("medium") |
4641 | - passwordCharacter: "\u2022" |
4642 | - // forward keys to the root element so it can be captured outside of it |
4643 | - Keys.forwardTo: [control] |
4644 | - |
4645 | - // handle virtual keyboard and cursor positioning, as the MouseArea overrides |
4646 | - // those functionalities of the TextInput |
4647 | - MouseArea { |
4648 | - id: virtualKbdHandler |
4649 | - anchors.fill: parent |
4650 | - hoverEnabled: true |
4651 | - preventStealing: true |
4652 | - |
4653 | - onClicked: { |
4654 | - // activate control |
4655 | - if (!control.activeFocus) { |
4656 | - internal.activateEditor(); |
4657 | - // set cursor position if no selection was previously set |
4658 | - internal.positionCursor(mouse.x) |
4659 | - } else if (!internal.selectionMode){ |
4660 | - // reset selection and move cursor unde mouse click |
4661 | - internal.resetEditorSelection(mouse.x); |
4662 | - } else if (internal.selectionMode) { |
4663 | - // reset selection mode (onReleased is triggered prior to onClicked |
4664 | - // and resetting selection mode there would cause to enter in the\ |
4665 | - // previous if-clause |
4666 | - internal.selectionMode = false; |
4667 | - } |
4668 | - } |
4669 | - |
4670 | - onPressAndHold: { |
4671 | - internal.activateEditor(); |
4672 | - internal.positionCursor(mouse.x); |
4673 | - internal.popupTriggered(); |
4674 | - } |
4675 | - |
4676 | - onDoubleClicked: { |
4677 | - // select word under doubletap |
4678 | - if (!control.activeFocus) |
4679 | - return; |
4680 | - editor.selectWord(); |
4681 | - internal.selectionMode = false; |
4682 | - } |
4683 | - onPressed: { |
4684 | - // don't do anything while the control is inactive |
4685 | - if (!control.activeFocus || (pressedButtons != Qt.LeftButton)) |
4686 | - return; |
4687 | - internal.activateEditor(); |
4688 | - if (control.selectedText === "") { |
4689 | - internal.resetEditorSelection(mouse.x); |
4690 | - internal.selectionMode = true; |
4691 | - } |
4692 | - } |
4693 | - onReleased: { |
4694 | - if (!containsMouse) |
4695 | - internal.selectionMode = false; |
4696 | + contentWidth: editor.contentWidth |
4697 | + contentHeight: editor.contentHeight |
4698 | + |
4699 | + TextInput { |
4700 | + id: editor |
4701 | + // FocusScope will forward focus to this component |
4702 | + focus: true |
4703 | + anchors.verticalCenter: parent.verticalCenter |
4704 | + // get the control's style |
4705 | + clip: true |
4706 | + cursorDelegate: cursor |
4707 | + color: control.__styleInstance.color |
4708 | + selectedTextColor: Theme.palette.selected.foregroundText |
4709 | + selectionColor: Theme.palette.selected.foreground |
4710 | + font.pixelSize: FontUtils.sizeToPixels("medium") |
4711 | + passwordCharacter: "\u2022" |
4712 | + // forward keys to the root element so it can be captured outside of it |
4713 | + Keys.forwardTo: [control] |
4714 | + |
4715 | + // overrides |
4716 | + selectByMouse: false |
4717 | + activeFocusOnPress: false |
4718 | + |
4719 | + // input selection and navigation handling |
4720 | + Ubuntu.Mouse.forwardTo: [inputHandler] |
4721 | + InputHandler { |
4722 | + id: inputHandler |
4723 | + anchors.fill: parent |
4724 | + main: control |
4725 | + input: editor |
4726 | + flickable: flicker |
4727 | + selectionModeTimeout: control.__styleInstance.selectionModeTimeout |
4728 | } |
4729 | } |
4730 | } |
4731 | |
4732 | === modified file 'modules/Ubuntu/Components/TextInputPopover.qml' |
4733 | --- modules/Ubuntu/Components/TextInputPopover.qml 2014-03-17 18:17:23 +0000 |
4734 | +++ modules/Ubuntu/Components/TextInputPopover.qml 2014-04-23 10:12:48 +0000 |
4735 | @@ -15,7 +15,7 @@ |
4736 | */ |
4737 | |
4738 | import QtQuick 2.0 |
4739 | -import Ubuntu.Components 0.1 as Toolkit |
4740 | +import Ubuntu.Components 1.0 as Toolkit |
4741 | import "Popups" 0.1 |
4742 | |
4743 | ActionSelectionPopover { |
4744 | |
4745 | === modified file 'modules/Ubuntu/Components/Themes/Ambiance/ActivityIndicatorStyle.qml' |
4746 | --- modules/Ubuntu/Components/Themes/Ambiance/ActivityIndicatorStyle.qml 2013-06-27 15:20:12 +0000 |
4747 | +++ modules/Ubuntu/Components/Themes/Ambiance/ActivityIndicatorStyle.qml 2014-04-23 10:12:48 +0000 |
4748 | @@ -15,7 +15,7 @@ |
4749 | */ |
4750 | |
4751 | import QtQuick 2.0 |
4752 | -import Ubuntu.Components 0.1 |
4753 | +import Ubuntu.Components 1.0 |
4754 | |
4755 | Image { |
4756 | id: container |
4757 | |
4758 | === modified file 'modules/Ubuntu/Components/Themes/Ambiance/BubbleShape.qml' |
4759 | --- modules/Ubuntu/Components/Themes/Ambiance/BubbleShape.qml 2013-08-21 15:35:56 +0000 |
4760 | +++ modules/Ubuntu/Components/Themes/Ambiance/BubbleShape.qml 2014-04-23 10:12:48 +0000 |
4761 | @@ -15,7 +15,7 @@ |
4762 | */ |
4763 | |
4764 | import QtQuick 2.0 |
4765 | -import Ubuntu.Components 0.1 |
4766 | +import Ubuntu.Components 1.0 |
4767 | |
4768 | Item { |
4769 | id: bubbleShape |
4770 | |
4771 | === modified file 'modules/Ubuntu/Components/Themes/Ambiance/ButtonForeground.qml' |
4772 | --- modules/Ubuntu/Components/Themes/Ambiance/ButtonForeground.qml 2013-07-01 22:26:49 +0000 |
4773 | +++ modules/Ubuntu/Components/Themes/Ambiance/ButtonForeground.qml 2014-04-23 10:12:48 +0000 |
4774 | @@ -17,7 +17,7 @@ |
4775 | */ |
4776 | |
4777 | import QtQuick 2.0 |
4778 | -import Ubuntu.Components 0.1 |
4779 | +import Ubuntu.Components 1.0 |
4780 | |
4781 | Item { |
4782 | id: buttonForeground |
4783 | |
4784 | === modified file 'modules/Ubuntu/Components/Themes/Ambiance/ButtonStyle.qml' |
4785 | --- modules/Ubuntu/Components/Themes/Ambiance/ButtonStyle.qml 2014-02-04 22:07:10 +0000 |
4786 | +++ modules/Ubuntu/Components/Themes/Ambiance/ButtonStyle.qml 2014-04-23 10:12:48 +0000 |
4787 | @@ -17,7 +17,7 @@ |
4788 | */ |
4789 | |
4790 | import QtQuick 2.0 |
4791 | -import Ubuntu.Components 0.1 |
4792 | +import Ubuntu.Components 1.0 |
4793 | |
4794 | Item { |
4795 | id: buttonStyle |
4796 | |
4797 | === modified file 'modules/Ubuntu/Components/Themes/Ambiance/CheckBoxStyle.qml' |
4798 | --- modules/Ubuntu/Components/Themes/Ambiance/CheckBoxStyle.qml 2014-02-05 19:59:43 +0000 |
4799 | +++ modules/Ubuntu/Components/Themes/Ambiance/CheckBoxStyle.qml 2014-04-23 10:12:48 +0000 |
4800 | @@ -15,7 +15,7 @@ |
4801 | */ |
4802 | |
4803 | import QtQuick 2.0 |
4804 | -import Ubuntu.Components 0.1 |
4805 | +import Ubuntu.Components 1.0 |
4806 | |
4807 | Item { |
4808 | id: checkBoxStyle |
4809 | |
4810 | === modified file 'modules/Ubuntu/Components/Themes/Ambiance/DatePickerStyle.qml' |
4811 | --- modules/Ubuntu/Components/Themes/Ambiance/DatePickerStyle.qml 2013-12-16 15:07:12 +0000 |
4812 | +++ modules/Ubuntu/Components/Themes/Ambiance/DatePickerStyle.qml 2014-04-23 10:12:48 +0000 |
4813 | @@ -15,8 +15,8 @@ |
4814 | */ |
4815 | |
4816 | import QtQuick 2.0 |
4817 | -import Ubuntu.Components 0.1 |
4818 | -import Ubuntu.Components.ListItems 0.1 |
4819 | +import Ubuntu.Components 1.0 |
4820 | +import Ubuntu.Components.ListItems 1.0 |
4821 | |
4822 | Item { |
4823 | id: control |
4824 | |
4825 | === modified file 'modules/Ubuntu/Components/Themes/Ambiance/DialerHandStyle.qml' |
4826 | --- modules/Ubuntu/Components/Themes/Ambiance/DialerHandStyle.qml 2013-09-12 09:17:11 +0000 |
4827 | +++ modules/Ubuntu/Components/Themes/Ambiance/DialerHandStyle.qml 2014-04-23 10:12:48 +0000 |
4828 | @@ -15,7 +15,7 @@ |
4829 | */ |
4830 | |
4831 | import QtQuick 2.0 |
4832 | -import Ubuntu.Components 0.1 |
4833 | +import Ubuntu.Components 1.0 |
4834 | |
4835 | Item { |
4836 | // style API |
4837 | |
4838 | === modified file 'modules/Ubuntu/Components/Themes/Ambiance/DialerStyle.qml' |
4839 | --- modules/Ubuntu/Components/Themes/Ambiance/DialerStyle.qml 2013-09-24 14:22:16 +0000 |
4840 | +++ modules/Ubuntu/Components/Themes/Ambiance/DialerStyle.qml 2014-04-23 10:12:48 +0000 |
4841 | @@ -15,7 +15,7 @@ |
4842 | */ |
4843 | |
4844 | import QtQuick 2.0 |
4845 | -import Ubuntu.Components 0.1 |
4846 | +import Ubuntu.Components 1.0 |
4847 | import QtGraphicalEffects 1.0 |
4848 | |
4849 | // FIXME: Replace this once UbuntuShape support for gradients and shading has landed |
4850 | |
4851 | === modified file 'modules/Ubuntu/Components/Themes/Ambiance/DialogForegroundStyle.qml' |
4852 | --- modules/Ubuntu/Components/Themes/Ambiance/DialogForegroundStyle.qml 2013-07-13 15:35:59 +0000 |
4853 | +++ modules/Ubuntu/Components/Themes/Ambiance/DialogForegroundStyle.qml 2014-04-23 10:12:48 +0000 |
4854 | @@ -15,7 +15,7 @@ |
4855 | */ |
4856 | |
4857 | import QtQuick 2.0 |
4858 | -import Ubuntu.Components 0.1 |
4859 | +import Ubuntu.Components 1.0 |
4860 | |
4861 | Item { |
4862 | id: dialogForegroundStyle |
4863 | |
4864 | === modified file 'modules/Ubuntu/Components/Themes/Ambiance/HeaderStyle.qml' |
4865 | --- modules/Ubuntu/Components/Themes/Ambiance/HeaderStyle.qml 2014-03-12 09:36:00 +0000 |
4866 | +++ modules/Ubuntu/Components/Themes/Ambiance/HeaderStyle.qml 2014-04-23 10:12:48 +0000 |
4867 | @@ -14,7 +14,7 @@ |
4868 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
4869 | */ |
4870 | import QtQuick 2.0 |
4871 | -import Ubuntu.Components 0.1 |
4872 | +import Ubuntu.Components 1.0 |
4873 | |
4874 | Item { |
4875 | id: headerStyle |
4876 | |
4877 | === modified file 'modules/Ubuntu/Components/Themes/Ambiance/ListItemOptionSelectorStyle.qml' |
4878 | --- modules/Ubuntu/Components/Themes/Ambiance/ListItemOptionSelectorStyle.qml 2013-09-03 10:12:39 +0000 |
4879 | +++ modules/Ubuntu/Components/Themes/Ambiance/ListItemOptionSelectorStyle.qml 2014-04-23 10:12:48 +0000 |
4880 | @@ -16,7 +16,7 @@ |
4881 | */ |
4882 | |
4883 | import QtQuick 2.0 |
4884 | -import Ubuntu.Components 0.1 |
4885 | +import Ubuntu.Components 1.0 |
4886 | |
4887 | Item { |
4888 | id: ambianceStyle |
4889 | |
4890 | === modified file 'modules/Ubuntu/Components/Themes/Ambiance/MainViewStyle.qml' |
4891 | --- modules/Ubuntu/Components/Themes/Ambiance/MainViewStyle.qml 2014-02-07 16:13:47 +0000 |
4892 | +++ modules/Ubuntu/Components/Themes/Ambiance/MainViewStyle.qml 2014-04-23 10:12:48 +0000 |
4893 | @@ -14,7 +14,7 @@ |
4894 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
4895 | */ |
4896 | import QtQuick 2.0 |
4897 | -import Ubuntu.Components 0.1 |
4898 | +import Ubuntu.Components 1.0 |
4899 | |
4900 | Item { |
4901 | // styling properties |
4902 | |
4903 | === modified file 'modules/Ubuntu/Components/Themes/Ambiance/OptionSelectorStyle.qml' |
4904 | --- modules/Ubuntu/Components/Themes/Ambiance/OptionSelectorStyle.qml 2013-08-28 10:43:46 +0000 |
4905 | +++ modules/Ubuntu/Components/Themes/Ambiance/OptionSelectorStyle.qml 2014-04-23 10:12:48 +0000 |
4906 | @@ -16,7 +16,7 @@ |
4907 | */ |
4908 | |
4909 | import QtQuick 2.0 |
4910 | -import Ubuntu.Components 0.1 |
4911 | +import Ubuntu.Components 1.0 |
4912 | |
4913 | Item { |
4914 | id: ambianceStyle |
4915 | |
4916 | === modified file 'modules/Ubuntu/Components/Themes/Ambiance/PickerDelegateStyle.qml' |
4917 | --- modules/Ubuntu/Components/Themes/Ambiance/PickerDelegateStyle.qml 2014-03-06 10:46:17 +0000 |
4918 | +++ modules/Ubuntu/Components/Themes/Ambiance/PickerDelegateStyle.qml 2014-04-23 10:12:48 +0000 |
4919 | @@ -15,7 +15,7 @@ |
4920 | */ |
4921 | |
4922 | import QtQuick 2.0 |
4923 | -import Ubuntu.Components 0.1 |
4924 | +import Ubuntu.Components 1.0 |
4925 | |
4926 | Item { |
4927 | property real minFade: 0.2 |
4928 | |
4929 | === modified file 'modules/Ubuntu/Components/Themes/Ambiance/PickerStyle.qml' |
4930 | --- modules/Ubuntu/Components/Themes/Ambiance/PickerStyle.qml 2013-12-12 14:10:17 +0000 |
4931 | +++ modules/Ubuntu/Components/Themes/Ambiance/PickerStyle.qml 2014-04-23 10:12:48 +0000 |
4932 | @@ -15,8 +15,8 @@ |
4933 | */ |
4934 | |
4935 | import QtQuick 2.0 |
4936 | -import Ubuntu.Components 0.1 |
4937 | -import Ubuntu.Components.ListItems 0.1 |
4938 | +import Ubuntu.Components 1.0 |
4939 | +import Ubuntu.Components.ListItems 1.0 |
4940 | |
4941 | Item { |
4942 | id: control |
4943 | |
4944 | === modified file 'modules/Ubuntu/Components/Themes/Ambiance/ProgressBarStyle.qml' |
4945 | --- modules/Ubuntu/Components/Themes/Ambiance/ProgressBarStyle.qml 2014-02-04 22:07:10 +0000 |
4946 | +++ modules/Ubuntu/Components/Themes/Ambiance/ProgressBarStyle.qml 2014-04-23 10:12:48 +0000 |
4947 | @@ -15,7 +15,7 @@ |
4948 | */ |
4949 | |
4950 | import QtQuick 2.0 |
4951 | -import Ubuntu.Components 0.1 |
4952 | +import Ubuntu.Components 1.0 |
4953 | |
4954 | Item { |
4955 | id: progressBarStyle |
4956 | |
4957 | === modified file 'modules/Ubuntu/Components/Themes/Ambiance/ProgressionVisualStyle.qml' |
4958 | --- modules/Ubuntu/Components/Themes/Ambiance/ProgressionVisualStyle.qml 2014-01-08 16:32:38 +0000 |
4959 | +++ modules/Ubuntu/Components/Themes/Ambiance/ProgressionVisualStyle.qml 2014-04-23 10:12:48 +0000 |
4960 | @@ -15,7 +15,7 @@ |
4961 | */ |
4962 | |
4963 | import QtQuick 2.0 |
4964 | -import Ubuntu.Components 0.1 |
4965 | +import Ubuntu.Components 1.0 |
4966 | |
4967 | Item { |
4968 | id: progressionVisualStyle |
4969 | |
4970 | === modified file 'modules/Ubuntu/Components/Themes/Ambiance/ScrollbarStyle.qml' |
4971 | --- modules/Ubuntu/Components/Themes/Ambiance/ScrollbarStyle.qml 2014-02-06 14:07:33 +0000 |
4972 | +++ modules/Ubuntu/Components/Themes/Ambiance/ScrollbarStyle.qml 2014-04-23 10:12:48 +0000 |
4973 | @@ -15,7 +15,7 @@ |
4974 | */ |
4975 | |
4976 | import QtQuick 2.0 |
4977 | -import Ubuntu.Components 0.1 |
4978 | +import Ubuntu.Components 1.0 |
4979 | |
4980 | /* |
4981 | The visuals handle both active and passive modes. This behavior is driven yet by |
4982 | |
4983 | === modified file 'modules/Ubuntu/Components/Themes/Ambiance/SelectionCursorStyle.qml' |
4984 | --- modules/Ubuntu/Components/Themes/Ambiance/SelectionCursorStyle.qml 2013-06-27 15:20:12 +0000 |
4985 | +++ modules/Ubuntu/Components/Themes/Ambiance/SelectionCursorStyle.qml 2014-04-23 10:12:48 +0000 |
4986 | @@ -15,7 +15,7 @@ |
4987 | */ |
4988 | |
4989 | import QtQuick 2.0 |
4990 | -import Ubuntu.Components 0.1 |
4991 | +import Ubuntu.Components 1.0 |
4992 | |
4993 | EditorCursorStyle { |
4994 | id: cursor |
4995 | |
4996 | === modified file 'modules/Ubuntu/Components/Themes/Ambiance/SheetForegroundStyle.qml' |
4997 | --- modules/Ubuntu/Components/Themes/Ambiance/SheetForegroundStyle.qml 2013-06-27 15:20:12 +0000 |
4998 | +++ modules/Ubuntu/Components/Themes/Ambiance/SheetForegroundStyle.qml 2014-04-23 10:12:48 +0000 |
4999 | @@ -15,7 +15,7 @@ |
5000 | */ |
FAILED: Continuous integration, rev:994 jenkins. qa.ubuntu. com/job/ ubuntu- ui-toolkit- ci/1990/ jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- trusty- touch/47 jenkins. qa.ubuntu. com/job/ generic- mediumtests- trusty/ 4543/console jenkins. qa.ubuntu. com/job/ ubuntu- ui-toolkit- trusty- amd64-ci/ 938/console jenkins. qa.ubuntu. com/job/ ubuntu- ui-toolkit- trusty- armhf-ci/ 938 jenkins. qa.ubuntu. com/job/ ubuntu- ui-toolkit- trusty- armhf-ci/ 938/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- runner- mako/53 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- trusty- armhf/4148 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- trusty- armhf/4148/ artifact/ work/output/ *zip*/output. zip s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 5667 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- trusty- amd64/4661/ console
http://
Executed test runs:
UNSTABLE: http://
FAILURE: http://
FAILURE: http://
SUCCESS: http://
deb: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/ubuntu- ui-toolkit- ci/1990/ rebuild
http://