├── .bazaar
├── Makefile
└── plugins
│ └── makecheck_unity_phablet.py
├── .bzr-builddeb
└── default.conf
├── .bzrignore
├── .crossbuilder
└── post_deploy
├── .gitignore
├── .project
├── .pydevproject
├── .settings
├── Autopilot List.launch
└── Autopilot Run.launch
├── CMakeLists.txt
├── CODING
├── COPYING
├── COPYING.LGPL
├── LGPL_EXCEPTION.txt
├── build.sh
├── cmake
└── modules
│ ├── EnableCoverageReport.cmake
│ ├── FindLcov.cmake
│ ├── Findgcovr.cmake
│ ├── ParseArguments.cmake
│ ├── QmlPlugins.cmake
│ ├── QmlTest.cmake
│ └── autopilot.cmake
├── data
├── 51-unity8-greeter.conf
├── CMakeLists.txt
├── com.canonical.Unity8.gschema.xml
├── devices.conf
├── indicators-client.desktop.in
├── unity-mock-indicator-service.conf
├── unity8-dash.desktop.in
├── unity8-dash.png
├── unity8-dash.svg
├── unity8-dash.url-dispatcher
├── unity8-filewatcher.conf
├── unity8-greeter-init.conf
├── unity8-greeter-logrotate.conf
├── unity8-greeter-wrapper
├── unity8-greeter.desktop.in
├── unity8-greeter.pkla
├── unity8.conf
└── unity8.desktop.in
├── debian
├── bileto_pre_release_hook
├── changelog
├── compat
├── control
├── copyright
├── indicators-client.install
├── rules
├── shlibs.local
├── source
│ └── format
├── tests
│ ├── autopilot.sh
│ ├── control
│ └── qmluitests.sh
├── unity-scope-tool.install
├── unity8-autopilot.install
├── unity8-common.install
├── unity8-common.udev
├── unity8-doc.install
├── unity8-greeter.install
├── unity8-private.install
├── unity8-tests.install
├── unity8-tests.lintian-overrides
├── unity8.install
├── unity8.maintscript
└── usr.bin.unity8-dash
├── doc
├── CMakeLists.txt
├── DirectionalDragArea.svg
├── Doxyfile.in
└── devices.conf
├── include
├── CMakeLists.txt
└── paths.h.in
├── plugins
├── AccountsService
│ ├── AccountsService.cpp
│ ├── AccountsService.h
│ ├── AccountsServiceDBusAdaptor.cpp
│ ├── AccountsServiceDBusAdaptor.h
│ ├── CMakeLists.txt
│ ├── com.canonical.unity.AccountsService.xml
│ ├── plugin.cpp
│ ├── plugin.h
│ └── qmldir
├── CMakeLists.txt
├── Cursor
│ ├── 3rd_party
│ │ ├── CMakeLists.txt
│ │ └── xcursor
│ │ │ ├── CMakeLists.txt
│ │ │ ├── xcursor.c
│ │ │ └── xcursor.h
│ ├── CMakeLists.txt
│ ├── Cursor.qml
│ ├── CursorImageInfo.cpp
│ ├── CursorImageInfo.h
│ ├── CursorImageProvider.cpp
│ ├── CursorImageProvider.h
│ ├── MousePointer.cpp
│ ├── MousePointer.h
│ ├── plugin.cpp
│ ├── plugin.h
│ └── qmldir
├── Dash
│ ├── AudioProgressBar.qml
│ ├── CMakeLists.txt
│ ├── CardAttributes.qml
│ ├── CardAudioProgress.qml
│ ├── CardCreator.js
│ ├── CardCreatorCache.qml
│ ├── CardSocialActions.qml
│ ├── CroppedImageMinimumSourceSize.qml
│ ├── DashAudioPlayer.qml
│ ├── ScopeStyle.qml
│ ├── abstractdashview.cpp
│ ├── abstractdashview.h
│ ├── graphics
│ │ └── music_progress_bg.png
│ ├── horizontaljournal.cpp
│ ├── horizontaljournal.h
│ ├── listviewwithpageheader.cpp
│ ├── listviewwithpageheader.h
│ ├── organicgrid.cpp
│ ├── organicgrid.h
│ ├── plugin.cpp
│ ├── plugin.h
│ ├── qmldir
│ ├── verticaljournal.cpp
│ └── verticaljournal.h
├── GlobalShortcut
│ ├── CMakeLists.txt
│ ├── globalshortcut.cpp
│ ├── globalshortcut.h
│ ├── globalshortcutregistry.cpp
│ ├── globalshortcutregistry.h
│ ├── plugin.cpp
│ ├── plugin.h
│ └── qmldir
├── Greeter
│ ├── CMakeLists.txt
│ └── Unity
│ │ ├── CMakeLists.txt
│ │ └── Launcher
│ │ ├── CMakeLists.txt
│ │ ├── launcheritem.cpp
│ │ ├── launcheritem.h
│ │ ├── launchermodelas.cpp
│ │ ├── launchermodelas.h
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ ├── qmldir
│ │ ├── quicklistentry.cpp
│ │ ├── quicklistentry.h
│ │ ├── quicklistmodel.cpp
│ │ └── quicklistmodel.h
├── ImageCache
│ ├── CMakeLists.txt
│ ├── ImageCache.cpp
│ ├── ImageCache.h
│ ├── plugin.cpp
│ ├── plugin.h
│ └── qmldir
├── LightDM
│ ├── CMakeLists.txt
│ ├── DBusGreeter.cpp
│ ├── DBusGreeter.h
│ ├── DBusGreeterList.cpp
│ ├── DBusGreeterList.h
│ ├── FullLightDM
│ │ ├── CMakeLists.txt
│ │ └── qmldir
│ ├── Greeter.cpp
│ ├── Greeter.h
│ ├── GreeterPrivate.h
│ ├── IntegratedLightDM
│ │ ├── CMakeLists.txt
│ │ ├── QLightDM
│ │ │ ├── Greeter
│ │ │ ├── SessionsModel
│ │ │ └── UsersModel
│ │ ├── liblightdm
│ │ │ ├── CMakeLists.txt
│ │ │ ├── Greeter.cpp
│ │ │ ├── Greeter.h
│ │ │ ├── GreeterPrivate.cpp
│ │ │ ├── GreeterPrivate.h
│ │ │ ├── SessionsModel.cpp
│ │ │ ├── SessionsModel.h
│ │ │ ├── SessionsModelPrivate.cpp
│ │ │ ├── SessionsModelPrivate.h
│ │ │ ├── UsersModel.cpp
│ │ │ ├── UsersModel.h
│ │ │ ├── UsersModelPrivate.cpp
│ │ │ └── UsersModelPrivate.h
│ │ └── qmldir
│ ├── PromptsModel.cpp
│ ├── PromptsModel.h
│ ├── SessionsModel.cpp
│ ├── SessionsModel.h
│ ├── UsersModel.cpp
│ ├── UsersModel.h
│ ├── plugin.cpp
│ ├── plugin.h
│ └── qmldir
├── Lights
│ ├── CMakeLists.txt
│ ├── Lights.cpp
│ ├── Lights.h
│ ├── android-hardware.h
│ ├── plugin.cpp
│ ├── plugin.h
│ └── qmldir
├── Powerd
│ ├── CMakeLists.txt
│ ├── Powerd.cpp
│ ├── Powerd.h
│ ├── plugin.cpp
│ ├── plugin.h
│ └── qmldir
├── ScreenshotDirectory
│ ├── CMakeLists.txt
│ ├── ScreenGrabber.qmltypes
│ ├── ScreenshotDirectory.cpp
│ ├── ScreenshotDirectory.h
│ ├── plugin.cpp
│ ├── plugin.h
│ └── qmldir
├── SessionBroadcast
│ ├── CMakeLists.txt
│ ├── SessionBroadcast.cpp
│ ├── SessionBroadcast.h
│ ├── plugin.cpp
│ ├── plugin.h
│ └── qmldir
├── UInput
│ ├── CMakeLists.txt
│ ├── plugin.cpp
│ ├── plugin.h
│ ├── qmldir
│ ├── uinput.cpp
│ └── uinput.h
├── Ubuntu
│ ├── CMakeLists.txt
│ ├── DownloadDaemonListener
│ │ ├── CMakeLists.txt
│ │ ├── DownloadTracker.cpp
│ │ ├── DownloadTracker.h
│ │ ├── interface
│ │ │ ├── downloadtrackeradaptor.cpp
│ │ │ ├── downloadtrackeradaptor.h
│ │ │ └── metatypes.h
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ └── qmldir
│ └── Gestures
│ │ ├── AxisVelocityCalculator.cpp
│ │ ├── AxisVelocityCalculator.h
│ │ ├── CMakeLists.txt
│ │ ├── Direction.cpp
│ │ ├── Direction.h
│ │ ├── MouseEventGenerator.cpp
│ │ ├── MouseEventGenerator.h
│ │ ├── PressedOutsideNotifier.cpp
│ │ ├── PressedOutsideNotifier.h
│ │ ├── TouchDispatcher.cpp
│ │ ├── TouchDispatcher.h
│ │ ├── TouchGate.cpp
│ │ ├── TouchGate.h
│ │ ├── TouchGestureArea.cpp
│ │ ├── TouchGestureArea.h
│ │ ├── UbuntuGesturesQmlGlobal.h
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ └── qmldir
├── Unity
│ ├── ApplicationMenu
│ │ ├── CMakeLists.txt
│ │ ├── applicationmenuregistry.cpp
│ │ ├── applicationmenuregistry.h
│ │ ├── com.ubuntu.MenuRegistrar.xml
│ │ ├── dbusapplicationmenuregistry.cpp
│ │ ├── dbusapplicationmenuregistry.h
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ └── qmldir
│ ├── CMakeLists.txt
│ ├── Connectivity
│ │ ├── CMakeLists.txt
│ │ ├── Connectivity.cpp
│ │ ├── Connectivity.h
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ └── qmldir
│ ├── DashCommunicator
│ │ ├── CMakeLists.txt
│ │ ├── dashcommunicator.cpp
│ │ ├── dashcommunicator.h
│ │ ├── dashcommunicatorservice.cpp
│ │ ├── dashcommunicatorservice.h
│ │ ├── dashconnection.cpp
│ │ ├── dashconnection.h
│ │ ├── dbusdashcommunicatorservice.cpp
│ │ ├── dbusdashcommunicatorservice.h
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ └── qmldir
│ ├── Indicators
│ │ ├── CMakeLists.txt
│ │ ├── Messaging
│ │ │ └── qml
│ │ │ │ └── ActionButton.qml
│ │ ├── actionrootstate.cpp
│ │ ├── actionrootstate.h
│ │ ├── indicator.cpp
│ │ ├── indicator.h
│ │ ├── indicators.h
│ │ ├── indicatorsmanager.cpp
│ │ ├── indicatorsmanager.h
│ │ ├── indicatorsmodel.cpp
│ │ ├── indicatorsmodel.h
│ │ ├── menucontentactivator.cpp
│ │ ├── menucontentactivator.h
│ │ ├── modelactionrootstate.cpp
│ │ ├── modelactionrootstate.h
│ │ ├── modelprinter.cpp
│ │ ├── modelprinter.h
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ ├── qmldir
│ │ ├── rootstateparser.cpp
│ │ ├── rootstateparser.h
│ │ ├── sharedunitymenumodel.cpp
│ │ ├── sharedunitymenumodel.h
│ │ ├── unityindicatorsglobal.h
│ │ ├── unitymenumodelcache.cpp
│ │ ├── unitymenumodelcache.h
│ │ ├── unitymenumodelstack.cpp
│ │ └── unitymenumodelstack.h
│ ├── InputInfo
│ │ ├── CMakeLists.txt
│ │ ├── linux
│ │ │ ├── qinputdeviceinfo_linux.cpp
│ │ │ └── qinputdeviceinfo_linux_p.h
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ ├── qdeclarativeinputdevicemodel.cpp
│ │ ├── qdeclarativeinputdevicemodel_p.h
│ │ ├── qinputinfo.cpp
│ │ ├── qinputinfo.h
│ │ └── qmldir
│ ├── Launcher
│ │ ├── CMakeLists.txt
│ │ ├── appdrawermodel.cpp
│ │ ├── appdrawermodel.h
│ │ ├── asadapter.cpp
│ │ ├── asadapter.h
│ │ ├── dbusinterface.cpp
│ │ ├── dbusinterface.h
│ │ ├── gsettings.cpp
│ │ ├── gsettings.h
│ │ ├── launcheritem.cpp
│ │ ├── launcheritem.h
│ │ ├── launchermodel.cpp
│ │ ├── launchermodel.h
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ ├── qmldir
│ │ ├── quicklistentry.cpp
│ │ ├── quicklistentry.h
│ │ ├── quicklistmodel.cpp
│ │ ├── quicklistmodel.h
│ │ ├── ualwrapper.cpp
│ │ └── ualwrapper.h
│ ├── Platform
│ │ ├── CMakeLists.txt
│ │ ├── platform.cpp
│ │ ├── platform.h
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ └── qmldir
│ └── Session
│ │ ├── CMakeLists.txt
│ │ ├── dbusunitysessionservice.cpp
│ │ ├── dbusunitysessionservice.h
│ │ ├── orientationlock.cpp
│ │ ├── orientationlock.h
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ └── qmldir
├── Utils
│ ├── CMakeLists.txt
│ ├── EdgeBarrierSettings.qml
│ ├── ElapsedTimer.h
│ ├── Style.js
│ ├── Timer.cpp
│ ├── Timer.h
│ ├── URLDispatcher.cpp
│ ├── URLDispatcher.h
│ ├── WindowInputMonitor.cpp
│ ├── WindowInputMonitor.h
│ ├── activefocuslogger.cpp
│ ├── activefocuslogger.h
│ ├── appdrawerproxymodel.cpp
│ ├── appdrawerproxymodel.h
│ ├── applicationsfiltermodel.cpp
│ ├── applicationsfiltermodel.h
│ ├── constants.cpp
│ ├── constants.h
│ ├── deviceconfigparser.cpp
│ ├── deviceconfigparser.h
│ ├── easingcurve.cpp
│ ├── easingcurve.h
│ ├── expressionfiltermodel.cpp
│ ├── expressionfiltermodel.h
│ ├── globalfunctions.cpp
│ ├── globalfunctions.h
│ ├── inputeventgenerator.cpp
│ ├── inputeventgenerator.h
│ ├── inputwatcher.cpp
│ ├── inputwatcher.h
│ ├── plugin.cpp
│ ├── plugin.h
│ ├── qlimitproxymodelqml.cpp
│ ├── qlimitproxymodelqml.h
│ ├── qmldir
│ ├── quicklistproxymodel.cpp
│ ├── quicklistproxymodel.h
│ ├── qvariantlistmodel.cpp
│ ├── qvariantlistmodel.h
│ ├── tabfocusfence.cpp
│ ├── tabfocusfence.h
│ ├── timezoneFormatter.cpp
│ ├── timezoneFormatter.h
│ ├── unitymenumodelpaths.cpp
│ ├── unitymenumodelpaths.h
│ ├── unitysortfilterproxymodelqml.cpp
│ ├── unitysortfilterproxymodelqml.h
│ ├── windowinputfilter.cpp
│ ├── windowinputfilter.h
│ ├── windowstatestorage.cpp
│ └── windowstatestorage.h
├── WindowManager
│ ├── AvailableDesktopArea.cpp
│ ├── AvailableDesktopArea.h
│ ├── CMakeLists.txt
│ ├── TopLevelWindowModel.cpp
│ ├── TopLevelWindowModel.h
│ ├── Window.cpp
│ ├── Window.h
│ ├── WindowManagerGlobal.h
│ ├── WindowManagerPlugin.cpp
│ ├── WindowManagerPlugin.h
│ ├── WindowMargins.cpp
│ ├── WindowMargins.h
│ └── qmldir
└── Wizard
│ ├── 50-com.canonical.unity.wizard.pkla
│ ├── CMakeLists.txt
│ ├── LocalePlugin.cpp
│ ├── LocalePlugin.h
│ ├── PageList.cpp
│ ├── PageList.h
│ ├── Status.cpp
│ ├── Status.h
│ ├── System.cpp
│ ├── System.h
│ ├── Unity
│ ├── Application
│ │ ├── CMakeLists.txt
│ │ ├── OSKController.qml
│ │ └── qmldir
│ └── CMakeLists.txt
│ ├── Utils
│ ├── CMakeLists.txt
│ ├── plugin.cpp
│ ├── plugin.h
│ ├── qmldir
│ ├── qsortfilterproxymodelqml.cpp
│ └── qsortfilterproxymodelqml.h
│ ├── keyboardLayoutsModel.cpp
│ ├── keyboardLayoutsModel.h
│ ├── main.cpp
│ ├── plugin.cpp
│ ├── plugin.h
│ ├── qmldir
│ ├── test.sh
│ ├── timezonemodel.cpp
│ ├── timezonemodel.h
│ ├── ubuntu-system-settings-wizard-cleanup.conf
│ ├── ubuntu-system-settings-wizard-set-lang.conf
│ └── ubuntu-system-settings-wizard.conf
├── po
├── CMakeLists.txt
├── aa.po
├── am.po
├── ar.po
├── ast.po
├── az.po
├── be.po
├── bg.po
├── bn.po
├── br.po
├── bs.po
├── ca.po
├── ca@valencia.po
├── ce.po
├── ckb.po
├── co.po
├── cs.po
├── cy.po
├── da.po
├── de.po
├── el.po
├── en_AU.po
├── en_GB.po
├── eo.po
├── es.po
├── et.po
├── eu.po
├── fa.po
├── fi.po
├── fo.po
├── fr.po
├── ga.po
├── gd.po
├── gl.po
├── gv.po
├── he.po
├── hi.po
├── hr.po
├── hu.po
├── hy.po
├── ia.po
├── id.po
├── is.po
├── it.po
├── ja.po
├── km.po
├── kn.po
├── ko.po
├── ku.po
├── ky.po
├── lo.po
├── lt.po
├── lv.po
├── ml.po
├── mr.po
├── ms.po
├── my.po
├── nb.po
├── ne.po
├── nl.po
├── nn.po
├── oc.po
├── or.po
├── pa.po
├── pl.po
├── pt.po
├── pt_BR.po
├── ro.po
├── ru.po
├── shn.po
├── si.po
├── sk.po
├── sl.po
├── sq.po
├── sr.po
├── sv.po
├── sw.po
├── ta.po
├── te.po
├── th.po
├── tr.po
├── ug.po
├── uk.po
├── unity8.pot
├── update-unity-pot
├── ur.po
├── uz.po
├── vi.po
├── wo.po
├── xh.po
├── zh_CN.po
├── zh_HK.po
└── zh_TW.po
├── qml
├── ApplicationMenus
│ ├── ApplicationMenuItemFactory.qml
│ ├── ApplicationMenusLimits.qml
│ ├── MenuBar.qml
│ ├── MenuItem.qml
│ ├── MenuNavigator.qml
│ ├── MenuPopup.qml
│ ├── RegisteredApplicationMenuModel.qml
│ └── qmldir
├── CMakeLists.txt
├── Components
│ ├── Background.qml
│ ├── BaseCarouselDelegate.qml
│ ├── BlurLayer.qml
│ ├── BrightnessControl.qml
│ ├── Carousel.qml
│ ├── Dialogs.qml
│ ├── DragHandle.qml
│ ├── DraggingArea.qml
│ ├── EdgeBarrier.qml
│ ├── EdgeBarrierController.qml
│ ├── EdgeDragEvaluator.qml
│ ├── FadingLabel.qml
│ ├── Flickable.qml
│ ├── FloatingFlickable.qml
│ ├── GridView.qml
│ ├── InputMethod.qml
│ ├── ItemGrabber.qml
│ ├── ItemSnapshot.qml
│ ├── KeyboardShortcutsOverlay.qml
│ ├── KeymapSwitcher.qml
│ ├── LazyImage.qml
│ ├── ListView.qml
│ ├── ListViewOSKScroller.qml
│ ├── Lockscreen.qml
│ ├── MediaServices
│ │ ├── MediaServices.qml
│ │ ├── MediaServicesControls.qml
│ │ ├── MediaServicesHeader.qml
│ │ ├── VideoPlayer.qml
│ │ └── VideoPlayerControls.qml
│ ├── ModeSwitchWarningDialog.qml
│ ├── NotificationAudio.qml
│ ├── Orientations.qml
│ ├── PanelState
│ │ ├── PanelState.qml
│ │ └── qmldir
│ ├── PassphraseLockscreen.qml
│ ├── PhysicalKeysMapper.qml
│ ├── PinLockscreen.qml
│ ├── PinPadButton.qml
│ ├── Rating.qml
│ ├── RatingStyle.qml
│ ├── ResponsiveGridView.qml
│ ├── ResponsiveVerticalJournal.qml
│ ├── ScrollCalculator.qml
│ ├── SearchHistoryModel
│ │ ├── SearchHistoryModel.qml
│ │ └── qmldir
│ ├── SharingPicker.qml
│ ├── ShellDialog.qml
│ ├── Showable.qml
│ ├── StandardAnimation.qml
│ ├── VirtualTouchPad.qml
│ ├── VolumeControl.qml
│ ├── Wallpaper.qml
│ ├── WallpaperResolver.qml
│ ├── WindowControlButtons.qml
│ ├── WrongPasswordAnimation.qml
│ ├── ZoomableImage.qml
│ ├── carousel.js
│ ├── flickableUtils.js
│ └── graphics
│ │ ├── close@20.png
│ │ ├── icon_star_empty@20.png
│ │ ├── icon_star_full@20.png
│ │ ├── icon_star_half@20.png
│ │ ├── icon_star_off@20.png
│ │ ├── icon_star_on@20.png
│ │ ├── non-selected@18.png
│ │ ├── non-selected@18.sci
│ │ ├── window-close.svg
│ │ ├── window-maximize.svg
│ │ ├── window-minimize.svg
│ │ └── window-window.svg
├── Dash
│ ├── CardCarousel.qml
│ ├── CardGrid.qml
│ ├── CardHorizontalList.qml
│ ├── CardTool.qml
│ ├── CardVerticalJournal.qml
│ ├── Dash.qml
│ ├── DashApplication.qml
│ ├── DashBackground.qml
│ ├── DashCategoryBase.qml
│ ├── DashContent.qml
│ ├── DashContentTabBarStyle.qml
│ ├── DashNavigation.qml
│ ├── DashNavigationHeader.qml
│ ├── DashNavigationList.qml
│ ├── DashPageHeader.qml
│ ├── DashRenderer.qml
│ ├── DashSectionHeader.qml
│ ├── Filters
│ │ ├── FilterExpandableWidget.qml
│ │ ├── FilterOptionSelector.qml
│ │ ├── FilterRangeInput.qml
│ │ ├── FilterValueSlider.qml
│ │ ├── FilterWidget.qml
│ │ └── FilterWidgetFactory.qml
│ ├── FiltersPopover.qml
│ ├── GenericScopeView.qml
│ ├── PageHeaderExtraPanel.qml
│ ├── PreviewView.qml
│ ├── Previews
│ │ ├── Preview.qml
│ │ ├── PreviewActionButton.qml
│ │ ├── PreviewActionCombo.qml
│ │ ├── PreviewActions.qml
│ │ ├── PreviewAudioPlayback.qml
│ │ ├── PreviewComment.qml
│ │ ├── PreviewCommentInput.qml
│ │ ├── PreviewExpandable.qml
│ │ ├── PreviewHeader.qml
│ │ ├── PreviewIconActions.qml
│ │ ├── PreviewImageGallery.qml
│ │ ├── PreviewInlineVideo.qml
│ │ ├── PreviewMediaToolbar.qml
│ │ ├── PreviewOverlay.qml
│ │ ├── PreviewProgress.qml
│ │ ├── PreviewRatingDisplay.qml
│ │ ├── PreviewRatingEdit.qml
│ │ ├── PreviewRatingInput.qml
│ │ ├── PreviewRatingSingleDisplay.qml
│ │ ├── PreviewSingleton
│ │ │ ├── PreviewSingleton.qml
│ │ │ └── qmldir
│ │ ├── PreviewTable.qml
│ │ ├── PreviewTextSummary.qml
│ │ ├── PreviewVideoPlayback.qml
│ │ ├── PreviewWidget.qml
│ │ ├── PreviewWidgetFactory.qml
│ │ └── PreviewZoomableImage.qml
│ ├── PullToRefreshScopeStyle.qml
│ ├── ScopeListView.qml
│ ├── ScopeSettings
│ │ ├── ScopeSetting.qml
│ │ ├── ScopeSettingBoolean.qml
│ │ ├── ScopeSettingList.qml
│ │ ├── ScopeSettingNumber.qml
│ │ ├── ScopeSettingString.qml
│ │ └── ScopeSettingsWidgetFactory.qml
│ ├── ScopeSettingsPage.qml
│ ├── ScopesList.qml
│ ├── ScopesListCategory.qml
│ ├── ScopesListCategoryItem.qml
│ └── graphics
│ │ ├── dark_background.jpg
│ │ ├── header_handlearrow2@27.png
│ │ ├── header_handlearrow@27.png
│ │ ├── icon_clear@20.png
│ │ ├── icon_search_active@20.png
│ │ ├── icon_search_inactive@20.png
│ │ ├── overview_hint@30.png
│ │ ├── pixel.png
│ │ ├── play_button@18.png
│ │ ├── play_button_active@18.png
│ │ ├── play_button_active_big@20.png
│ │ ├── play_button_big@20.png
│ │ ├── rectangular_dropshadow@30.png
│ │ ├── rectangular_dropshadow@30.sci
│ │ ├── tabbarchevron@27.png
│ │ ├── tablet
│ │ └── icon_close_preview@20.png
│ │ └── tooltip_arrow@27.png
├── DeviceConfiguration.qml
├── DisabledScreenNotice.qml
├── Greeter
│ ├── Circle.qml
│ ├── Clock.qml
│ ├── CoverPage.qml
│ ├── DelayedLockscreen.qml
│ ├── Dot.qml
│ ├── FullLightDMImpl.qml
│ ├── Gradient.js
│ ├── Greeter.qml
│ ├── GreeterPrompt.qml
│ ├── Infographics.qml
│ ├── IntegratedLightDMImpl.qml
│ ├── LightDMService.qml
│ ├── LoginAreaContainer.qml
│ ├── LoginList.qml
│ ├── NarrowView.qml
│ ├── ObjectPositioner.qml
│ ├── PromptList.qml
│ ├── SessionIcon.qml
│ ├── SessionsList.qml
│ ├── ShimGreeter.qml
│ ├── WideView.qml
│ ├── graphics
│ │ ├── dot_empty.png
│ │ ├── dot_filled.png
│ │ ├── dot_pointer.png
│ │ ├── icon_arrow.png
│ │ └── session_icons
│ │ │ ├── gnome_badge.png
│ │ │ ├── kde_badge.png
│ │ │ ├── recovery_console_badge.png
│ │ │ ├── ubuntu_badge.png
│ │ │ └── unknown_badge.png
│ └── qmldir
├── Launcher
│ ├── BackgroundBlur.qml
│ ├── Drawer.qml
│ ├── DrawerGridView.qml
│ ├── DrawerListView.qml
│ ├── FoldingLauncherDelegate.qml
│ ├── Launcher.qml
│ ├── LauncherDelegate.qml
│ ├── LauncherPanel.qml
│ ├── MoreAppsHeader.qml
│ ├── Tooltip.qml
│ └── graphics
│ │ ├── divider-line.png
│ │ ├── focused_app_arrow@30.png
│ │ ├── home.svg
│ │ └── quicklist_tooltip@30.png
├── Notifications
│ ├── Notification.qml
│ ├── NotificationButton.qml
│ ├── NotificationMenuItemFactory.qml
│ ├── Notifications.qml
│ ├── OptionToggle.qml
│ ├── ShapedIcon.qml
│ └── SwipeToAct.qml
├── OrientedShell.qml
├── Panel
│ ├── ActiveCallHint.qml
│ ├── FakePanelMenu.qml
│ ├── Handle.qml
│ ├── Indicators
│ │ ├── IndicatorBase.qml
│ │ ├── IndicatorDelegate.qml
│ │ ├── IndicatorItem.qml
│ │ ├── IndicatorMenuItemFactory.qml
│ │ ├── IndicatorsLight.qml
│ │ ├── MessageMenuItemFactory.qml
│ │ └── client
│ │ │ ├── IndicatorRepresentation.qml
│ │ │ ├── IndicatorsClient.qml
│ │ │ ├── IndicatorsList.qml
│ │ │ └── IndicatorsTree.qml
│ ├── MenuContent.qml
│ ├── Panel.qml
│ ├── PanelBar.qml
│ ├── PanelItemRow.qml
│ ├── PanelMenu.qml
│ ├── PanelMenuPage.qml
│ ├── PanelVelocityCalculator.qml
│ └── graphics
│ │ ├── rectangular_dropshadow@30.png
│ │ └── rectangular_dropshadow@30.sci
├── Rotation
│ ├── HalfLoopRotationAnimation.qml
│ ├── ImmediateRotationAction.qml
│ ├── NinetyRotationAnimation.qml
│ ├── RotationStates.qml
│ └── UpdateShellTransformations.qml
├── ScopeTool.qml
├── Shell.qml
├── Stage
│ ├── AbstractStage.qml
│ ├── ApplicationWindow.qml
│ ├── ChildWindow.qml
│ ├── ChildWindowRepeater.qml
│ ├── ChildWindowTree.qml
│ ├── DecoratedWindow.qml
│ ├── DesktopSpread.qml
│ ├── DesktopSpreadDelegate.qml
│ ├── FakeMaximizeDelegate.qml
│ ├── MainViewStyle.qml
│ ├── MoveHandler.qml
│ ├── OrientationChangeAnimation.qml
│ ├── PhoneStage.qml
│ ├── PromptSurfaceAnimations.qml
│ ├── ResizeGrip.qml
│ ├── SideStage.qml
│ ├── Splash.qml
│ ├── Spread
│ │ ├── BezierCurve.qml
│ │ ├── KeySpline.js
│ │ ├── MathUtils.js
│ │ ├── OpacityMask.qml
│ │ ├── Spread.qml
│ │ ├── SpreadDelegateInputArea.qml
│ │ ├── SpreadMaths.qml
│ │ ├── StagedRightEdgeMaths.qml
│ │ ├── WindowedRightEdgeMaths.qml
│ │ └── cubic-bezier.js
│ ├── SpreadDelegate.qml
│ ├── SpreadMaths.qml
│ ├── Stage.qml
│ ├── StageMaths.qml
│ ├── StagedFullscreenPolicy.qml
│ ├── SurfaceContainer.qml
│ ├── TabletSideStageTouchGesture.qml
│ ├── TabletStage.qml
│ ├── TransformedSpreadDelegate.qml
│ ├── TransformedTabletSpreadDelegate.qml
│ ├── WindowControlsOverlay.qml
│ ├── WindowDecoration.qml
│ ├── WindowInfoItem.qml
│ ├── WindowResizeArea.qml
│ ├── WindowStateSaver.qml
│ ├── WindowedFullscreenPolicy.qml
│ └── graphics
│ │ ├── PageHeaderBaseDividerBottom@18.png
│ │ ├── PageHeaderBaseDividerLight@18.png
│ │ ├── PageHeaderBaseDividerLight@18.sci
│ │ ├── arrows-centre.png
│ │ ├── arrows.png
│ │ ├── sidestage_drag.svg
│ │ ├── sidestage_handle@20.png
│ │ ├── sidestage_handle@20.sci
│ │ ├── sidestage_open.svg
│ │ └── window-close.svg
├── Tutorial
│ ├── InactivityTimer.qml
│ ├── Tutorial.qml
│ ├── TutorialContent.qml
│ ├── TutorialLeft.qml
│ ├── TutorialLeftLong.qml
│ ├── TutorialPage.qml
│ ├── TutorialRight.qml
│ ├── TutorialTop.qml
│ └── graphics
│ │ ├── arrow.svg
│ │ ├── background1.png
│ │ └── background2.png
├── Wizard
│ ├── CheckableSetting.qml
│ ├── Components
│ │ └── InputMethod.qml
│ ├── Page.qml
│ ├── Pages.qml
│ ├── Pages
│ │ ├── 10-welcome.qml
│ │ ├── 20-keyboard.qml
│ │ ├── 30-wifi.qml
│ │ ├── 40-location.qml
│ │ ├── 50-timezone.qml
│ │ ├── 60-account.qml
│ │ ├── 70-passwd-type.qml
│ │ ├── 75-report-check.qml
│ │ ├── 80-finished.qml
│ │ ├── data
│ │ │ ├── Desktop_header_bkg.png
│ │ │ ├── Desktop_splash_screen_bkg.png
│ │ │ ├── Phone_header_bkg.png
│ │ │ ├── Phone_splash_screen_bkg.png
│ │ │ ├── Tick@30.png
│ │ │ └── timezonemap
│ │ │ │ ├── map.png
│ │ │ │ ├── pin.png
│ │ │ │ ├── timezone_-1.png
│ │ │ │ ├── timezone_-10.png
│ │ │ │ ├── timezone_-11.png
│ │ │ │ ├── timezone_-2.png
│ │ │ │ ├── timezone_-3.5.png
│ │ │ │ ├── timezone_-3.png
│ │ │ │ ├── timezone_-4.5.png
│ │ │ │ ├── timezone_-4.png
│ │ │ │ ├── timezone_-5.png
│ │ │ │ ├── timezone_-6.png
│ │ │ │ ├── timezone_-7.png
│ │ │ │ ├── timezone_-8.png
│ │ │ │ ├── timezone_-9.5.png
│ │ │ │ ├── timezone_-9.png
│ │ │ │ ├── timezone_0.png
│ │ │ │ ├── timezone_1.png
│ │ │ │ ├── timezone_10.5.png
│ │ │ │ ├── timezone_10.png
│ │ │ │ ├── timezone_11.png
│ │ │ │ ├── timezone_12.75.png
│ │ │ │ ├── timezone_12.png
│ │ │ │ ├── timezone_13.png
│ │ │ │ ├── timezone_2.png
│ │ │ │ ├── timezone_3.5.png
│ │ │ │ ├── timezone_3.png
│ │ │ │ ├── timezone_4.5.png
│ │ │ │ ├── timezone_4.png
│ │ │ │ ├── timezone_5.5.png
│ │ │ │ ├── timezone_5.75.png
│ │ │ │ ├── timezone_5.png
│ │ │ │ ├── timezone_6.5.png
│ │ │ │ ├── timezone_6.png
│ │ │ │ ├── timezone_7.png
│ │ │ │ ├── timezone_8.5.png
│ │ │ │ ├── timezone_8.png
│ │ │ │ ├── timezone_9.5.png
│ │ │ │ └── timezone_9.png
│ │ ├── here-terms.qml
│ │ ├── passcode-confirm.qml
│ │ ├── passcode-desktop.qml
│ │ ├── passcode-set.qml
│ │ ├── password-set.qml
│ │ └── sim.qml
│ ├── PasswordMeter.qml
│ ├── StackButton.qml
│ ├── Wizard.qml
│ ├── WizardItemSelector.qml
│ └── WizardTextField.qml
└── graphics
│ ├── dropshadow2gu@30.png
│ ├── dropshadow2gu@30.sci
│ ├── dropshadow_left@20.png
│ └── dropshadow_right@20.png
├── runtests.sh
├── src
├── ApplicationArguments.cpp
├── ApplicationArguments.h
├── CMakeLists.txt
├── CachingNetworkManagerFactory.cpp
├── CachingNetworkManagerFactory.h
├── Dash
│ ├── CMakeLists.txt
│ └── main.cpp
├── DebuggingController.cpp
├── DebuggingController.h
├── MouseTouchAdaptor.cpp
├── MouseTouchAdaptor.h
├── SecondaryWindow.cpp
├── SecondaryWindow.h
├── ShellApplication.cpp
├── ShellApplication.h
├── ShellView.cpp
├── ShellView.h
├── UnityCommandLineParser.cpp
├── UnityCommandLineParser.h
├── UnixSignalHandler.cpp
├── UnixSignalHandler.h
├── libunity8-private
│ ├── CMakeLists.txt
│ ├── abstractdbusservicemonitor.cpp
│ ├── abstractdbusservicemonitor.h
│ ├── unitydbusobject.cpp
│ ├── unitydbusobject.h
│ ├── unitydbusvirtualobject.cpp
│ └── unitydbusvirtualobject.h
├── main.cpp
└── qmldebuggerutils.h
├── tests
├── CMakeLists.txt
├── autopilot
│ ├── setup.py
│ └── unity8
│ │ ├── __init__.py
│ │ ├── application_lifecycle
│ │ ├── __init__.py
│ │ └── tests
│ │ │ ├── __init__.py
│ │ │ ├── test_application_lifecycle.py
│ │ │ └── test_url_dispatcher.py
│ │ ├── dash.py
│ │ ├── fixture_setup.py
│ │ ├── greeter
│ │ ├── __init__.py
│ │ └── tests
│ │ │ ├── __init__.py
│ │ │ └── test_args.py
│ │ ├── indicators
│ │ ├── __init__.py
│ │ └── tests
│ │ │ ├── __init__.py
│ │ │ ├── test_action_latency.py
│ │ │ ├── test_display_indicator.py
│ │ │ └── test_indicators.py
│ │ ├── launcher.py
│ │ ├── process_helpers.py
│ │ ├── sensors.py
│ │ └── shell
│ │ ├── __init__.py
│ │ ├── create_interactive_notification.py
│ │ ├── emulators.py
│ │ ├── fixture_setup.py
│ │ └── tests
│ │ ├── __init__.py
│ │ ├── test_helpers.py
│ │ ├── test_lock_screen.py
│ │ ├── test_notifications.py
│ │ ├── test_rotation.py
│ │ ├── test_system_integration.py
│ │ └── test_upstart.py
├── copyright
│ ├── CMakeLists.txt
│ └── check_copyright.sh
├── data
│ └── unity
│ │ ├── backgrounds
│ │ ├── blue.png
│ │ └── red.png
│ │ └── indicators
│ │ ├── com.canonical.indicator.fake1
│ │ ├── com.canonical.indicator.fake2
│ │ ├── com.canonical.indicator.fake3
│ │ └── com.canonical.indicator.fake4
├── graphics
│ ├── applicationIcons
│ │ ├── browser@18.png
│ │ ├── calendar@18.png
│ │ ├── camera@18.png
│ │ ├── contacts-app@18.png
│ │ ├── dash@18.png
│ │ ├── dialer-app@18.png
│ │ ├── evernote@18.png
│ │ ├── facebook@18.png
│ │ ├── gallery@18.png
│ │ ├── gmail@18.png
│ │ ├── libreoffice@18.png
│ │ ├── map@18.png
│ │ ├── messages-app@18.png
│ │ ├── notepad@18.png
│ │ ├── pinterest@18.png
│ │ ├── soundcloud@18.png
│ │ ├── system-settings@18.png
│ │ ├── twitter@18.png
│ │ ├── weather@18.png
│ │ ├── wikipedia@18.png
│ │ └── youtube@18.png
│ ├── avatars
│ │ ├── amanda@12.png
│ │ ├── anna_olsson@12.png
│ │ └── funky@12.png
│ ├── clock@18.png
│ └── screenshots
│ │ └── gallery@12.png
├── imports
│ ├── CMakeLists.txt
│ └── check_imports.py
├── mocks
│ ├── AccountsService
│ │ ├── AccountsService.cpp
│ │ ├── AccountsService.h
│ │ ├── CMakeLists.txt
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ └── qmldir
│ ├── Biometryd
│ │ ├── CMakeLists.txt
│ │ ├── MockBiometryd.cpp
│ │ ├── MockBiometryd.h
│ │ ├── MockDevice.cpp
│ │ ├── MockDevice.h
│ │ ├── MockIdentifier.cpp
│ │ ├── MockIdentifier.h
│ │ ├── MockObserver.cpp
│ │ ├── MockObserver.h
│ │ ├── MockOperation.cpp
│ │ ├── MockOperation.h
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ └── qmldir
│ ├── CMakeLists.txt
│ ├── Cursor
│ │ ├── CMakeLists.txt
│ │ ├── Cursor.qml
│ │ └── qmldir
│ ├── GSettings.1.0
│ │ ├── CMakeLists.txt
│ │ ├── fake_gsettings.cpp
│ │ ├── fake_gsettings.h
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ └── qmldir
│ ├── LightDMController
│ │ ├── CMakeLists.txt
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ └── qmldir
│ ├── Lights
│ │ ├── CMakeLists.txt
│ │ ├── Lights.cpp
│ │ ├── Lights.h
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ └── qmldir
│ ├── MeeGo
│ │ ├── CMakeLists.txt
│ │ └── QOfono
│ │ │ ├── CMakeLists.txt
│ │ │ ├── MockOfonoSimManager.qml
│ │ │ ├── MockQOfono.cpp
│ │ │ ├── MockQOfono.h
│ │ │ ├── MockQOfonoManager.cpp
│ │ │ ├── MockQOfonoManager.h
│ │ │ ├── plugin.cpp
│ │ │ ├── plugin.h
│ │ │ └── qmldir
│ ├── Powerd
│ │ ├── CMakeLists.txt
│ │ ├── Powerd.cpp
│ │ ├── Powerd.h
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ └── qmldir
│ ├── QMenuModel
│ │ ├── CMakeLists.txt
│ │ ├── QDBusActionGroup.qml
│ │ ├── UnityMenuAction.qml
│ │ ├── actiondata.h
│ │ ├── actionstateparser.cpp
│ │ ├── actionstateparser.h
│ │ ├── dbus-enums.h
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ ├── qmldir
│ │ ├── unitymenumodel.cpp
│ │ └── unitymenumodel.h
│ ├── QtMultimedia
│ │ ├── CMakeLists.txt
│ │ ├── VideoSurface.qml
│ │ ├── declarativeplaylist.cpp
│ │ ├── declarativeplaylist.h
│ │ ├── mediaplayer.cpp
│ │ ├── mediaplayer.h
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ ├── qmldir
│ │ ├── videooutput.cpp
│ │ └── videooutput.h
│ ├── SessionBroadcast
│ │ ├── CMakeLists.txt
│ │ ├── SessionBroadcast.cpp
│ │ ├── SessionBroadcast.h
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ └── qmldir
│ ├── UInput
│ │ ├── CMakeLists.txt
│ │ ├── mockuinput.cpp
│ │ ├── mockuinput.h
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ └── qmldir
│ ├── Ubuntu
│ │ ├── CMakeLists.txt
│ │ ├── Connectivity
│ │ │ ├── CMakeLists.txt
│ │ │ ├── networking-status.cpp
│ │ │ ├── networking-status.h
│ │ │ ├── plugin.cpp
│ │ │ ├── plugin.h
│ │ │ └── qmldir
│ │ ├── DownloadDaemonListener
│ │ │ ├── CMakeLists.txt
│ │ │ ├── MockDownloadTracker.cpp
│ │ │ ├── MockDownloadTracker.h
│ │ │ ├── plugin.cpp
│ │ │ ├── plugin.h
│ │ │ └── qmldir
│ │ ├── SystemSettings
│ │ │ ├── CMakeLists.txt
│ │ │ ├── Diagnostics
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── MockDiagnostics.qml
│ │ │ │ └── qmldir
│ │ │ ├── LanguagePlugin
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── MockKeyboardPlugin.qml
│ │ │ │ ├── MockLanguagePlugin.qml
│ │ │ │ └── qmldir
│ │ │ ├── SecurityPrivacy
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── MockSecurityPrivacy.cpp
│ │ │ │ ├── MockSecurityPrivacy.h
│ │ │ │ ├── plugin.cpp
│ │ │ │ ├── plugin.h
│ │ │ │ └── qmldir
│ │ │ └── TimeDate
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── MockTimeDate.qml
│ │ │ │ └── qmldir
│ │ ├── Telephony
│ │ │ ├── CMakeLists.txt
│ │ │ ├── ContactWatcherData.cpp
│ │ │ ├── ContactWatcherData.h
│ │ │ ├── MockCallEntry.cpp
│ │ │ ├── MockCallEntry.h
│ │ │ ├── MockCallManager.cpp
│ │ │ ├── MockCallManager.h
│ │ │ ├── MockContactWatcher.cpp
│ │ │ ├── MockContactWatcher.h
│ │ │ ├── MockTelepathyHelper.cpp
│ │ │ ├── MockTelepathyHelper.h
│ │ │ ├── plugin.cpp
│ │ │ ├── plugin.h
│ │ │ └── qmldir
│ │ ├── Thumbnailer
│ │ │ ├── CMakeLists.txt
│ │ │ └── qmldir
│ │ └── Web
│ │ │ ├── CMakeLists.txt
│ │ │ ├── WebView.qml
│ │ │ └── qmldir
│ ├── Unity
│ │ ├── Application
│ │ │ ├── ApplicationInfo.cpp
│ │ │ ├── ApplicationInfo.h
│ │ │ ├── ApplicationListModel.cpp
│ │ │ ├── ApplicationListModel.h
│ │ │ ├── ApplicationManager.cpp
│ │ │ ├── ApplicationManager.h
│ │ │ ├── CMakeLists.txt
│ │ │ ├── MirMock.cpp
│ │ │ ├── MirMock.h
│ │ │ ├── MirSurface.cpp
│ │ │ ├── MirSurface.h
│ │ │ ├── MirSurfaceItem.cpp
│ │ │ ├── MirSurfaceItem.h
│ │ │ ├── MirSurfaceListModel.cpp
│ │ │ ├── MirSurfaceListModel.h
│ │ │ ├── ObjectListModel.h
│ │ │ ├── SurfaceManager.cpp
│ │ │ ├── SurfaceManager.h
│ │ │ ├── VirtualKeyboard.cpp
│ │ │ ├── VirtualKeyboard.h
│ │ │ ├── plugin.cpp
│ │ │ ├── plugin.h
│ │ │ ├── qmldir
│ │ │ └── resources
│ │ │ │ ├── Kate.qml
│ │ │ │ ├── KateDialog.qml
│ │ │ │ ├── KateMenu.qml
│ │ │ │ ├── MirSurfaceItem.qml
│ │ │ │ ├── VirtualKeyboard.qml
│ │ │ │ ├── screenshots
│ │ │ │ ├── browser@12.png
│ │ │ │ ├── camera@12.png
│ │ │ │ ├── dialer@12.png
│ │ │ │ ├── facebook@12.png
│ │ │ │ ├── gallery@12.png
│ │ │ │ ├── gmail-webapp.svg
│ │ │ │ ├── libreoffice@12.png
│ │ │ │ ├── map@12.png
│ │ │ │ ├── music@12.png
│ │ │ │ ├── twitter@12.png
│ │ │ │ ├── ubuntu-weather-app.svg
│ │ │ │ ├── unity8-dash@12.png
│ │ │ │ └── vkb_portrait.png
│ │ │ │ ├── surfaces.qrc
│ │ │ │ └── vkb_portrait.png
│ │ ├── ApplicationMenu
│ │ │ ├── CMakeLists.txt
│ │ │ ├── mockapplicationmenuregistry.cpp
│ │ │ ├── mockapplicationmenuregistry.h
│ │ │ ├── plugin.cpp
│ │ │ ├── plugin.h
│ │ │ └── qmldir
│ │ ├── CMakeLists.txt
│ │ ├── Connectivity
│ │ │ ├── CMakeLists.txt
│ │ │ ├── MockConnectivity.cpp
│ │ │ ├── MockConnectivity.h
│ │ │ ├── plugin.cpp
│ │ │ ├── plugin.h
│ │ │ └── qmldir
│ │ ├── DashCommunicator
│ │ │ ├── CMakeLists.txt
│ │ │ ├── dashcommunicator.cpp
│ │ │ ├── dashcommunicator.h
│ │ │ ├── dashcommunicatorservice.cpp
│ │ │ ├── dashcommunicatorservice.h
│ │ │ ├── plugin.cpp
│ │ │ ├── plugin.h
│ │ │ └── qmldir
│ │ ├── Indicators
│ │ │ ├── ActionRootState.qml
│ │ │ ├── CMakeLists.txt
│ │ │ ├── IndicatorsModel.qml
│ │ │ ├── ModelActionRootState.qml
│ │ │ ├── fakeindicatorsmodel.cpp
│ │ │ ├── fakeindicatorsmodel.h
│ │ │ ├── fakeindicatorsmodeldata.js
│ │ │ ├── fakeplugin.cpp
│ │ │ ├── fakeplugin.h
│ │ │ ├── fakeunitymenumodelcache.cpp
│ │ │ ├── fakeunitymenumodelcache.h
│ │ │ └── qmldir
│ │ ├── InputInfo
│ │ │ ├── CMakeLists.txt
│ │ │ ├── mockcontroller.cpp
│ │ │ ├── mockcontroller.h
│ │ │ ├── plugin.cpp
│ │ │ ├── plugin.h
│ │ │ ├── qinputdeviceinfo_mock.cpp
│ │ │ ├── qinputdeviceinfo_mock_p.h
│ │ │ └── qmldir
│ │ ├── Launcher
│ │ │ ├── CMakeLists.txt
│ │ │ ├── MockAppDrawerModel.cpp
│ │ │ ├── MockAppDrawerModel.h
│ │ │ ├── MockLauncherItem.cpp
│ │ │ ├── MockLauncherItem.h
│ │ │ ├── MockLauncherModel.cpp
│ │ │ ├── MockLauncherModel.h
│ │ │ ├── MockQuickListModel.cpp
│ │ │ ├── MockQuickListModel.h
│ │ │ ├── plugin.cpp
│ │ │ ├── plugin.h
│ │ │ └── qmldir
│ │ ├── Notifications
│ │ │ ├── CMakeLists.txt
│ │ │ ├── MockActionModel.cpp
│ │ │ ├── MockActionModel.h
│ │ │ ├── MockNotification.cpp
│ │ │ ├── MockNotification.h
│ │ │ ├── MockNotificationModel.cpp
│ │ │ ├── MockNotificationModel.h
│ │ │ ├── plugin.cpp
│ │ │ ├── plugin.h
│ │ │ └── qmldir
│ │ ├── Platform
│ │ │ ├── CMakeLists.txt
│ │ │ ├── MockPlatform.qml
│ │ │ └── qmldir
│ │ ├── Screens
│ │ │ ├── CMakeLists.txt
│ │ │ ├── plugin.cpp
│ │ │ ├── plugin.h
│ │ │ ├── qmldir
│ │ │ ├── screens.cpp
│ │ │ └── screens.h
│ │ ├── fake_categories.cpp
│ │ ├── fake_categories.h
│ │ ├── fake_expandablefilterwidget.cpp
│ │ ├── fake_expandablefilterwidget.h
│ │ ├── fake_filters.cpp
│ │ ├── fake_filters.h
│ │ ├── fake_navigation.cpp
│ │ ├── fake_navigation.h
│ │ ├── fake_optionselectorfilter.cpp
│ │ ├── fake_optionselectorfilter.h
│ │ ├── fake_optionselectoroptions.cpp
│ │ ├── fake_optionselectoroptions.h
│ │ ├── fake_previewmodel.cpp
│ │ ├── fake_previewmodel.h
│ │ ├── fake_previewwidgetmodel.cpp
│ │ ├── fake_previewwidgetmodel.h
│ │ ├── fake_rangeinputfilter.cpp
│ │ ├── fake_rangeinputfilter.h
│ │ ├── fake_resultsmodel.cpp
│ │ ├── fake_resultsmodel.h
│ │ ├── fake_scope.cpp
│ │ ├── fake_scope.h
│ │ ├── fake_scopes.cpp
│ │ ├── fake_scopes.h
│ │ ├── fake_scopesoverview.cpp
│ │ ├── fake_scopesoverview.h
│ │ ├── fake_settingsmodel.cpp
│ │ ├── fake_settingsmodel.h
│ │ ├── fake_unity_plugin.cpp
│ │ ├── fake_unity_plugin.h
│ │ ├── fake_valuesliderfilter.cpp
│ │ ├── fake_valuesliderfilter.h
│ │ ├── fake_valueslidervalues.cpp
│ │ ├── fake_valueslidervalues.h
│ │ └── qmldir
│ ├── Utils
│ │ ├── CMakeLists.txt
│ │ ├── EdgeBarrierSettings.qml
│ │ ├── Style.js
│ │ ├── URLDispatcher.cpp
│ │ ├── URLDispatcher.h
│ │ ├── WindowInputMonitor.qml
│ │ ├── constants.cpp
│ │ ├── constants.h
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ ├── qmldir
│ │ ├── windowstatestorage.cpp
│ │ └── windowstatestorage.h
│ ├── Wizard
│ │ ├── CMakeLists.txt
│ │ ├── MockSystem.cpp
│ │ ├── MockSystem.h
│ │ ├── mockplugin.cpp
│ │ ├── mockplugin.h
│ │ └── qmldir
│ ├── data
│ │ ├── applications
│ │ │ └── webbrowser-app.desktop
│ │ └── unity
│ │ │ └── indicators
│ │ │ └── com.canonical.indicator.mock
│ ├── indicator-service
│ │ ├── CMakeLists.txt
│ │ └── mock-indicator-service.c
│ ├── liblightdm
│ │ ├── CMakeLists.txt
│ │ ├── GreeterPrivate.cpp
│ │ ├── GreeterPrivate.h
│ │ ├── MockController.cpp
│ │ ├── MockController.h
│ │ ├── MockGreeter.cpp
│ │ ├── MockGreeter.h
│ │ ├── MockSessionsModel.cpp
│ │ ├── MockSessionsModel.h
│ │ ├── MockUsersModel.cpp
│ │ ├── MockUsersModel.h
│ │ ├── SessionsModelPrivate.cpp
│ │ ├── SessionsModelPrivate.h
│ │ ├── UsersModelPrivate.cpp
│ │ ├── UsersModelPrivate.h
│ │ ├── demo
│ │ │ ├── CMakeLists.txt
│ │ │ ├── GreeterPrivate.cpp
│ │ │ └── UsersModelPrivate.cpp
│ │ └── qmldir
│ └── libusermetrics
│ │ ├── CMakeLists.txt
│ │ ├── ColorTheme.cpp
│ │ ├── ColorTheme.h
│ │ ├── UserMetrics.cpp
│ │ └── UserMetrics.h
├── plugins
│ ├── AccountsService
│ │ ├── AccountsServer.cpp
│ │ ├── AccountsServer.h
│ │ ├── CMakeLists.txt
│ │ ├── PropertiesServer.cpp
│ │ ├── PropertiesServer.h
│ │ ├── UscServer.cpp
│ │ ├── UscServer.h
│ │ ├── client.cpp
│ │ ├── interfaces.xml
│ │ ├── server.cpp
│ │ └── types.h
│ ├── CMakeLists.txt
│ ├── Cursor
│ │ ├── CMakeLists.txt
│ │ ├── TextEntry.qml
│ │ └── tst_Cursor.qml
│ ├── Dash
│ │ ├── CMakeLists.txt
│ │ ├── cardcreator
│ │ │ ├── 1.res
│ │ │ ├── 1.res.cardcreator
│ │ │ ├── 1.tst
│ │ │ ├── 10.res
│ │ │ ├── 10.res.cardcreator
│ │ │ ├── 10.tst
│ │ │ ├── 11.res
│ │ │ ├── 11.res.cardcreator
│ │ │ ├── 11.tst
│ │ │ ├── 12.res
│ │ │ ├── 12.res.cardcreator
│ │ │ ├── 12.tst
│ │ │ ├── 2.res
│ │ │ ├── 2.res.cardcreator
│ │ │ ├── 2.tst
│ │ │ ├── 3.res
│ │ │ ├── 3.res.cardcreator
│ │ │ ├── 3.tst
│ │ │ ├── 4.res
│ │ │ ├── 4.res.cardcreator
│ │ │ ├── 4.tst
│ │ │ ├── 5.res
│ │ │ ├── 5.res.cardcreator
│ │ │ ├── 5.tst
│ │ │ ├── 6.res
│ │ │ ├── 6.res.cardcreator
│ │ │ ├── 6.tst
│ │ │ ├── 7.res
│ │ │ ├── 7.res.cardcreator
│ │ │ ├── 7.tst
│ │ │ ├── 8.res
│ │ │ ├── 8.res.cardcreator
│ │ │ ├── 8.tst
│ │ │ ├── 9.res
│ │ │ ├── 9.res.cardcreator
│ │ │ └── 9.tst
│ │ ├── cardcreatortest.cpp
│ │ ├── cardcreatortest.qml
│ │ ├── horizontaljournaltest.cpp
│ │ ├── horizontaljournaltest.qml
│ │ ├── horizontaljournaltry.cpp
│ │ ├── horizontaljournaltry.qml
│ │ ├── listviewwithpageheadersectionexternalmodeltest.cpp
│ │ ├── listviewwithpageheadersectiontest.cpp
│ │ ├── listviewwithpageheadertest.cpp
│ │ ├── listviewwithpageheadertest.qml
│ │ ├── listviewwithpageheadertestsection.qml
│ │ ├── listviewwithpageheadertestsectionexternalmodel.qml
│ │ ├── organicgridtest.cpp
│ │ ├── organicgridtest.qml
│ │ ├── organicgridtry.cpp
│ │ ├── organicgridtry.qml
│ │ ├── tst_CardAttributes.qml
│ │ ├── tst_CroppedImageMinimumSourceSize.qml
│ │ ├── tst_ListViewWithPageHeaderQML.qml
│ │ ├── tst_ScopeStyle.qml
│ │ ├── verticaljournaltest.cpp
│ │ ├── verticaljournaltest.qml
│ │ ├── verticaljournaltry.cpp
│ │ └── verticaljournaltry.qml
│ ├── GlobalShortcut
│ │ ├── CMakeLists.txt
│ │ ├── GlobalShortcutTest.cpp
│ │ └── shortcut.qml
│ ├── Greeter
│ │ ├── CMakeLists.txt
│ │ └── Unity
│ │ │ ├── CMakeLists.txt
│ │ │ └── Launcher
│ │ │ ├── CMakeLists.txt
│ │ │ └── launchermodelastest.cpp
│ ├── ImageCache
│ │ ├── CMakeLists.txt
│ │ ├── graphics
│ │ │ └── wide.jpg
│ │ ├── test.cpp
│ │ └── test.qml
│ ├── LightDM
│ │ ├── CMakeLists.txt
│ │ └── IntegratedLightDM
│ │ │ ├── CMakeLists.txt
│ │ │ ├── dbus.cpp
│ │ │ ├── greeter.qml
│ │ │ ├── integrated.cpp
│ │ │ ├── pam.cpp
│ │ │ ├── promptsmodel.cpp
│ │ │ ├── sessionsmodel.cpp
│ │ │ └── usersmodel.cpp
│ ├── SessionBroadcast
│ │ ├── BroadcastServer.cpp
│ │ ├── BroadcastServer.h
│ │ ├── CMakeLists.txt
│ │ ├── interfaces.xml
│ │ ├── server.cpp
│ │ └── sessionbroadcasttest.cpp
│ ├── Ubuntu
│ │ ├── CMakeLists.txt
│ │ └── Gestures
│ │ │ ├── CMakeLists.txt
│ │ │ ├── GestureTest.cpp
│ │ │ ├── GestureTest.h
│ │ │ ├── TestItem.cpp
│ │ │ ├── TestItem.h
│ │ │ ├── empty.qml
│ │ │ ├── touchGateExample.qml
│ │ │ ├── tst_AxisVelocityCalculator.cpp
│ │ │ ├── tst_FloatingFlickable.cpp
│ │ │ ├── tst_FloatingFlickable.qml
│ │ │ ├── tst_PressedOutsideNotifier.cpp
│ │ │ ├── tst_PressedOutsideNotifier.qml
│ │ │ ├── tst_TouchDispatcher.cpp
│ │ │ ├── tst_TouchGate.cpp
│ │ │ ├── tst_TouchGestureArea.cpp
│ │ │ └── tst_TouchGestureArea.qml
│ ├── Unity
│ │ ├── CMakeLists.txt
│ │ ├── Indicators
│ │ │ ├── CMakeLists.txt
│ │ │ ├── IndicatorsManagerTest.cpp
│ │ │ ├── IndicatorsModelTest.cpp
│ │ │ ├── MenuContentActivatorTest.cpp
│ │ │ ├── RootActionStateTest.cpp
│ │ │ ├── SharedUnityMenuModelTest.cpp
│ │ │ └── UnityMenuModelStackTest.cpp
│ │ ├── Launcher
│ │ │ ├── CMakeLists.txt
│ │ │ ├── applications
│ │ │ │ ├── abs-icon.desktop
│ │ │ │ ├── click-icon.desktop
│ │ │ │ ├── click-icon.svg
│ │ │ │ ├── no-name.desktop
│ │ │ │ ├── rel-icon.desktop
│ │ │ │ └── rel-icon.svg
│ │ │ ├── gsettings.cpp
│ │ │ ├── gsettings.h
│ │ │ └── launchermodeltest.cpp
│ │ ├── Platform
│ │ │ ├── CMakeLists.txt
│ │ │ └── platformtest.cpp
│ │ └── Session
│ │ │ ├── CMakeLists.txt
│ │ │ ├── LightDMServer.cpp
│ │ │ ├── LightDMServer.h
│ │ │ ├── LogindServer.cpp
│ │ │ ├── LogindServer.h
│ │ │ ├── interfaces.xml
│ │ │ ├── preload.c
│ │ │ ├── server.cpp
│ │ │ └── sessionbackendtest.cpp
│ ├── Utils
│ │ ├── CMakeLists.txt
│ │ ├── DeviceConfigParserTest.cpp
│ │ ├── ModelTest.cpp
│ │ ├── ModelTest.h
│ │ ├── QLimitProxyModelTest.cpp
│ │ ├── URLDispatcherTest.cpp
│ │ ├── UnitySortFilterProxyModelTest.cpp
│ │ ├── WindowInputMonitorTest.cpp
│ │ ├── WindowStateStorageTest.cpp
│ │ └── tst_UtilsStyle.qml
│ ├── WindowManager
│ │ ├── CMakeLists.txt
│ │ ├── UnityApplicationMocks.h
│ │ └── tst_TopLevelWindowModel.cpp
│ └── Wizard
│ │ ├── CMakeLists.txt
│ │ ├── tst_pagelist.cpp
│ │ └── tst_system.cpp
├── qmltests
│ ├── ApplicationMenuDataLoader.qml
│ ├── ApplicationMenus
│ │ ├── tst_MenuBar.qml
│ │ └── tst_MenuPopup.qml
│ ├── CMakeLists.txt
│ ├── Components
│ │ ├── CMakeLists.txt
│ │ ├── tst_Background.qml
│ │ ├── tst_Carousel.qml
│ │ ├── tst_Dialogs.qml
│ │ ├── tst_DragHandle.cpp
│ │ ├── tst_DragHandle.qml
│ │ ├── tst_DragHandle
│ │ │ ├── BidirectionalShowable.qml
│ │ │ ├── BottomEdgeShowable.qml
│ │ │ ├── LeftEdgeShowable.qml
│ │ │ ├── RightEdgeShowable.qml
│ │ │ ├── SimpleButton.qml
│ │ │ └── TopEdgeShowable.qml
│ │ ├── tst_DraggingArea.qml
│ │ ├── tst_EdgeDragEvaluator.cpp
│ │ ├── tst_EdgeDragEvaluator.qml
│ │ ├── tst_LazyImage.qml
│ │ ├── tst_LazyImage
│ │ │ ├── ImageControls.qml
│ │ │ ├── portrait.png
│ │ │ ├── square.png
│ │ │ └── wide.png
│ │ ├── tst_Lockscreen.qml
│ │ ├── tst_MediaServices.qml
│ │ ├── tst_ModeSwitchWarningDialog.qml
│ │ ├── tst_PhysicalKeysMapper.qml
│ │ ├── tst_Rating.qml
│ │ ├── tst_ResponsiveGridView.qml
│ │ ├── tst_ResponsiveVerticalJournal.qml
│ │ ├── tst_SharingPicker.qml
│ │ ├── tst_Showable.qml
│ │ ├── tst_VirtualTouchPad.qml
│ │ ├── tst_WallpaperResolver.qml
│ │ └── tst_ZoomableImage.qml
│ ├── Dash
│ │ ├── CardHelpers.js
│ │ ├── Filters
│ │ │ ├── tst_FilterExpandableWidget.qml
│ │ │ ├── tst_FilterOptionSelector.qml
│ │ │ ├── tst_FilterRangeInput.qml
│ │ │ ├── tst_FilterValueSlider.qml
│ │ │ └── tst_FilterWidgetFactory.qml
│ │ ├── Previews
│ │ │ ├── MockPreviewWidget.qml
│ │ │ ├── tst_Preview.qml
│ │ │ ├── tst_PreviewActions.qml
│ │ │ ├── tst_PreviewAudioPlayback.qml
│ │ │ ├── tst_PreviewComment.qml
│ │ │ ├── tst_PreviewCommentInput.qml
│ │ │ ├── tst_PreviewExpandable.qml
│ │ │ ├── tst_PreviewHeader.qml
│ │ │ ├── tst_PreviewIconActions.qml
│ │ │ ├── tst_PreviewImageGallery.qml
│ │ │ ├── tst_PreviewInlineVideo.qml
│ │ │ ├── tst_PreviewMediaToolbar.qml
│ │ │ ├── tst_PreviewProgress.qml
│ │ │ ├── tst_PreviewRatingDisplay.qml
│ │ │ ├── tst_PreviewRatingDisplayCreationRanges.qml
│ │ │ ├── tst_PreviewRatingEdit.qml
│ │ │ ├── tst_PreviewRatingInput.qml
│ │ │ ├── tst_PreviewTable.qml
│ │ │ ├── tst_PreviewTextSummary.qml
│ │ │ ├── tst_PreviewVideoPlayback.qml
│ │ │ ├── tst_PreviewWidgetFactory.qml
│ │ │ └── tst_PreviewZoomableImage.qml
│ │ ├── ScopeSettings
│ │ │ ├── tst_ScopeSettingBoolean.qml
│ │ │ ├── tst_ScopeSettingList.qml
│ │ │ ├── tst_ScopeSettingNumber.qml
│ │ │ ├── tst_ScopeSettingString.qml
│ │ │ └── tst_ScopeSettingsWidgetFactory.qml
│ │ ├── artwork
│ │ │ ├── avatar@12.png
│ │ │ ├── background.png
│ │ │ ├── checkers.png
│ │ │ ├── emblem.png
│ │ │ └── music-player-design.png
│ │ ├── tst_Card.qml
│ │ ├── tst_CardBenchmark.qml
│ │ ├── tst_CardCarousel.qml
│ │ ├── tst_CardTool.qml
│ │ ├── tst_Dash.qml
│ │ ├── tst_DashContent.qml
│ │ ├── tst_DashPageHeader.qml
│ │ ├── tst_DashShell.qml
│ │ ├── tst_GenericScopeView.qml
│ │ ├── tst_PageHeader
│ │ │ └── logo-ubuntu-orange.svg
│ │ └── tst_PreviewView.qml
│ ├── EdgeBarrierControls.qml
│ ├── Greeter
│ │ ├── TestView.qml
│ │ ├── tst_Clock.qml
│ │ ├── tst_Greeter.qml
│ │ ├── tst_Infographics.qml
│ │ ├── tst_NarrowView.qml
│ │ └── tst_WideView.qml
│ ├── Launcher
│ │ ├── tst_Drawer.qml
│ │ └── tst_Launcher.qml
│ ├── Notifications
│ │ ├── Notification.qml
│ │ ├── tst_Notifications.qml
│ │ ├── tst_OptionToggle.qml
│ │ ├── tst_SwipeToAct.qml
│ │ └── tst_VisualSnapDecisionsQueue.qml
│ ├── Panel
│ │ ├── Indicators
│ │ │ ├── tst_IndicatorItem.qml
│ │ │ ├── tst_IndicatorMenuItemFactory.qml
│ │ │ ├── tst_IndicatorsLight.qml
│ │ │ └── tst_MessageMenuItemFactory.qml
│ │ ├── PanelTest.qml
│ │ ├── tst_ActiveCallHint.qml
│ │ ├── tst_MenuContent.qml
│ │ ├── tst_Panel.qml
│ │ ├── tst_PanelBar.qml
│ │ ├── tst_PanelItemRow.qml
│ │ ├── tst_PanelMenu.qml
│ │ └── tst_PanelMenuPage.qml
│ ├── README
│ ├── Stage
│ │ ├── ApplicationCheckBox.qml
│ │ ├── SizeHintField.qml
│ │ ├── SurfaceManagerControls.qml
│ │ ├── SurfaceManagerField.qml
│ │ ├── tst_ApplicationWindow.qml
│ │ ├── tst_DecoratedWindow.qml
│ │ ├── tst_DesktopStage.qml
│ │ ├── tst_PhoneStage.qml
│ │ ├── tst_Splash.qml
│ │ ├── tst_SpreadDelegate.qml
│ │ ├── tst_SurfaceContainer.qml
│ │ ├── tst_TabletStage.qml
│ │ ├── tst_WindowDecoration.qml
│ │ └── tst_WindowResizeArea.qml
│ ├── Tutorial
│ │ └── tst_Tutorial.qml
│ ├── UnityLogo.png
│ ├── Wizard
│ │ ├── licenses
│ │ │ ├── en_US.html
│ │ │ ├── fr_CA.html
│ │ │ └── fr_FR.html
│ │ └── tst_Wizard.qml
│ ├── modules
│ │ ├── CMakeLists.txt
│ │ └── Unity
│ │ │ └── CMakeLists.txt
│ ├── tst_DeviceConfiguration.qml
│ ├── tst_DisabledScreenNotice.qml
│ ├── tst_OrientedShell.qml
│ ├── tst_Shell.qml
│ ├── tst_ShellWithPin.qml
│ └── utils
│ │ └── Unity
│ │ └── Test
│ │ ├── MockObjectForInstanceOfTest.qml
│ │ ├── MockObjectForInstanceOfTestChild.qml
│ │ └── tst_UnityTest.qml
├── scripts
│ ├── README
│ ├── alert-launcher-icon.sh
│ ├── get-progress.sh
│ ├── list-launcher-icons.sh
│ ├── set-count-visible.sh
│ ├── set-count.sh
│ └── set-progress.sh
├── uqmlscene
│ ├── CMakeLists.txt
│ ├── README
│ └── main.cpp
├── utils
│ ├── CMakeLists.txt
│ └── modules
│ │ ├── CMakeLists.txt
│ │ └── Unity
│ │ ├── CMakeLists.txt
│ │ └── Test
│ │ ├── CMakeLists.txt
│ │ ├── MouseTouchEmulationCheckbox.qml
│ │ ├── StageTestCase.qml
│ │ ├── TouchEventSequenceWrapper.cpp
│ │ ├── TouchEventSequenceWrapper.h
│ │ ├── UnityTestCase.qml
│ │ ├── plugin.cpp
│ │ ├── plugin.h
│ │ ├── qmldir
│ │ ├── testutil.cpp
│ │ └── testutil.h
└── whitespace
│ ├── CMakeLists.txt
│ └── check_whitespace.py
└── tools
├── CMakeLists.txt
├── indicatorsclient
├── CMakeLists.txt
├── indicatorsclient.cpp
├── indicatorsclient.h
└── main.cpp
├── menutool
├── CMakeLists.txt
├── README
├── menutool.cpp
└── menutool.qml
├── scopetool
├── CMakeLists.txt
├── registry-tracker.cpp
├── registry-tracker.h
└── scopetool.cpp
└── unlock-device
/.bazaar/Makefile:
--------------------------------------------------------------------------------
1 | install:
2 | mkdir -p ~/.bazaar/plugins
3 | cp plugins/* ~/.bazaar/plugins
4 |
5 | uninstall:
6 | rm ~/.bazaar/plugins/makecheck_unity_phablet.py*
7 |
--------------------------------------------------------------------------------
/.bzr-builddeb/default.conf:
--------------------------------------------------------------------------------
1 | [BUILDDEB]
2 | split = True
3 |
--------------------------------------------------------------------------------
/.bzrignore:
--------------------------------------------------------------------------------
1 | # default build dir
2 | /builddir
3 | # QtCreator project files
4 | /*.user
5 | # Eclipse project files
6 | .settings
7 | message.txt
8 |
--------------------------------------------------------------------------------
/.crossbuilder/post_deploy:
--------------------------------------------------------------------------------
1 | restart unity8
2 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # default build dir
2 | /builddir
3 | # QtCreator project files
4 | /*.user
5 | # Eclipse project files
6 | /.project
7 | /.cproject
8 | /.settings
9 | /.pydevproject
10 |
--------------------------------------------------------------------------------
/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | Unity8
4 |
5 |
6 |
7 |
8 |
9 | org.python.pydev.PyDevBuilder
10 |
11 |
12 |
13 |
14 |
15 | org.python.pydev.pythonNature
16 |
17 |
18 |
--------------------------------------------------------------------------------
/.pydevproject:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | /Unity8/tests/autopilot
5 | /Unity8/.bazaar
6 | /Unity8/tests/whitespace
7 |
8 | python 2.7
9 | Default
10 |
11 |
--------------------------------------------------------------------------------
/.settings/Autopilot List.launch:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/.settings/Autopilot Run.launch:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/cmake/modules/autopilot.cmake:
--------------------------------------------------------------------------------
1 | add_custom_target(autopilot)
2 |
3 | function(declare_autopilot_test TEST_NAME TEST_SUITE WORKING_DIR)
4 | add_custom_target(autopilot-${TEST_NAME}
5 | COMMAND UNITY_TESTING=1 LANG=C QML2_IMPORT_PATH=${SHELL_INSTALL_QML}/mocks python3 -m autopilot.run run ${TEST_SUITE}
6 | WORKING_DIRECTORY ${WORKING_DIR}
7 | DEPENDS fake_install
8 | )
9 |
10 | add_custom_target(fake_install
11 | COMMAND cmake --build ${CMAKE_BINARY_DIR} --target install
12 | )
13 |
14 | add_dependencies(autopilot autopilot-${TEST_NAME})
15 |
16 | endfunction()
17 |
--------------------------------------------------------------------------------
/data/51-unity8-greeter.conf:
--------------------------------------------------------------------------------
1 | [Seat:*]
2 | greeter-session=unity8-greeter
3 |
--------------------------------------------------------------------------------
/data/indicators-client.desktop.in:
--------------------------------------------------------------------------------
1 | [Desktop Entry]
2 | Type=Application
3 | Name=Indicators Client
4 | Comment=Application for testing the Indicators system
5 | Exec=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_BINDIR@/indicators-client
6 | Terminal=false
7 | Icon=
8 | NoDisplay=false
9 | X-Ubuntu-Touch=true
10 |
--------------------------------------------------------------------------------
/data/unity-mock-indicator-service.conf:
--------------------------------------------------------------------------------
1 | description "Unity Shell v8 Mock Indicator"
2 | author "Nick Dedekind "
3 |
4 | respawn
5 | respawn limit 2 10
6 |
7 | exec ${BINARY:-unity-mock-indicator-service} $ARGS
8 |
--------------------------------------------------------------------------------
/data/unity8-dash.desktop.in:
--------------------------------------------------------------------------------
1 | [Desktop Entry]
2 | Type=Application
3 | Name=Scopes
4 | Comment=An interface for using the Scopes system
5 | Exec=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_BINDIR@/unity8-dash
6 | Terminal=false
7 | Icon=@CMAKE_INSTALL_PREFIX@/@SHELL_APP_DIR@/Dash/unity8-dash.png
8 | X-Ubuntu-Touch=true
9 |
--------------------------------------------------------------------------------
/data/unity8-dash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/data/unity8-dash.png
--------------------------------------------------------------------------------
/data/unity8-dash.url-dispatcher:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "protocol": "scope"
4 | }
5 | ]
6 |
7 |
--------------------------------------------------------------------------------
/data/unity8-filewatcher.conf:
--------------------------------------------------------------------------------
1 | description "File system watcher for unity8"
2 | author "Michael Zanetti "
3 |
4 | # This method of updating the launcher will not work in our new snappy world,
5 | # neither for snaps installed in the system nor if we are running inside a snap.
6 | # Plus it hardcodes the phablet user... To be replaced once bug 1630997 is
7 | # fixed in ubuntu-app-launch.
8 |
9 | # Workaround for bug 1360208. ~ and * in one expression doesn't work currently
10 | start on (file FILE=/home/phablet/.local/share/applications/*.desktop) or (file FILE=/usr/share/applications/*.desktop)
11 |
12 | exec dbus-send --type=method_call --dest=com.canonical.Unity.Launcher /com/canonical/Unity/Launcher com.canonical.Unity.Launcher.Refresh
13 |
14 |
--------------------------------------------------------------------------------
/data/unity8-greeter-init.conf:
--------------------------------------------------------------------------------
1 | description "Unity 8 Greeter initialization"
2 | author "Michael Terry "
3 |
4 | start on unity8-greeter-started
5 | task
6 | emits indicator-services-start
7 |
8 | script
9 | start --no-wait ofono-setup || true
10 | initctl emit --no-wait indicator-services-start || true
11 | start --no-wait maliit-server || true
12 | end script
13 |
--------------------------------------------------------------------------------
/data/unity8-greeter-logrotate.conf:
--------------------------------------------------------------------------------
1 | description "Unity 8 Greeter logrotate support"
2 | author "Michael Terry "
3 |
4 | start on unity8-greeter-started
5 | task
6 |
7 | script
8 | # logrotate normally starts on startup and then sleeps for 60 seconds.
9 | # Otherwise, it skips that sleep. Since we can't emit the startup signal
10 | # for a unity8-greeter session, we have to trigger logrotate manually.
11 | # So we do the sleep ourselves in its stead.
12 | sleep 60
13 | initctl emit :sys:rotate-logs
14 | end script
15 |
--------------------------------------------------------------------------------
/data/unity8-greeter.desktop.in:
--------------------------------------------------------------------------------
1 | [Desktop Entry]
2 | Type=Application
3 | Name=Unity 8 Greeter
4 | Comment=The converged Unity shell's Greeter
5 | Exec=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_BINDIR@/unity8-greeter-wrapper @CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_BINDIR@/unity8 --mode=greeter
6 | X-LightDM-Session-Type=mir
7 | X-Ubuntu-Touch=true
8 |
--------------------------------------------------------------------------------
/data/unity8.desktop.in:
--------------------------------------------------------------------------------
1 | [Desktop Entry]
2 | Type=Application
3 | Name=Unity 8
4 | Comment=The converged Unity shell
5 | Exec=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_BINDIR@/unity8
6 | Terminal=false
7 | Icon=
8 | NoDisplay=true
9 | X-Ubuntu-Touch=true
10 |
--------------------------------------------------------------------------------
/debian/bileto_pre_release_hook:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | set -eux
4 |
5 | sh ./po/update-unity-pot
6 |
--------------------------------------------------------------------------------
/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/debian/indicators-client.install:
--------------------------------------------------------------------------------
1 | /usr/bin/indicators-client
2 | usr/share/applications/indicators-client.desktop
3 |
--------------------------------------------------------------------------------
/debian/shlibs.local:
--------------------------------------------------------------------------------
1 | libunity8-private 0 unity8-private
2 |
--------------------------------------------------------------------------------
/debian/source/format:
--------------------------------------------------------------------------------
1 | 1.0
2 |
--------------------------------------------------------------------------------
/debian/tests/autopilot.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | # log all commands and abort on error
4 | set -xe
5 |
6 | if [ ! -f /system/build.prop ]; then
7 | echo "WARNING: Skipping autopilot test, will only run on devices at the moment."
8 | exit 0
9 | fi
10 |
11 | initctl --session stop unity8
12 | autopilot3 run --verbose --format xml --output "${ADT_ARTIFACTS}/unity8.xml" unity8
13 | initctl --session start unity8
14 |
--------------------------------------------------------------------------------
/debian/tests/control:
--------------------------------------------------------------------------------
1 | Tests: qmluitests.sh
2 | Restrictions: allow-stderr
3 | Depends: dpkg-dev,
4 | unity8-tests,
5 |
6 | Tests: autopilot.sh
7 | Restrictions: allow-stderr,
8 | isolation-machine,
9 | Depends: unity8-autopilot,
10 |
--------------------------------------------------------------------------------
/debian/tests/qmluitests.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | # -*- Mode: sh; indent-tabs-mode: nil; tab-width: 4 -*-
3 |
4 | # log all commands and abort on error
5 | set -xe
6 |
7 | DEB_HOST_MULTIARCH=$(dpkg-architecture -qDEB_HOST_MULTIARCH)
8 |
9 | export ARTIFACTS_DIR="${ADT_ARTIFACTS}"
10 |
11 | /usr/lib/$DEB_HOST_MULTIARCH/unity8/tests/scripts/xvfballtests.sh
12 |
--------------------------------------------------------------------------------
/debian/unity-scope-tool.install:
--------------------------------------------------------------------------------
1 | usr/bin/unity-scope-tool
2 | usr/share/unity8/ScopeTool.qml
3 |
--------------------------------------------------------------------------------
/debian/unity8-autopilot.install:
--------------------------------------------------------------------------------
1 | usr/lib/python*/*/unity*
2 | usr/share/unity8/unlock-device
3 |
--------------------------------------------------------------------------------
/debian/unity8-common.install:
--------------------------------------------------------------------------------
1 | usr/share/glib-2.0/schemas
2 | usr/share/locale
3 | usr/share/unity8/Components
4 | usr/share/unity8/Dash
5 | usr/share/unity8/Notifications
6 | usr/share/unity8/graphics
7 | var/lib/polkit-1/localauthority/10-vendor.d
8 |
--------------------------------------------------------------------------------
/debian/unity8-common.udev:
--------------------------------------------------------------------------------
1 | # Make local foreground session able to inject input
2 | KERNEL=="uinput", SUBSYSTEM=="misc", TAG+="uaccess"
3 |
--------------------------------------------------------------------------------
/debian/unity8-doc.install:
--------------------------------------------------------------------------------
1 | doc/devices.conf usr/share/doc/unity8/
2 | usr/share/doc/unity8/*
3 |
--------------------------------------------------------------------------------
/debian/unity8-greeter.install:
--------------------------------------------------------------------------------
1 | data/unity8-greeter-wrapper usr/bin/
2 | data/unity8-greeter-init.conf usr/share/upstart/sessions/
3 | data/unity8-greeter.pkla /var/lib/polkit-1/localauthority/10-vendor.d/
4 | usr/share/lightdm/greeters/unity8-greeter.desktop
5 | usr/share/lightdm/lightdm.conf.d/51-unity8-greeter.conf
6 |
--------------------------------------------------------------------------------
/debian/unity8-private.install:
--------------------------------------------------------------------------------
1 | usr/lib/*/libunity8-private.*
2 | usr/lib/*/unity8/qml/AccountsService
3 | usr/lib/*/unity8/qml/Cursor
4 | usr/lib/*/unity8/qml/Dash
5 | usr/lib/*/unity8/qml/GlobalShortcut
6 | usr/lib/*/unity8/qml/Greeter
7 | usr/lib/*/unity8/qml/ImageCache
8 | usr/lib/*/unity8/qml/LightDM
9 | usr/lib/*/unity8/qml/Lights
10 | usr/lib/*/unity8/qml/Powerd
11 | usr/lib/*/unity8/qml/ScreenshotDirectory
12 | usr/lib/*/unity8/qml/SessionBroadcast
13 | usr/lib/*/unity8/qml/Ubuntu
14 | usr/lib/*/unity8/qml/Unity
15 | usr/lib/*/unity8/qml/UInput
16 | usr/lib/*/unity8/qml/Utils
17 | usr/lib/*/unity8/qml/WindowManager
18 | usr/lib/*/unity8/qml/Wizard
19 | usr/share/accountsservice/interfaces
20 | usr/share/dbus-1/interfaces
21 |
--------------------------------------------------------------------------------
/debian/unity8-tests.install:
--------------------------------------------------------------------------------
1 | data/unity-mock-indicator-service.conf usr/share/upstart/sessions/
2 | usr/bin/unity-mock-indicator-service
3 | usr/lib/*/unity8/qml/mocks
4 | usr/lib/*/unity8/qml/nonmirplugins
5 | usr/lib/*/unity8/qml/scopefakes
6 | usr/lib/*/unity8/qml/utils
7 | usr/lib/*/unity8/tests
8 | usr/lib/*/unity8/uqmlscene
9 | usr/share/unity8/mocks
10 | usr/share/unity8/tests
11 |
--------------------------------------------------------------------------------
/debian/unity8-tests.lintian-overrides:
--------------------------------------------------------------------------------
1 | unity8-tests: unusual-interpreter usr/lib/*/unity8/tests/scripts/*.sh #!/usr/bin/parallel
2 |
--------------------------------------------------------------------------------
/debian/unity8.install:
--------------------------------------------------------------------------------
1 | debian/usr.bin.unity8-dash etc/apparmor.d
2 | var/lib/unity8/version
3 | data/unity8-filewatcher.conf usr/share/upstart/sessions/
4 | data/unity8.conf usr/share/upstart/sessions/
5 | data/devices.conf etc/ubuntu/
6 | usr/bin/unity8
7 | usr/bin/unity8-dash
8 | usr/share/applications/unity8-dash.desktop
9 | usr/share/applications/unity8.desktop
10 | usr/share/unity8/ApplicationMenus
11 | usr/share/unity8/Greeter
12 | usr/share/unity8/Launcher
13 | usr/share/unity8/Panel
14 | usr/share/unity8/Rotation
15 | usr/share/unity8/DeviceConfiguration.qml
16 | usr/share/unity8/OrientedShell.qml
17 | usr/share/unity8/DisabledScreenNotice.qml
18 | usr/share/unity8/Shell.qml
19 | usr/share/unity8/Stage
20 | usr/share/unity8/Tutorial
21 | usr/share/unity8/Wizard
22 | usr/share/url-dispatcher/urls/unity8-dash.url-dispatcher
23 |
--------------------------------------------------------------------------------
/debian/unity8.maintscript:
--------------------------------------------------------------------------------
1 | rm_conffile /etc/init/boot-hooks/unity8-setcap.conf
2 |
--------------------------------------------------------------------------------
/debian/usr.bin.unity8-dash:
--------------------------------------------------------------------------------
1 | # vim:syntax=apparmor
2 |
3 | #include
4 |
5 | # v2 compatible wildly permissive profile
6 | profile unity8-dash /usr/bin/unity8-dash (attach_disconnected) {
7 | capability,
8 | network,
9 | / rwkl,
10 | /** rwlkm,
11 | /** pix,
12 |
13 | mount,
14 | remount,
15 | umount,
16 | pivot_root,
17 | dbus,
18 | signal,
19 | ptrace,
20 | unix,
21 | }
22 |
--------------------------------------------------------------------------------
/include/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | configure_file(paths.h.in ${CMAKE_CURRENT_BINARY_DIR}/paths.h @ONLY)
2 |
--------------------------------------------------------------------------------
/plugins/AccountsService/qmldir:
--------------------------------------------------------------------------------
1 | module AccountsService
2 | plugin AccountsService-qml
3 | typeinfo AccountsService.qmltypes
4 |
--------------------------------------------------------------------------------
/plugins/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | include(QmlPlugins)
2 |
3 | # Set up and install a plugin for unity8.
4 | #
5 | # add_unity8_plugin(plugin version path
6 | # [...] # See export_qmlfiles and export_qmlplugin documentation for more options
7 | # )
8 |
9 | macro(add_unity8_plugin PLUGIN VERSION PATH)
10 | export_qmlfiles(${PLUGIN} ${PATH} DESTINATION ${SHELL_INSTALL_QML} ${ARGN})
11 | export_qmlplugin(${PLUGIN} ${VERSION} ${PATH} DESTINATION ${SHELL_INSTALL_QML} ${ARGN})
12 | endmacro()
13 |
14 | add_subdirectory(AccountsService)
15 | add_subdirectory(Cursor)
16 | add_subdirectory(GlobalShortcut)
17 | add_subdirectory(Greeter)
18 | add_subdirectory(ImageCache)
19 | add_subdirectory(LightDM)
20 | add_subdirectory(Lights)
21 | add_subdirectory(Dash)
22 | add_subdirectory(Powerd)
23 | add_subdirectory(ScreenshotDirectory)
24 | add_subdirectory(SessionBroadcast)
25 | add_subdirectory(Ubuntu)
26 | add_subdirectory(UInput)
27 | add_subdirectory(Unity)
28 | add_subdirectory(Utils)
29 | add_subdirectory(WindowManager)
30 | add_subdirectory(Wizard)
31 |
--------------------------------------------------------------------------------
/plugins/Cursor/3rd_party/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory(xcursor)
2 |
--------------------------------------------------------------------------------
/plugins/Cursor/3rd_party/xcursor/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_definitions(-D_DEFAULT_SOURCE=1)
2 |
3 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC")
4 |
5 | set(
6 | XCURSOR_SOURCES
7 |
8 | xcursor.c
9 | )
10 |
11 | add_library(
12 | xcursorloader-static STATIC
13 |
14 | ${XCURSOR_SOURCES}
15 | )
16 |
--------------------------------------------------------------------------------
/plugins/Cursor/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory(3rd_party)
2 |
3 | include_directories(
4 | ${CMAKE_CURRENT_SOURCE_DIR}
5 | ${CMAKE_CURRENT_SOURCE_DIR}/3rd_party/xcursor
6 | )
7 |
8 | include_directories(
9 | SYSTEM
10 | ${Qt5Gui_PRIVATE_INCLUDE_DIRS}
11 | )
12 |
13 | set(QMLPLUGIN_SRC
14 | plugin.cpp
15 | CursorImageInfo.cpp
16 | CursorImageProvider.cpp
17 | MousePointer.cpp
18 | # We need to run moc on this header
19 | ${APPLICATION_API_INCLUDEDIR}/unity/shell/application/MirMousePointerInterface.h
20 | )
21 |
22 | add_library(Cursor-qml SHARED
23 | ${QMLPLUGIN_SRC}
24 | )
25 |
26 | target_link_libraries(Cursor-qml
27 | xcursorloader-static
28 | ${QT5PLATFORM_SUPPORT_LDFLAGS}
29 | )
30 |
31 | qt5_use_modules(Cursor-qml Qml Quick Svg)
32 |
33 | add_unity8_plugin(Cursor 1.1 Cursor TARGETS Cursor-qml)
34 |
--------------------------------------------------------------------------------
/plugins/Cursor/qmldir:
--------------------------------------------------------------------------------
1 | module Cursor
2 | plugin Cursor-qml
3 | Cursor 1.1 Cursor.qml
4 |
--------------------------------------------------------------------------------
/plugins/Dash/graphics/music_progress_bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/plugins/Dash/graphics/music_progress_bg.png
--------------------------------------------------------------------------------
/plugins/Dash/qmldir:
--------------------------------------------------------------------------------
1 | module Dash
2 | plugin Dash-qml
3 | typeinfo Dash.qmltypes
4 | singleton CardCreatorCache 0.1 CardCreatorCache.qml
5 | singleton DashAudioPlayer 0.1 DashAudioPlayer.qml
6 | ScopeStyle 0.1 ScopeStyle.qml
7 | CardAttributes 0.1 CardAttributes.qml
8 | CardSocialActions 0.1 CardSocialActions.qml
9 | CroppedImageMinimumSourceSize 0.1 CroppedImageMinimumSourceSize.qml
10 | AudioProgressBar 0.1 AudioProgressBar.qml
11 | CardAudioProgress 0.1 CardAudioProgress.qml
12 |
--------------------------------------------------------------------------------
/plugins/GlobalShortcut/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | set(globalshortcutplugin_SRCS
2 | globalshortcut.cpp
3 | globalshortcutregistry.cpp
4 | plugin.cpp)
5 |
6 | add_library(GlobalShortcut-qml SHARED ${globalshortcutplugin_SRCS})
7 |
8 | qt5_use_modules(GlobalShortcut-qml Quick Gui)
9 |
10 | add_unity8_plugin(GlobalShortcut 1.0 GlobalShortcut TARGETS GlobalShortcut-qml)
11 |
--------------------------------------------------------------------------------
/plugins/GlobalShortcut/plugin.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2015 Canonical, Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | */
16 |
17 | #include "plugin.h"
18 | #include "globalshortcut.h"
19 |
20 | #include
21 |
22 | void GlobalShortcutPlugin::registerTypes(const char *uri)
23 | {
24 | Q_ASSERT(uri == QLatin1String("GlobalShortcut"));
25 |
26 | qmlRegisterType(uri, 1, 0, "GlobalShortcut");
27 | }
28 |
--------------------------------------------------------------------------------
/plugins/GlobalShortcut/qmldir:
--------------------------------------------------------------------------------
1 | module GlobalShortcut
2 | plugin GlobalShortcut-qml
3 |
--------------------------------------------------------------------------------
/plugins/Greeter/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | macro(add_unity8_greeter_plugin PLUGIN VERSION PATH)
2 | export_qmlfiles(${PLUGIN} ${PATH} DESTINATION ${SHELL_INSTALL_QML}/Greeter TARGET_PREFIX Greeter ${ARGN})
3 | export_qmlplugin(${PLUGIN} ${VERSION} ${PATH} DESTINATION ${SHELL_INSTALL_QML}/Greeter TARGET_PREFIX Greeter ${ARGN})
4 | endmacro()
5 |
6 | add_subdirectory(Unity)
7 |
--------------------------------------------------------------------------------
/plugins/Greeter/Unity/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory(Launcher)
2 |
--------------------------------------------------------------------------------
/plugins/Greeter/Unity/Launcher/qmldir:
--------------------------------------------------------------------------------
1 | module Unity.Launcher
2 | plugin UnityLauncherAS-qml
3 | typeinfo Launcher.qmltypes
4 |
--------------------------------------------------------------------------------
/plugins/ImageCache/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_library(ImageCache-qml MODULE
2 | ImageCache.cpp
3 | plugin.cpp
4 | )
5 |
6 | qt5_use_modules(ImageCache-qml Gui Qml Quick)
7 |
8 | add_unity8_plugin(ImageCache 0.1 ImageCache TARGETS ImageCache-qml)
9 |
--------------------------------------------------------------------------------
/plugins/ImageCache/qmldir:
--------------------------------------------------------------------------------
1 | module ImageCache
2 | plugin ImageCache-qml
3 |
--------------------------------------------------------------------------------
/plugins/LightDM/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | pkg_check_modules(LIBUSERMETRICSOUTPUT REQUIRED libusermetricsoutput-1)
2 |
3 | find_package(Qt5Core REQUIRED)
4 | find_package(Qt5Quick REQUIRED)
5 |
6 | include_directories(
7 | ${CMAKE_CURRENT_SOURCE_DIR}
8 | ${CMAKE_CURRENT_BINARY_DIR}
9 | ${CMAKE_SOURCE_DIR}/plugins/Utils
10 | ${libunity8-private_SOURCE_DIR}
11 | ${LIBUSERMETRICSOUTPUT_INCLUDE_DIRS}
12 | )
13 |
14 | set(QMLPLUGIN_SRC
15 | ../Utils/unitysortfilterproxymodelqml.cpp
16 | DBusGreeter.cpp
17 | DBusGreeterList.cpp
18 | Greeter.cpp
19 | plugin.cpp
20 | PromptsModel.cpp
21 | SessionsModel.cpp
22 | UsersModel.cpp
23 | )
24 |
25 | add_subdirectory(FullLightDM)
26 | add_subdirectory(IntegratedLightDM)
27 |
--------------------------------------------------------------------------------
/plugins/LightDM/FullLightDM/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | pkg_check_modules(LIBLIGHTDM REQUIRED liblightdm-qt5-3)
2 |
3 | set(PLUGIN_CLASSNAME "FullLightDM")
4 |
5 | add_definitions(-DFULL_LIGHTDM)
6 |
7 | include_directories(
8 | ../
9 | ${CMAKE_CURRENT_BINARY_DIR}
10 | )
11 |
12 | include_directories(
13 | SYSTEM
14 | ${LIBLIGHTDM_INCLUDE_DIRS}
15 | )
16 |
17 | foreach(source_file ${QMLPLUGIN_SRC})
18 | list(APPEND RELATIVE_QMLPLUGIN_SRC ../${source_file})
19 | endforeach()
20 |
21 | add_library(FullLightDM-qml MODULE
22 | ${RELATIVE_QMLPLUGIN_SRC}
23 | )
24 |
25 | target_link_libraries(FullLightDM-qml
26 | unity8-private
27 | ${LIBLIGHTDM_LDFLAGS}
28 | ${LIBUSERMETRICSOUTPUT_LDFLAGS}
29 | )
30 |
31 | qt5_use_modules(FullLightDM-qml DBus Gui Qml)
32 | add_unity8_plugin(FullLightDM 0.1 LightDM/FullLightDM TARGETS FullLightDM-qml)
33 |
--------------------------------------------------------------------------------
/plugins/LightDM/FullLightDM/qmldir:
--------------------------------------------------------------------------------
1 | module LightDM.FullLightDM
2 | plugin FullLightDM-qml
3 | typeinfo FullLightDM.qmltypes
4 |
--------------------------------------------------------------------------------
/plugins/LightDM/IntegratedLightDM/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | set(PLUGIN_CLASSNAME "IntegratedLightDM")
2 |
3 | add_definitions(-DINTEGRATED_LIGHTDM)
4 |
5 | foreach(include_directory ${QMLPLUGIN_INCLUDES})
6 | list(APPEND RELATIVE_QMLPLUGIN_INCLUDES ../${include_directory})
7 | endforeach()
8 |
9 | include_directories(
10 | . #QLightDM
11 | ${QMLPLUGIN_INCLUDES}
12 | ${libunity8-private_SOURCE_DIR}
13 | ${CMAKE_CURRENT_BINARY_DIR}
14 | )
15 |
16 | foreach(source_file ${QMLPLUGIN_SRC})
17 | list(APPEND RELATIVE_QMLPLUGIN_SRC ../${source_file})
18 | endforeach()
19 |
20 | add_library(IntegratedLightDM-qml MODULE
21 | ${RELATIVE_QMLPLUGIN_SRC}
22 | )
23 |
24 | target_link_libraries(IntegratedLightDM-qml
25 | integratedLightDM
26 | unity8-private
27 | ${LIBUSERMETRICSOUTPUT_LDFLAGS}
28 | )
29 |
30 | qt5_use_modules(IntegratedLightDM-qml DBus Gui Qml)
31 | add_unity8_plugin(IntegratedLightDM 0.1 LightDM/IntegratedLightDM TARGETS IntegratedLightDM-qml)
32 |
33 | add_subdirectory(liblightdm)
34 |
--------------------------------------------------------------------------------
/plugins/LightDM/IntegratedLightDM/QLightDM/Greeter:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2016 Canonical, Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | */
16 |
17 | #include "../liblightdm/Greeter.h"
18 |
--------------------------------------------------------------------------------
/plugins/LightDM/IntegratedLightDM/QLightDM/SessionsModel:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2016 Canonical, Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | */
16 |
17 | #include "../liblightdm/SessionsModel.h"
18 |
--------------------------------------------------------------------------------
/plugins/LightDM/IntegratedLightDM/QLightDM/UsersModel:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2016 Canonical, Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | */
16 |
17 | #include "../liblightdm/UsersModel.h"
18 |
--------------------------------------------------------------------------------
/plugins/LightDM/IntegratedLightDM/qmldir:
--------------------------------------------------------------------------------
1 | module LightDM.IntegratedLightDM
2 | plugin IntegratedLightDM-qml
3 | typeinfo IntegratedLightDM.qmltypes
4 |
--------------------------------------------------------------------------------
/plugins/LightDM/qmldir:
--------------------------------------------------------------------------------
1 | module IntegratedLightDM
2 | plugin IntegratedLightDM-qml
3 | typeinfo IntegratedLightDM.qmltypes
4 |
--------------------------------------------------------------------------------
/plugins/Lights/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | pkg_check_modules(ANDROID_HEADERS REQUIRED android-headers)
2 | pkg_check_modules(ANDROID_HARDWARE REQUIRED libhardware)
3 |
4 | include_directories(
5 | SYSTEM
6 | ${ANDROID_HEADERS_INCLUDE_DIRS}
7 | )
8 |
9 | add_library(Lights-qml MODULE
10 | plugin.cpp
11 | Lights.cpp
12 | )
13 |
14 | qt5_use_modules(Lights-qml Qml Gui)
15 | target_link_libraries(Lights-qml ${ANDROID_HARDWARE_LIBRARIES})
16 |
17 | add_unity8_plugin(Lights 0.1 Lights TARGETS Lights-qml)
18 |
--------------------------------------------------------------------------------
/plugins/Lights/android-hardware.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2014 Canonical, Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | *
16 | */
17 |
18 | #include
19 | #include
20 |
--------------------------------------------------------------------------------
/plugins/Lights/qmldir:
--------------------------------------------------------------------------------
1 | module Lights
2 | plugin Lights-qml
3 | typeinfo Lights.qmltypes
4 |
--------------------------------------------------------------------------------
/plugins/Powerd/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | include_directories(
2 | ${GIO_INCLUDE_DIRS}
3 | )
4 |
5 | add_definitions(-DSM_BUSNAME=systemBus)
6 |
7 | add_library(Powerd-qml MODULE
8 | plugin.cpp
9 | Powerd.cpp
10 | )
11 |
12 | qt5_use_modules(Powerd-qml DBus Qml)
13 | target_link_libraries(Powerd-qml ${GIO_LDFLAGS})
14 |
15 | add_unity8_plugin(Powerd 0.1 Powerd TARGETS Powerd-qml)
16 |
--------------------------------------------------------------------------------
/plugins/Powerd/qmldir:
--------------------------------------------------------------------------------
1 | module Powerd
2 | plugin Powerd-qml
3 | typeinfo Powerd.qmltypes
4 |
--------------------------------------------------------------------------------
/plugins/ScreenshotDirectory/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | set(PLUGIN_SOURCES
2 | ScreenshotDirectory.cpp
3 | plugin.cpp
4 | )
5 |
6 | add_library(ScreenshotDirectory-qml MODULE ${PLUGIN_SOURCES})
7 | qt5_use_modules(ScreenshotDirectory-qml Qml Gui Quick)
8 |
9 | add_unity8_plugin(ScreenshotDirectory 0.1 ScreenshotDirectory TARGETS ScreenshotDirectory-qml)
10 |
--------------------------------------------------------------------------------
/plugins/ScreenshotDirectory/ScreenGrabber.qmltypes:
--------------------------------------------------------------------------------
1 | import QtQuick.tooling 1.1
2 |
3 | // This file describes the plugin-supplied types contained in the library.
4 | // It is used for QML tooling purposes only.
5 | //
6 | // This file was auto-generated by:
7 | // 'qmlplugindump -notrelocatable ScreenGrabber 0.1 plugins'
8 |
9 | Module {
10 | Component {
11 | name: "ScreenGrabber"
12 | prototype: "QObject"
13 | exports: ["ScreenGrabber/ScreenGrabber 0.1"]
14 | exportMetaObjectRevisions: [0]
15 | Method { name: "captureAndSave" }
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/plugins/ScreenshotDirectory/plugin.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2014,2016 Canonical, Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | */
16 |
17 | #include "plugin.h"
18 | #include "ScreenshotDirectory.h"
19 |
20 | #include
21 |
22 | void ScreenshotDirectoryPlugin::registerTypes(const char *uri)
23 | {
24 | Q_ASSERT(uri == QLatin1String("ScreenshotDirectory"));
25 | qmlRegisterType(uri, 0, 1, "ScreenshotDirectory");
26 | }
27 |
--------------------------------------------------------------------------------
/plugins/ScreenshotDirectory/qmldir:
--------------------------------------------------------------------------------
1 | module ScreenshotDirectory
2 | plugin ScreenshotDirectory-qml
3 |
--------------------------------------------------------------------------------
/plugins/SessionBroadcast/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | include_directories(${GLIB_INCLUDE_DIRS})
2 | add_definitions(-DSM_BUSNAME=systemBus)
3 |
4 | add_library(SessionBroadcast-qml MODULE
5 | SessionBroadcast.cpp
6 | plugin.cpp
7 | )
8 |
9 | qt5_use_modules(SessionBroadcast-qml DBus Qml)
10 |
11 | target_link_libraries(SessionBroadcast-qml
12 | ${GLIB_LIBRARIES}
13 | )
14 |
15 | add_unity8_plugin(SessionBroadcast 0.1 SessionBroadcast TARGETS SessionBroadcast-qml)
16 |
--------------------------------------------------------------------------------
/plugins/SessionBroadcast/qmldir:
--------------------------------------------------------------------------------
1 | module SessionBroadcast
2 | plugin SessionBroadcast-qml
3 | typeinfo SessionBroadcast.qmltypes
4 |
--------------------------------------------------------------------------------
/plugins/UInput/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_library(UInput-qml MODULE
2 | plugin.cpp
3 | uinput.cpp
4 | )
5 |
6 | qt5_use_modules(UInput-qml Qml)
7 | add_unity8_plugin(UInput 0.1 UInput TARGETS UInput-qml)
8 |
--------------------------------------------------------------------------------
/plugins/UInput/plugin.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2015 Canonical Ltd.
3 | *
4 | * This program is free software: you can redistribute it and/or modify it
5 | * under the terms of the GNU General Public License version 3, as published
6 | * by the Free Software Foundation.
7 | *
8 | * This program is distributed in the hope that it will be useful, but
9 | * WITHOUT ANY WARRANTY; without even the implied warranties of
10 | * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
11 | * PURPOSE. See the GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License along
14 | * with this program. If not, see .
15 | */
16 |
17 | #include "plugin.h"
18 | #include "uinput.h"
19 |
20 | #include
21 |
22 | void UInputPlugin::registerTypes(const char *uri)
23 | {
24 | Q_ASSERT(uri == QLatin1String("UInput"));
25 | qmlRegisterType(uri, 0, 1, "UInput");
26 | }
27 |
--------------------------------------------------------------------------------
/plugins/UInput/qmldir:
--------------------------------------------------------------------------------
1 | module UInput
2 | plugin UInput-qml
3 | typeinfo UInput.qmltypes
4 |
--------------------------------------------------------------------------------
/plugins/Ubuntu/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory(Gestures)
2 | add_subdirectory(DownloadDaemonListener)
3 |
--------------------------------------------------------------------------------
/plugins/Ubuntu/DownloadDaemonListener/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | include_directories(
2 | ${CMAKE_CURRENT_SOURCE_DIR}
3 | ${CMAKE_CURRENT_BINARY_DIR}
4 | )
5 |
6 | set(DOWNLOADDAEMONLISTENER_SOURCES
7 | plugin.cpp
8 | DownloadTracker.cpp
9 | interface/downloadtrackeradaptor.cpp
10 | )
11 |
12 | add_library(DownloadDaemonListener MODULE ${DOWNLOADDAEMONLISTENER_SOURCES})
13 |
14 | qt5_use_modules(DownloadDaemonListener Qml Quick DBus Core)
15 | pkg_check_modules(DDLADAPTER REQUIRED udm-common)
16 | add_definitions(${DDLADAPTER_CFLAGS} ${DDLADAPTER_CFLAGS_OTHER})
17 | target_link_libraries(DownloadDaemonListener ${DDLADAPTER_LIBRARIES})
18 | add_unity8_plugin(Ubuntu.DownloadDaemonListener 0.1 Ubuntu/DownloadDaemonListener TARGETS DownloadDaemonListener)
19 |
--------------------------------------------------------------------------------
/plugins/Ubuntu/DownloadDaemonListener/interface/downloadtrackeradaptor.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * This file was generated by qdbusxml2cpp version 0.8
3 | * Command line was: qdbusxml2cpp -v -c DownloadTrackerAdaptor -p downloadtrackeradaptor.h:downloadtrackeradaptor.cpp -i metatypes.h ../../../../../../ubuntu-download-manager/trunk/docs/dbus/com.canonical.applications.download.xml
4 | *
5 | * qdbusxml2cpp is Copyright (C) 2015 The Qt Company Ltd.
6 | *
7 | * This is an auto-generated file.
8 | * This file may have been hand-edited. Look for HAND-EDIT comments
9 | * before re-generating it.
10 | */
11 |
12 | #include "downloadtrackeradaptor.h"
13 |
14 | /*
15 | * Implementation of interface class DownloadTrackerAdaptor
16 | */
17 |
18 | DownloadTrackerAdaptor::DownloadTrackerAdaptor(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent)
19 | : QDBusAbstractInterface(service, path, staticInterfaceName(), connection, parent)
20 | {
21 | }
22 |
23 | DownloadTrackerAdaptor::~DownloadTrackerAdaptor()
24 | {
25 | }
26 |
--------------------------------------------------------------------------------
/plugins/Ubuntu/DownloadDaemonListener/interface/metatypes.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2013-2016 Canonical Ltd.
3 | *
4 | * This library is free software; you can redistribute it and/or
5 | * modify it under the terms of version 3 of the GNU Lesser General Public
6 | * License as published by the Free Software Foundation.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 | * General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU Lesser General Public
14 | * License along with this library; if not, write to the
15 | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16 | * Boston, MA 02110-1301, USA.
17 | */
18 |
19 | #ifndef DOWNLOADER_LIB_APP_METATYPES_H
20 | #define DOWNLOADER_LIB_APP_METATYPES_H
21 |
22 | // Just include the system file so we're always up to date.
23 | #include
24 |
25 | #endif // METATYPES_H
26 |
--------------------------------------------------------------------------------
/plugins/Ubuntu/DownloadDaemonListener/qmldir:
--------------------------------------------------------------------------------
1 | module Ubuntu.DownloadDaemonListener
2 | plugin DownloadDaemonListener
3 | typeinfo DownloadDaemonListener.qmltypes
4 |
--------------------------------------------------------------------------------
/plugins/Ubuntu/Gestures/UbuntuGesturesQmlGlobal.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2013 Canonical, Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | */
16 |
17 | #include
18 |
19 | #if defined(UBUNTUGESTURESQML_LIBRARY)
20 | # define UBUNTUGESTURESQML_EXPORT Q_DECL_EXPORT
21 | #else
22 | # define UBUNTUGESTURESQML_EXPORT Q_DECL_IMPORT
23 | #endif
24 |
--------------------------------------------------------------------------------
/plugins/Ubuntu/Gestures/plugin.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2013 Canonical, Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | */
16 |
17 | #ifndef PLUGIN_H
18 | #define PLUGIN_H
19 |
20 | #include
21 |
22 | class UbuntuGesturesQmlPlugin : public QQmlExtensionPlugin
23 | {
24 | Q_OBJECT
25 | Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface")
26 | public:
27 | void registerTypes(const char *uri) override;
28 | };
29 |
30 |
31 | #endif
32 |
--------------------------------------------------------------------------------
/plugins/Ubuntu/Gestures/qmldir:
--------------------------------------------------------------------------------
1 | module Ubuntu.Gestures
2 | plugin UbuntuGesturesQml
3 | typeinfo Gestures.qmltypes
4 |
--------------------------------------------------------------------------------
/plugins/Unity/ApplicationMenu/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | find_package(Qt5DBus REQUIRED)
2 |
3 | include_directories(
4 | ${CMAKE_CURRENT_SOURCE_DIR}
5 | ${CMAKE_CURRENT_BINARY_DIR}
6 | )
7 |
8 | set(applicationMenu_SRCS
9 | applicationmenuregistry.cpp
10 | dbusapplicationmenuregistry.cpp
11 | plugin.cpp)
12 |
13 | qt5_add_dbus_adaptor(applicationMenu_SRCS com.ubuntu.MenuRegistrar.xml dbusapplicationmenuregistry.h DBusApplicationMenuRegistry)
14 |
15 | add_library(ApplicationMenu-qml MODULE ${applicationMenu_SRCS})
16 |
17 | qt5_use_modules(ApplicationMenu-qml DBus Qml)
18 |
19 | add_unity8_plugin(Unity.ApplicationMenu 0.1 Unity/ApplicationMenu TARGETS ApplicationMenu-qml)
20 |
--------------------------------------------------------------------------------
/plugins/Unity/ApplicationMenu/qmldir:
--------------------------------------------------------------------------------
1 | module Unity.ApplicationMenu
2 | plugin ApplicationMenu-qml
3 | typeinfo ApplicationMenu.qmltypes
4 |
--------------------------------------------------------------------------------
/plugins/Unity/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory(ApplicationMenu)
2 | add_subdirectory(Connectivity)
3 | add_subdirectory(Indicators)
4 | add_subdirectory(Launcher)
5 | add_subdirectory(Session)
6 | add_subdirectory(DashCommunicator)
7 | add_subdirectory(InputInfo)
8 | add_subdirectory(Platform)
9 |
--------------------------------------------------------------------------------
/plugins/Unity/Connectivity/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | set(CONNECTIVITY_SOURCES
2 | plugin.cpp
3 | Connectivity.cpp
4 | )
5 |
6 | add_library(Connectivity MODULE ${CONNECTIVITY_SOURCES})
7 |
8 | qt5_use_modules(Connectivity Qml DBus Core)
9 |
10 | add_unity8_plugin(Unity.Connectivity 0.1 Unity/Connectivity TARGETS Connectivity)
11 |
--------------------------------------------------------------------------------
/plugins/Unity/Connectivity/qmldir:
--------------------------------------------------------------------------------
1 | module Unity.Connectivity
2 | plugin Connectivity
3 | typeinfo Connectivity.qmltypes
4 |
--------------------------------------------------------------------------------
/plugins/Unity/DashCommunicator/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | include_directories(
2 | ${CMAKE_CURRENT_SOURCE_DIR}
3 | ${CMAKE_CURRENT_BINARY_DIR}
4 | ${libunity8-private_SOURCE_DIR}
5 | )
6 |
7 | set(QMLDASHCOMMUNICATORPLUGIN_SRC
8 | plugin.cpp
9 | dbusdashcommunicatorservice.cpp
10 | dashcommunicatorservice.cpp
11 | dashcommunicator.cpp
12 | dashconnection.cpp
13 | )
14 |
15 | add_library(DashCommunicator-qml MODULE
16 | ${QMLDASHCOMMUNICATORPLUGIN_SRC}
17 | )
18 |
19 | qt5_use_modules(DashCommunicator-qml DBus Qml)
20 |
21 | target_link_libraries(DashCommunicator-qml
22 | unity8-private
23 | )
24 |
25 | # export the qmldir and qmltypes files
26 | add_unity8_plugin(Unity.DashCommunicator 0.1 Unity/DashCommunicator TARGETS DashCommunicator-qml)
27 |
--------------------------------------------------------------------------------
/plugins/Unity/DashCommunicator/qmldir:
--------------------------------------------------------------------------------
1 | module Unity.DashCommunicator
2 | plugin DashCommunicator-qml
3 | typeinfo DashCommunicator.qmltypes
4 |
--------------------------------------------------------------------------------
/plugins/Unity/Indicators/qmldir:
--------------------------------------------------------------------------------
1 | module Unity.Indicators
2 | plugin IndicatorsQml
3 | typeinfo Indicators.qmltypes
4 |
--------------------------------------------------------------------------------
/plugins/Unity/Indicators/unityindicatorsglobal.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2013 Canonical, Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | */
16 |
17 | #include
18 |
19 | #if defined(UNITYINDICATORS_LIBRARY)
20 | # define UNITYINDICATORS_EXPORT Q_DECL_EXPORT
21 | #else
22 | # define UNITYINDICATORS_EXPORT Q_DECL_IMPORT
23 | #endif
24 |
--------------------------------------------------------------------------------
/plugins/Unity/InputInfo/qmldir:
--------------------------------------------------------------------------------
1 | module Unity.InputInfo
2 | plugin InputInfo
3 | typeinfo InputInfo.qmltypes
4 |
--------------------------------------------------------------------------------
/plugins/Unity/Launcher/qmldir:
--------------------------------------------------------------------------------
1 | module Unity.Launcher
2 | plugin UnityLauncher-qml
3 | typeinfo Launcher.qmltypes
4 |
--------------------------------------------------------------------------------
/plugins/Unity/Platform/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | find_package(Qt5DBus REQUIRED)
2 |
3 | set(platformplugin_SRCS
4 | platform.cpp
5 | plugin.cpp)
6 |
7 | add_library(Platform-qml SHARED ${platformplugin_SRCS})
8 |
9 | qt5_use_modules(Platform-qml DBus Qml)
10 |
11 | add_unity8_plugin(Unity.Platform 1.0 Unity/Platform TARGETS Platform-qml)
12 |
--------------------------------------------------------------------------------
/plugins/Unity/Platform/plugin.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2015 Canonical, Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | */
16 |
17 | #include "plugin.h"
18 | #include "platform.h"
19 |
20 | #include
21 |
22 | void GlobalShortcutPlugin::registerTypes(const char *uri)
23 | {
24 | Q_ASSERT(uri == QLatin1String("Unity.Platform"));
25 |
26 | qmlRegisterSingletonType(uri, 1, 0, "Platform", [](QQmlEngine*, QJSEngine*) -> QObject* { return new Platform; });
27 | }
28 |
--------------------------------------------------------------------------------
/plugins/Unity/Platform/qmldir:
--------------------------------------------------------------------------------
1 | module Unity.Platform
2 | plugin Platform-qml
3 |
--------------------------------------------------------------------------------
/plugins/Unity/Session/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | include_directories(
2 | ${CMAKE_CURRENT_SOURCE_DIR}
3 | ${CMAKE_CURRENT_BINARY_DIR}
4 | ${GIO_INCLUDE_DIRS}
5 | ${GLIB_INCLUDE_DIRS}
6 | ${libunity8-private_SOURCE_DIR}
7 | )
8 |
9 | add_definitions(-DSM_BUSNAME=systemBus)
10 |
11 | set(QMLSESSIONPLUGIN_SRC
12 | plugin.cpp
13 | dbusunitysessionservice.cpp
14 | orientationlock.cpp
15 | )
16 |
17 | add_library(UnitySession-qml MODULE
18 | ${QMLSESSIONPLUGIN_SRC}
19 | )
20 |
21 | qt5_use_modules(UnitySession-qml DBus Qml)
22 | target_link_libraries(UnitySession-qml
23 | unity8-private
24 | ${GIO_LDFLAGS}
25 | ${GLIB_LIBRARIES}
26 | )
27 |
28 | # export the qmldir and qmltypes files
29 | add_unity8_plugin(Unity.Session 0.1 Unity/Session TARGETS UnitySession-qml)
30 |
--------------------------------------------------------------------------------
/plugins/Unity/Session/qmldir:
--------------------------------------------------------------------------------
1 | module Unity.Session
2 | plugin UnitySession-qml
3 | typeinfo UnitySession.qmltypes
4 |
--------------------------------------------------------------------------------
/plugins/Utils/qmldir:
--------------------------------------------------------------------------------
1 | module Utils
2 | plugin Utils-qml
3 | typeinfo Utils.qmltypes
4 | Style 0.1 Style.js
5 | singleton EdgeBarrierSettings 0.1 EdgeBarrierSettings.qml
6 |
--------------------------------------------------------------------------------
/plugins/WindowManager/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | set(WINDOWMANAGER_SRC
2 | AvailableDesktopArea.cpp
3 | TopLevelWindowModel.cpp
4 | Window.cpp
5 | WindowManagerPlugin.cpp
6 | WindowMargins.cpp
7 | ${APPLICATION_API_INCLUDEDIR}/unity/shell/application/ApplicationInfoInterface.h
8 | ${APPLICATION_API_INCLUDEDIR}/unity/shell/application/Mir.h
9 | ${APPLICATION_API_INCLUDEDIR}/unity/shell/application/MirSurfaceInterface.h
10 | ${APPLICATION_API_INCLUDEDIR}/unity/shell/application/MirSurfaceListInterface.h
11 | ${APPLICATION_API_INCLUDEDIR}/unity/shell/application/SurfaceManagerInterface.h
12 | )
13 |
14 | add_definitions(-DWINDOWMANAGERQML_LIBRARY)
15 |
16 | include_directories(
17 | SYSTEM
18 | ${Qt5Gui_PRIVATE_INCLUDE_DIRS}
19 | )
20 |
21 | add_library(windowmanager-qml SHARED ${WINDOWMANAGER_SRC})
22 |
23 | qt5_use_modules(windowmanager-qml Qml Quick Gui)
24 |
25 | add_unity8_plugin(WindowManager 0.1 WindowManager TARGETS windowmanager-qml)
26 |
--------------------------------------------------------------------------------
/plugins/WindowManager/WindowManagerGlobal.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2017 Canonical, Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | */
16 |
17 | #include
18 |
19 | #if defined(WINDOWMANAGERQML_LIBRARY)
20 | # define WINDOWMANAGERQML_EXPORT Q_DECL_EXPORT
21 | #else
22 | # define WINDOWMANAGERQML_EXPORT Q_DECL_IMPORT
23 | #endif
24 |
--------------------------------------------------------------------------------
/plugins/WindowManager/qmldir:
--------------------------------------------------------------------------------
1 | module WindowManager
2 | plugin windowmanager-qml
3 |
--------------------------------------------------------------------------------
/plugins/Wizard/50-com.canonical.unity.wizard.pkla:
--------------------------------------------------------------------------------
1 | [Allow welcome wizard to set AccountsService fields]
2 | Identity=unix-user:lightdm
3 | Action=org.freedesktop.accounts.user-administration
4 | ResultActive=yes
5 | ResultInactive=no
6 | ResultAny=no
7 |
--------------------------------------------------------------------------------
/plugins/Wizard/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | pkg_search_module(GD3 REQUIRED gnome-desktop-3.0)
2 |
3 | include_directories(SYSTEM ${GD3_INCLUDE_DIRS} ${GLIB_INCLUDE_DIRS} ${GEONAMES_INCLUDE_DIRS})
4 |
5 | add_library(Wizard-qml MODULE
6 | plugin.cpp
7 | PageList.cpp
8 | System.cpp
9 | LocalePlugin.cpp
10 | timezonemodel.cpp
11 | Status.cpp
12 | keyboardLayoutsModel.cpp
13 | )
14 |
15 | qt5_use_modules(Wizard-qml DBus Qml)
16 | target_link_libraries(Wizard-qml ${GD3_LDFLAGS} ${GLIB_LDFLAGS} ${GEONAMES_LDFLAGS})
17 | add_unity8_plugin(Wizard 0.1 Wizard TARGETS Wizard-qml)
18 |
19 | set(POLKIT_LIB_DIR "${CMAKE_INSTALL_LOCALSTATEDIR}/lib/polkit-1")
20 | install(FILES 50-com.canonical.unity.wizard.pkla DESTINATION ${POLKIT_LIB_DIR}/localauthority/10-vendor.d)
21 |
--------------------------------------------------------------------------------
/plugins/Wizard/Unity/Application/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # This is just a small fake Unity.Application for non-Mir environments
2 | set(PLUG_DIR ${PLUGIN_PRIVATE_MODULE_DIR}/Ubuntu/SystemSettings/Wizard/NonMir/Unity/Application)
3 | install(FILES qmldir OSKController.qml DESTINATION ${PLUG_DIR})
4 |
--------------------------------------------------------------------------------
/plugins/Wizard/Unity/Application/OSKController.qml:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2013 Canonical, Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | */
16 |
17 | import QtQuick 2.0;
18 |
19 | Item {
20 | }
21 |
--------------------------------------------------------------------------------
/plugins/Wizard/Unity/Application/qmldir:
--------------------------------------------------------------------------------
1 | module Unity.Application
2 | OSKController 0.1 OSKController.qml
3 |
--------------------------------------------------------------------------------
/plugins/Wizard/Unity/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory(Application)
2 |
--------------------------------------------------------------------------------
/plugins/Wizard/Utils/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | include_directories(
2 | ${CMAKE_CURRENT_SOURCE_DIR}
3 | ${CMAKE_CURRENT_BINARY_DIR}
4 | ${Qt5Gui_PRIVATE_INCLUDE_DIRS}
5 | )
6 |
7 | set(QMLPLUGIN_SRC
8 | qsortfilterproxymodelqml.cpp
9 | plugin.cpp
10 | system.cpp
11 | )
12 |
13 | add_library(WizardUtils-qml SHARED
14 | ${QMLPLUGIN_SRC}
15 | )
16 |
17 | # Because this is an internal support library, we want
18 | # to expose all symbols in it. Consider changing this
19 | # either to a static library or just using the
20 | # files directly in targets.
21 | set_target_properties(WizardUtils-qml PROPERTIES COMPILE_FLAGS -fvisibility=default)
22 |
23 | qt5_use_modules(WizardUtils-qml DBus Qml Quick)
24 |
25 | set(PLUG_DIR ${PLUGIN_PRIVATE_MODULE_DIR}/Ubuntu/SystemSettings/Wizard/Utils)
26 | install(FILES qmldir DESTINATION ${PLUG_DIR})
27 | install(TARGETS WizardUtils-qml DESTINATION ${PLUG_DIR})
28 |
--------------------------------------------------------------------------------
/plugins/Wizard/Utils/qmldir:
--------------------------------------------------------------------------------
1 | module Ubuntu.SystemSettings.Wizard.Utils
2 | plugin WizardUtils-qml
3 |
--------------------------------------------------------------------------------
/plugins/Wizard/plugin.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2014 Canonical, Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | */
16 |
17 | #ifndef WIZARD_PLUGIN_H
18 | #define WIZARD_PLUGIN_H
19 |
20 | #include
21 |
22 | class WizardPlugin : public QQmlExtensionPlugin
23 | {
24 | Q_OBJECT
25 | Q_PLUGIN_METADATA(IID QQmlExtensionInterface_iid)
26 |
27 | public:
28 | void registerTypes(const char *uri) override;
29 | };
30 |
31 | #endif
32 |
--------------------------------------------------------------------------------
/plugins/Wizard/qmldir:
--------------------------------------------------------------------------------
1 | module Wizard
2 | plugin Wizard-qml
3 |
--------------------------------------------------------------------------------
/plugins/Wizard/test.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | TOPDIR=$(readlink -e "$(dirname ${0})/..")
4 |
5 | LOCAL_PRIVATE_DIR=$(ls -d ${TOPDIR}/debian/tmp/usr/lib/*/ubuntu-system-settings/private)
6 | if [ -n ${LOCAL_PRIVATE_DIR} ]; then
7 | echo "Testing against locally built version"
8 | export UBUNTU_SYSTEM_SETTINGS_WIZARD_ROOT="${TOPDIR}/debian/tmp/usr/share"
9 | export UBUNTU_SYSTEM_SETTINGS_WIZARD_MODULES="${LOCAL_PRIVATE_DIR}"
10 | export QML2_IMPORT_PATH=${LOCAL_PRIVATE_DIR}:${QML2_IMPORT_PATH}
11 | export PATH=${TOPDIR}/debian/tmp/usr/bin:${PATH}
12 | else
13 | echo "Testing against system version"
14 | fi
15 |
16 | export QML2_IMPORT_PATH=${TOPDIR}/tests/mocks:${QML2_IMPORT_PATH}
17 |
18 | exec system-settings-wizard
19 |
--------------------------------------------------------------------------------
/plugins/Wizard/ubuntu-system-settings-wizard-cleanup.conf:
--------------------------------------------------------------------------------
1 | description "Welcome to Ubuntu Cleanup"
2 | author "Michael Terry "
3 |
4 | # These are all tasks that need to be completed only if the wizard was
5 | # intentionally stopped (i.e. the user clicked 'Finish' at the end)
6 |
7 | task
8 |
9 | # If you change this, also change it in the main upstart job
10 | env RUN_FILE=".config/ubuntu-system-settings/wizard-has-run"
11 |
12 | script
13 | # Don't run again in the future. We do this here, rather than in the main
14 | # job because we only want to run this code if user actually clicked on the
15 | # "Finish" button.
16 | mkdir -p $(dirname "$HOME/$RUN_FILE")
17 | touch "$HOME/$RUN_FILE" || true
18 |
19 | stop ubuntu-system-settings-wizard
20 | end script
21 |
--------------------------------------------------------------------------------
/qml/ApplicationMenus/ApplicationMenusLimits.qml:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2017 Canonical, Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | */
16 |
17 | pragma Singleton
18 | import QtQuick 2.4
19 | import QtQuick.Window 2.2
20 |
21 | QtObject {
22 | property real screenWidth: Screen.width
23 | property real screenHeight: Screen.height
24 | }
25 |
--------------------------------------------------------------------------------
/qml/ApplicationMenus/qmldir:
--------------------------------------------------------------------------------
1 | singleton ApplicationMenusLimits 0.1 ApplicationMenusLimits.qml
2 |
--------------------------------------------------------------------------------
/qml/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | file(GLOB QML_JS_FILES *.qml *.js)
2 |
3 | install(FILES ${QML_JS_FILES}
4 | DESTINATION ${SHELL_APP_DIR}
5 | )
6 |
7 | set(QML_DIRS
8 | ApplicationMenus
9 | Components
10 | Dash
11 | graphics
12 | Greeter
13 | Launcher
14 | Notifications
15 | Panel
16 | Stage
17 | Rotation
18 | Tutorial
19 | Wizard
20 | )
21 |
22 | install(DIRECTORY ${QML_DIRS}
23 | DESTINATION ${SHELL_APP_DIR}
24 | )
25 |
--------------------------------------------------------------------------------
/qml/Components/Flickable.qml:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2016 Canonical, Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | */
16 |
17 | import QtQuick 2.4 as QtQuick
18 | import Ubuntu.Components 1.3
19 | import "flickableUtils.js" as FlickableUtilsJS
20 |
21 | QtQuick.Flickable {
22 | flickDeceleration: FlickableUtilsJS.getFlickDeceleration(units.gridUnit)
23 | maximumFlickVelocity: FlickableUtilsJS.getMaximumFlickVelocity(units.gridUnit)
24 | }
--------------------------------------------------------------------------------
/qml/Components/GridView.qml:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2016 Canonical, Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | */
16 |
17 | import QtQuick 2.4 as QtQuick
18 | import Ubuntu.Components 1.3
19 | import "flickableUtils.js" as FlickableUtilsJS
20 |
21 | QtQuick.GridView {
22 | flickDeceleration: FlickableUtilsJS.getFlickDeceleration(units.gridUnit)
23 | maximumFlickVelocity: FlickableUtilsJS.getMaximumFlickVelocity(units.gridUnit)
24 | }
--------------------------------------------------------------------------------
/qml/Components/ListView.qml:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2016 Canonical, Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | */
16 |
17 | import QtQuick 2.4 as QtQuick
18 | import Ubuntu.Components 1.3
19 | import "flickableUtils.js" as FlickableUtilsJS
20 |
21 | QtQuick.ListView {
22 | flickDeceleration: FlickableUtilsJS.getFlickDeceleration(units.gridUnit)
23 | maximumFlickVelocity: FlickableUtilsJS.getMaximumFlickVelocity(units.gridUnit)
24 | }
--------------------------------------------------------------------------------
/qml/Components/PanelState/qmldir:
--------------------------------------------------------------------------------
1 | singleton PanelState 1.0 PanelState.qml
2 |
--------------------------------------------------------------------------------
/qml/Components/SearchHistoryModel/qmldir:
--------------------------------------------------------------------------------
1 | singleton SearchHistoryModel 1.0 SearchHistoryModel.qml
2 |
--------------------------------------------------------------------------------
/qml/Components/StandardAnimation.qml:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2013 Canonical, Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | */
16 |
17 | import QtQuick 2.4
18 |
19 | NumberAnimation {
20 | duration: 200
21 | easing.type: Easing.InOutQuad
22 | }
23 |
--------------------------------------------------------------------------------
/qml/Components/graphics/close@20.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Components/graphics/close@20.png
--------------------------------------------------------------------------------
/qml/Components/graphics/icon_star_empty@20.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Components/graphics/icon_star_empty@20.png
--------------------------------------------------------------------------------
/qml/Components/graphics/icon_star_full@20.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Components/graphics/icon_star_full@20.png
--------------------------------------------------------------------------------
/qml/Components/graphics/icon_star_half@20.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Components/graphics/icon_star_half@20.png
--------------------------------------------------------------------------------
/qml/Components/graphics/icon_star_off@20.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Components/graphics/icon_star_off@20.png
--------------------------------------------------------------------------------
/qml/Components/graphics/icon_star_on@20.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Components/graphics/icon_star_on@20.png
--------------------------------------------------------------------------------
/qml/Components/graphics/non-selected@18.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Components/graphics/non-selected@18.png
--------------------------------------------------------------------------------
/qml/Components/graphics/non-selected@18.sci:
--------------------------------------------------------------------------------
1 | border.left: 54
2 | border.top: 60
3 | border.bottom: 60
4 | border.right: 54
5 | source: non-selected@18.png
6 |
--------------------------------------------------------------------------------
/qml/Dash/DashBackground.qml:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2013, 2014 Canonical, Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | */
16 |
17 | import QtQuick 2.4
18 |
19 | Rectangle {
20 | color: "white"
21 | }
22 |
--------------------------------------------------------------------------------
/qml/Dash/DashContentTabBarStyle.qml:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2013 Canonical, Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | */
16 |
17 | import Ubuntu.Components.Themes.Ambiance 1.3
18 |
19 | TabBarStyle {
20 | indicatorImageSource: "graphics/tabbarchevron.png"
21 | // TODO karni: These should come from updated Ubuntu Palette.
22 | headerTextColor: "#88888888"
23 | headerTextSelectedColor: "#888888"
24 | }
25 |
--------------------------------------------------------------------------------
/qml/Dash/Previews/PreviewActionButton.qml:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2014 Canonical, Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | */
16 |
17 | import QtQuick 2.4
18 | import Ubuntu.Components 1.3
19 |
20 | Button {
21 | signal triggeredAction(var actionData)
22 |
23 | property var data: null
24 | objectName: "button" + (data && data.id || "")
25 | text: data && data.label || ""
26 | onClicked: triggeredAction(data)
27 | }
28 |
--------------------------------------------------------------------------------
/qml/Dash/Previews/PreviewSingleton/PreviewSingleton.qml:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2016 Canonical, Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | */
16 |
17 | pragma Singleton
18 | import QtQuick 2.4
19 |
20 | QtObject {
21 | property var widgetExtraData: new Object();
22 | }
--------------------------------------------------------------------------------
/qml/Dash/Previews/PreviewSingleton/qmldir:
--------------------------------------------------------------------------------
1 | singleton PreviewSingleton 1.0 PreviewSingleton.qml
2 |
--------------------------------------------------------------------------------
/qml/Dash/ScopeSettings/ScopeSettingNumber.qml:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2014 Canonical, Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | */
16 |
17 | import QtQuick 2.4
18 |
19 | ScopeSettingString {
20 | mode: "number"
21 | }
22 |
--------------------------------------------------------------------------------
/qml/Dash/graphics/dark_background.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Dash/graphics/dark_background.jpg
--------------------------------------------------------------------------------
/qml/Dash/graphics/header_handlearrow2@27.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Dash/graphics/header_handlearrow2@27.png
--------------------------------------------------------------------------------
/qml/Dash/graphics/header_handlearrow@27.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Dash/graphics/header_handlearrow@27.png
--------------------------------------------------------------------------------
/qml/Dash/graphics/icon_clear@20.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Dash/graphics/icon_clear@20.png
--------------------------------------------------------------------------------
/qml/Dash/graphics/icon_search_active@20.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Dash/graphics/icon_search_active@20.png
--------------------------------------------------------------------------------
/qml/Dash/graphics/icon_search_inactive@20.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Dash/graphics/icon_search_inactive@20.png
--------------------------------------------------------------------------------
/qml/Dash/graphics/overview_hint@30.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Dash/graphics/overview_hint@30.png
--------------------------------------------------------------------------------
/qml/Dash/graphics/pixel.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Dash/graphics/pixel.png
--------------------------------------------------------------------------------
/qml/Dash/graphics/play_button@18.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Dash/graphics/play_button@18.png
--------------------------------------------------------------------------------
/qml/Dash/graphics/play_button_active@18.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Dash/graphics/play_button_active@18.png
--------------------------------------------------------------------------------
/qml/Dash/graphics/play_button_active_big@20.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Dash/graphics/play_button_active_big@20.png
--------------------------------------------------------------------------------
/qml/Dash/graphics/play_button_big@20.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Dash/graphics/play_button_big@20.png
--------------------------------------------------------------------------------
/qml/Dash/graphics/rectangular_dropshadow@30.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Dash/graphics/rectangular_dropshadow@30.png
--------------------------------------------------------------------------------
/qml/Dash/graphics/rectangular_dropshadow@30.sci:
--------------------------------------------------------------------------------
1 | border.left: 30
2 | border.top: 30
3 | border.bottom: 30
4 | border.right: 30
5 | source: rectangular_dropshadow@30.png
6 |
--------------------------------------------------------------------------------
/qml/Dash/graphics/tabbarchevron@27.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Dash/graphics/tabbarchevron@27.png
--------------------------------------------------------------------------------
/qml/Dash/graphics/tablet/icon_close_preview@20.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Dash/graphics/tablet/icon_close_preview@20.png
--------------------------------------------------------------------------------
/qml/Dash/graphics/tooltip_arrow@27.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Dash/graphics/tooltip_arrow@27.png
--------------------------------------------------------------------------------
/qml/Greeter/graphics/dot_empty.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Greeter/graphics/dot_empty.png
--------------------------------------------------------------------------------
/qml/Greeter/graphics/dot_filled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Greeter/graphics/dot_filled.png
--------------------------------------------------------------------------------
/qml/Greeter/graphics/dot_pointer.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Greeter/graphics/dot_pointer.png
--------------------------------------------------------------------------------
/qml/Greeter/graphics/icon_arrow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Greeter/graphics/icon_arrow.png
--------------------------------------------------------------------------------
/qml/Greeter/graphics/session_icons/gnome_badge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Greeter/graphics/session_icons/gnome_badge.png
--------------------------------------------------------------------------------
/qml/Greeter/graphics/session_icons/kde_badge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Greeter/graphics/session_icons/kde_badge.png
--------------------------------------------------------------------------------
/qml/Greeter/graphics/session_icons/recovery_console_badge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Greeter/graphics/session_icons/recovery_console_badge.png
--------------------------------------------------------------------------------
/qml/Greeter/graphics/session_icons/ubuntu_badge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Greeter/graphics/session_icons/ubuntu_badge.png
--------------------------------------------------------------------------------
/qml/Greeter/graphics/session_icons/unknown_badge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Greeter/graphics/session_icons/unknown_badge.png
--------------------------------------------------------------------------------
/qml/Greeter/qmldir:
--------------------------------------------------------------------------------
1 | singleton LightDMService 0.1 LightDMService.qml
2 |
--------------------------------------------------------------------------------
/qml/Launcher/graphics/divider-line.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Launcher/graphics/divider-line.png
--------------------------------------------------------------------------------
/qml/Launcher/graphics/focused_app_arrow@30.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Launcher/graphics/focused_app_arrow@30.png
--------------------------------------------------------------------------------
/qml/Launcher/graphics/quicklist_tooltip@30.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Launcher/graphics/quicklist_tooltip@30.png
--------------------------------------------------------------------------------
/qml/Panel/FakePanelMenu.qml:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2013-2015 Canonical, Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | */
16 |
17 | import QtQuick 2.4
18 |
19 | QtObject {
20 | property list hides
21 | property QtObject model: null
22 | property bool expanded: false
23 |
24 | signal hide()
25 | signal show()
26 | }
27 |
--------------------------------------------------------------------------------
/qml/Panel/Indicators/IndicatorDelegate.qml:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2013 Canonical Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU Lesser General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU Lesser General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU Lesser General Public License
14 | * along with this program. If not, see .
15 | *
16 | * Authors:
17 | * Nick Dedekind
18 | */
19 |
20 | import QtQuick 2.4
21 |
22 | IndicatorBase {
23 | readonly property bool indicatorVisible: rootActionState.indicatorVisible
24 | readonly property string title: rootActionState.title || rootActionState.accessibleName
25 | }
26 |
--------------------------------------------------------------------------------
/qml/Panel/graphics/rectangular_dropshadow@30.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Panel/graphics/rectangular_dropshadow@30.png
--------------------------------------------------------------------------------
/qml/Panel/graphics/rectangular_dropshadow@30.sci:
--------------------------------------------------------------------------------
1 | border.left: 30
2 | border.top: 30
3 | border.bottom: 30
4 | border.right: 30
5 | source: rectangular_dropshadow@30.png
6 |
--------------------------------------------------------------------------------
/qml/Stage/graphics/PageHeaderBaseDividerBottom@18.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Stage/graphics/PageHeaderBaseDividerBottom@18.png
--------------------------------------------------------------------------------
/qml/Stage/graphics/PageHeaderBaseDividerLight@18.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Stage/graphics/PageHeaderBaseDividerLight@18.png
--------------------------------------------------------------------------------
/qml/Stage/graphics/PageHeaderBaseDividerLight@18.sci:
--------------------------------------------------------------------------------
1 | border.top: 4
2 | border.bottom: 0
3 | border.left: 0
4 | border.right: 0
5 | source: PageHeaderBaseDividerLight@18.png
6 |
--------------------------------------------------------------------------------
/qml/Stage/graphics/arrows-centre.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Stage/graphics/arrows-centre.png
--------------------------------------------------------------------------------
/qml/Stage/graphics/arrows.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Stage/graphics/arrows.png
--------------------------------------------------------------------------------
/qml/Stage/graphics/sidestage_handle@20.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Stage/graphics/sidestage_handle@20.png
--------------------------------------------------------------------------------
/qml/Stage/graphics/sidestage_handle@20.sci:
--------------------------------------------------------------------------------
1 | border.left: 24
2 | border.top: 2
3 | border.bottom: 2
4 | border.right: 2
5 | source: sidestage_handle@20.png
--------------------------------------------------------------------------------
/qml/Tutorial/graphics/background1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Tutorial/graphics/background1.png
--------------------------------------------------------------------------------
/qml/Tutorial/graphics/background2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Tutorial/graphics/background2.png
--------------------------------------------------------------------------------
/qml/Wizard/Pages/data/Desktop_header_bkg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Wizard/Pages/data/Desktop_header_bkg.png
--------------------------------------------------------------------------------
/qml/Wizard/Pages/data/Desktop_splash_screen_bkg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Wizard/Pages/data/Desktop_splash_screen_bkg.png
--------------------------------------------------------------------------------
/qml/Wizard/Pages/data/Phone_header_bkg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Wizard/Pages/data/Phone_header_bkg.png
--------------------------------------------------------------------------------
/qml/Wizard/Pages/data/Phone_splash_screen_bkg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Wizard/Pages/data/Phone_splash_screen_bkg.png
--------------------------------------------------------------------------------
/qml/Wizard/Pages/data/Tick@30.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Wizard/Pages/data/Tick@30.png
--------------------------------------------------------------------------------
/qml/Wizard/Pages/data/timezonemap/map.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Wizard/Pages/data/timezonemap/map.png
--------------------------------------------------------------------------------
/qml/Wizard/Pages/data/timezonemap/pin.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Wizard/Pages/data/timezonemap/pin.png
--------------------------------------------------------------------------------
/qml/Wizard/Pages/data/timezonemap/timezone_-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Wizard/Pages/data/timezonemap/timezone_-1.png
--------------------------------------------------------------------------------
/qml/Wizard/Pages/data/timezonemap/timezone_-10.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Wizard/Pages/data/timezonemap/timezone_-10.png
--------------------------------------------------------------------------------
/qml/Wizard/Pages/data/timezonemap/timezone_-11.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Wizard/Pages/data/timezonemap/timezone_-11.png
--------------------------------------------------------------------------------
/qml/Wizard/Pages/data/timezonemap/timezone_-2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Wizard/Pages/data/timezonemap/timezone_-2.png
--------------------------------------------------------------------------------
/qml/Wizard/Pages/data/timezonemap/timezone_-3.5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Wizard/Pages/data/timezonemap/timezone_-3.5.png
--------------------------------------------------------------------------------
/qml/Wizard/Pages/data/timezonemap/timezone_-3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Wizard/Pages/data/timezonemap/timezone_-3.png
--------------------------------------------------------------------------------
/qml/Wizard/Pages/data/timezonemap/timezone_-4.5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Wizard/Pages/data/timezonemap/timezone_-4.5.png
--------------------------------------------------------------------------------
/qml/Wizard/Pages/data/timezonemap/timezone_-4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Wizard/Pages/data/timezonemap/timezone_-4.png
--------------------------------------------------------------------------------
/qml/Wizard/Pages/data/timezonemap/timezone_-5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Wizard/Pages/data/timezonemap/timezone_-5.png
--------------------------------------------------------------------------------
/qml/Wizard/Pages/data/timezonemap/timezone_-6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Wizard/Pages/data/timezonemap/timezone_-6.png
--------------------------------------------------------------------------------
/qml/Wizard/Pages/data/timezonemap/timezone_-7.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Wizard/Pages/data/timezonemap/timezone_-7.png
--------------------------------------------------------------------------------
/qml/Wizard/Pages/data/timezonemap/timezone_-8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Wizard/Pages/data/timezonemap/timezone_-8.png
--------------------------------------------------------------------------------
/qml/Wizard/Pages/data/timezonemap/timezone_-9.5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Wizard/Pages/data/timezonemap/timezone_-9.5.png
--------------------------------------------------------------------------------
/qml/Wizard/Pages/data/timezonemap/timezone_-9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Wizard/Pages/data/timezonemap/timezone_-9.png
--------------------------------------------------------------------------------
/qml/Wizard/Pages/data/timezonemap/timezone_0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Wizard/Pages/data/timezonemap/timezone_0.png
--------------------------------------------------------------------------------
/qml/Wizard/Pages/data/timezonemap/timezone_1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Wizard/Pages/data/timezonemap/timezone_1.png
--------------------------------------------------------------------------------
/qml/Wizard/Pages/data/timezonemap/timezone_10.5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Wizard/Pages/data/timezonemap/timezone_10.5.png
--------------------------------------------------------------------------------
/qml/Wizard/Pages/data/timezonemap/timezone_10.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Wizard/Pages/data/timezonemap/timezone_10.png
--------------------------------------------------------------------------------
/qml/Wizard/Pages/data/timezonemap/timezone_11.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Wizard/Pages/data/timezonemap/timezone_11.png
--------------------------------------------------------------------------------
/qml/Wizard/Pages/data/timezonemap/timezone_12.75.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Wizard/Pages/data/timezonemap/timezone_12.75.png
--------------------------------------------------------------------------------
/qml/Wizard/Pages/data/timezonemap/timezone_12.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Wizard/Pages/data/timezonemap/timezone_12.png
--------------------------------------------------------------------------------
/qml/Wizard/Pages/data/timezonemap/timezone_13.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Wizard/Pages/data/timezonemap/timezone_13.png
--------------------------------------------------------------------------------
/qml/Wizard/Pages/data/timezonemap/timezone_2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Wizard/Pages/data/timezonemap/timezone_2.png
--------------------------------------------------------------------------------
/qml/Wizard/Pages/data/timezonemap/timezone_3.5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Wizard/Pages/data/timezonemap/timezone_3.5.png
--------------------------------------------------------------------------------
/qml/Wizard/Pages/data/timezonemap/timezone_3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Wizard/Pages/data/timezonemap/timezone_3.png
--------------------------------------------------------------------------------
/qml/Wizard/Pages/data/timezonemap/timezone_4.5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Wizard/Pages/data/timezonemap/timezone_4.5.png
--------------------------------------------------------------------------------
/qml/Wizard/Pages/data/timezonemap/timezone_4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Wizard/Pages/data/timezonemap/timezone_4.png
--------------------------------------------------------------------------------
/qml/Wizard/Pages/data/timezonemap/timezone_5.5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Wizard/Pages/data/timezonemap/timezone_5.5.png
--------------------------------------------------------------------------------
/qml/Wizard/Pages/data/timezonemap/timezone_5.75.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Wizard/Pages/data/timezonemap/timezone_5.75.png
--------------------------------------------------------------------------------
/qml/Wizard/Pages/data/timezonemap/timezone_5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Wizard/Pages/data/timezonemap/timezone_5.png
--------------------------------------------------------------------------------
/qml/Wizard/Pages/data/timezonemap/timezone_6.5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Wizard/Pages/data/timezonemap/timezone_6.5.png
--------------------------------------------------------------------------------
/qml/Wizard/Pages/data/timezonemap/timezone_6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Wizard/Pages/data/timezonemap/timezone_6.png
--------------------------------------------------------------------------------
/qml/Wizard/Pages/data/timezonemap/timezone_7.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Wizard/Pages/data/timezonemap/timezone_7.png
--------------------------------------------------------------------------------
/qml/Wizard/Pages/data/timezonemap/timezone_8.5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Wizard/Pages/data/timezonemap/timezone_8.5.png
--------------------------------------------------------------------------------
/qml/Wizard/Pages/data/timezonemap/timezone_8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Wizard/Pages/data/timezonemap/timezone_8.png
--------------------------------------------------------------------------------
/qml/Wizard/Pages/data/timezonemap/timezone_9.5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Wizard/Pages/data/timezonemap/timezone_9.5.png
--------------------------------------------------------------------------------
/qml/Wizard/Pages/data/timezonemap/timezone_9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/Wizard/Pages/data/timezonemap/timezone_9.png
--------------------------------------------------------------------------------
/qml/Wizard/WizardTextField.qml:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2015-2016 Canonical, Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | */
16 |
17 | import QtQuick 2.4
18 | import Ubuntu.Components 1.3
19 | import Ubuntu.Components.Themes.Ambiance 1.3
20 |
21 | TextField {
22 | id: styledItem
23 | style: TextFieldStyle {
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/qml/graphics/dropshadow2gu@30.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/graphics/dropshadow2gu@30.png
--------------------------------------------------------------------------------
/qml/graphics/dropshadow2gu@30.sci:
--------------------------------------------------------------------------------
1 | border.left: 60
2 | border.top: 60
3 | border.bottom: 60
4 | border.right: 60
5 | source: dropshadow2gu@30.png
6 |
--------------------------------------------------------------------------------
/qml/graphics/dropshadow_left@20.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/graphics/dropshadow_left@20.png
--------------------------------------------------------------------------------
/qml/graphics/dropshadow_right@20.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/qml/graphics/dropshadow_right@20.png
--------------------------------------------------------------------------------
/src/ApplicationArguments.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2015 Canonical, Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | */
16 |
17 | #include "ApplicationArguments.h"
18 |
19 | ApplicationArguments::ApplicationArguments(QObject *parent)
20 | : QObject(parent)
21 | {
22 | }
23 |
--------------------------------------------------------------------------------
/src/Dash/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | set(DASH_SRCS
2 | main.cpp
3 | ../CachingNetworkManagerFactory.cpp
4 | ../UnixSignalHandler.cpp
5 | )
6 |
7 | if (ENABLE_TOUCH_EMULATION)
8 | set(DASH_SRCS ${DASH_SRCS} ../MouseTouchAdaptor.cpp)
9 | endif()
10 |
11 | add_executable(unity8-dash ${DASH_SRCS})
12 |
13 | qt5_use_modules(unity8-dash DBus Gui Qml Quick Test)
14 |
15 | # For it to find libUbuntuGestures.so, needed by Ubuntu.Gestures QML module.
16 | set_target_properties(unity8-dash PROPERTIES INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${SHELL_PRIVATE_LIBDIR}")
17 |
18 | target_link_libraries(unity8-dash UbuntuGestures connectivity-qt1)
19 |
20 | if (ENABLE_TOUCH_EMULATION)
21 | target_link_libraries(unity8-dash ${MOUSETOUCHADAPTOR_LIBS_LDFLAGS})
22 | endif()
23 |
24 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden")
25 |
26 | # install binaries
27 | install(TARGETS ${DASH_APP}
28 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
29 | )
30 |
--------------------------------------------------------------------------------
/src/SecondaryWindow.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2015 Canonical, Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | */
16 |
17 | #ifndef UNITY_SECONDARY_WINDOW_H
18 | #define UNITY_SECONDARY_WINDOW_H
19 |
20 | #include
21 |
22 | class SecondaryWindow : public QQuickView
23 | {
24 | Q_OBJECT
25 |
26 | public:
27 | SecondaryWindow(QQmlEngine *engine);
28 | };
29 |
30 | #endif // UNITY_SECONDARY_WINDOW_H
31 |
--------------------------------------------------------------------------------
/src/libunity8-private/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | set(LIB_NAME "unity8-private")
2 | set(SOVERSION 0)
3 | set(VERSION ${SOVERSION}.0.0)
4 |
5 | project(lib${LIB_NAME})
6 |
7 | set(lib${LIB_NAME}_SRCS
8 | abstractdbusservicemonitor.cpp
9 | unitydbusobject.cpp
10 | unitydbusvirtualobject.cpp
11 | )
12 |
13 | add_library(${LIB_NAME} SHARED
14 | ${lib${LIB_NAME}_SRCS}
15 | )
16 |
17 | set_target_properties(${LIB_NAME} PROPERTIES
18 | VERSION ${VERSION}
19 | SOVERSION ${SOVERSION}
20 | )
21 |
22 | qt5_use_modules(${LIB_NAME} DBus)
23 |
24 | # install library
25 | install(TARGETS ${LIB_NAME}
26 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
27 | )
28 |
--------------------------------------------------------------------------------
/tests/autopilot/unity8/application_lifecycle/__init__.py:
--------------------------------------------------------------------------------
1 | # -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-
2 | #
3 | # Unity Autopilot Test Suite
4 | # Copyright (C) 2013 Canonical
5 | #
6 | # This program is free software: you can redistribute it and/or modify
7 | # it under the terms of the GNU General Public License as published by
8 | # the Free Software Foundation, either version 3 of the License, or
9 | # (at your option) any later version.
10 | #
11 | # This program is distributed in the hope that it will be useful,
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 | # GNU General Public License for more details.
15 | #
16 | # You should have received a copy of the GNU General Public License
17 | # along with this program. If not, see .
18 | #
19 |
20 | """Tests for the application lifecycle base package."""
21 |
--------------------------------------------------------------------------------
/tests/copyright/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | #
2 | # Test that all source files contain a copyright header.
3 | #
4 |
5 | add_test(Copyright ${CMAKE_CURRENT_SOURCE_DIR}/check_copyright.sh
6 | ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR})
7 |
--------------------------------------------------------------------------------
/tests/data/unity/backgrounds/blue.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/data/unity/backgrounds/blue.png
--------------------------------------------------------------------------------
/tests/data/unity/backgrounds/red.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/data/unity/backgrounds/red.png
--------------------------------------------------------------------------------
/tests/data/unity/indicators/com.canonical.indicator.fake1:
--------------------------------------------------------------------------------
1 | [Indicator Service]
2 | Name=indicator-fake1
3 | ObjectPath=/com/canonical/indicator/fake1
4 | Position=1
5 |
6 | [test1]
7 | ObjectPath=/com/canonical/indicator/fake1/test1
8 |
9 | [test2]
10 | ObjectPath=/com/canonical/indicator/fake1/test2
11 |
--------------------------------------------------------------------------------
/tests/data/unity/indicators/com.canonical.indicator.fake2:
--------------------------------------------------------------------------------
1 | [Indicator Service]
2 | Name=indicator-fake2
3 | ObjectPath=/com/canonical/indicator/fake2
4 | Position=0
5 |
6 | [test1]
7 | ObjectPath=/com/canonical/indicator/fake2/test1
8 |
9 | [test2]
10 | ObjectPath=/com/canonical/indicator/fake2/test2
11 |
--------------------------------------------------------------------------------
/tests/data/unity/indicators/com.canonical.indicator.fake3:
--------------------------------------------------------------------------------
1 | [Indicator Service]
2 | Name=indicator-fake3
3 | ObjectPath=/com/canonical/indicator/fake3
4 | Position=3
5 |
6 | [test1]
7 | ObjectPath=/com/canonical/indicator/fake3/test1
8 |
9 | [test2]
10 | ObjectPath=/com/canonical/indicator/fake3/test2
11 |
--------------------------------------------------------------------------------
/tests/data/unity/indicators/com.canonical.indicator.fake4:
--------------------------------------------------------------------------------
1 | [Indicator Service]
2 | Name=indicator-fake4
3 | ObjectPath=/com/canonical/indicator/fake4
4 | Position=2
5 |
6 | [test1]
7 | ObjectPath=/com/canonical/indicator/fake4/test1
8 |
9 | [test2]
10 | ObjectPath=/com/canonical/indicator/fake4/test2
11 |
--------------------------------------------------------------------------------
/tests/graphics/applicationIcons/browser@18.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/graphics/applicationIcons/browser@18.png
--------------------------------------------------------------------------------
/tests/graphics/applicationIcons/calendar@18.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/graphics/applicationIcons/calendar@18.png
--------------------------------------------------------------------------------
/tests/graphics/applicationIcons/camera@18.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/graphics/applicationIcons/camera@18.png
--------------------------------------------------------------------------------
/tests/graphics/applicationIcons/contacts-app@18.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/graphics/applicationIcons/contacts-app@18.png
--------------------------------------------------------------------------------
/tests/graphics/applicationIcons/dash@18.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/graphics/applicationIcons/dash@18.png
--------------------------------------------------------------------------------
/tests/graphics/applicationIcons/dialer-app@18.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/graphics/applicationIcons/dialer-app@18.png
--------------------------------------------------------------------------------
/tests/graphics/applicationIcons/evernote@18.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/graphics/applicationIcons/evernote@18.png
--------------------------------------------------------------------------------
/tests/graphics/applicationIcons/facebook@18.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/graphics/applicationIcons/facebook@18.png
--------------------------------------------------------------------------------
/tests/graphics/applicationIcons/gallery@18.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/graphics/applicationIcons/gallery@18.png
--------------------------------------------------------------------------------
/tests/graphics/applicationIcons/gmail@18.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/graphics/applicationIcons/gmail@18.png
--------------------------------------------------------------------------------
/tests/graphics/applicationIcons/libreoffice@18.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/graphics/applicationIcons/libreoffice@18.png
--------------------------------------------------------------------------------
/tests/graphics/applicationIcons/map@18.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/graphics/applicationIcons/map@18.png
--------------------------------------------------------------------------------
/tests/graphics/applicationIcons/messages-app@18.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/graphics/applicationIcons/messages-app@18.png
--------------------------------------------------------------------------------
/tests/graphics/applicationIcons/notepad@18.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/graphics/applicationIcons/notepad@18.png
--------------------------------------------------------------------------------
/tests/graphics/applicationIcons/pinterest@18.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/graphics/applicationIcons/pinterest@18.png
--------------------------------------------------------------------------------
/tests/graphics/applicationIcons/soundcloud@18.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/graphics/applicationIcons/soundcloud@18.png
--------------------------------------------------------------------------------
/tests/graphics/applicationIcons/system-settings@18.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/graphics/applicationIcons/system-settings@18.png
--------------------------------------------------------------------------------
/tests/graphics/applicationIcons/twitter@18.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/graphics/applicationIcons/twitter@18.png
--------------------------------------------------------------------------------
/tests/graphics/applicationIcons/weather@18.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/graphics/applicationIcons/weather@18.png
--------------------------------------------------------------------------------
/tests/graphics/applicationIcons/wikipedia@18.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/graphics/applicationIcons/wikipedia@18.png
--------------------------------------------------------------------------------
/tests/graphics/applicationIcons/youtube@18.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/graphics/applicationIcons/youtube@18.png
--------------------------------------------------------------------------------
/tests/graphics/avatars/amanda@12.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/graphics/avatars/amanda@12.png
--------------------------------------------------------------------------------
/tests/graphics/avatars/anna_olsson@12.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/graphics/avatars/anna_olsson@12.png
--------------------------------------------------------------------------------
/tests/graphics/avatars/funky@12.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/graphics/avatars/funky@12.png
--------------------------------------------------------------------------------
/tests/graphics/clock@18.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/graphics/clock@18.png
--------------------------------------------------------------------------------
/tests/graphics/screenshots/gallery@12.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/graphics/screenshots/gallery@12.png
--------------------------------------------------------------------------------
/tests/imports/CMakeLists.txt:
--------------------------------------------------------------------------------
1 |
2 | #
3 | # Test that all imports for QtQuick and Ubuntu.Components use the wanted version
4 | #
5 | add_test(imports ${CMAKE_CURRENT_SOURCE_DIR}/check_imports.py ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR})
6 |
--------------------------------------------------------------------------------
/tests/mocks/AccountsService/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | include_directories(
2 | ${CMAKE_CURRENT_BINARY_DIR}
3 | ${CMAKE_SOURCE_DIR}/plugins/LightDM
4 | ${CMAKE_SOURCE_DIR}/plugins/LightDM/IntegratedLightDM
5 | ${CMAKE_SOURCE_DIR}/plugins/Utils
6 | )
7 |
8 | add_library(MockAccountsService-qml MODULE
9 | ${CMAKE_SOURCE_DIR}/plugins/LightDM/Greeter.cpp
10 | ${CMAKE_SOURCE_DIR}/plugins/LightDM/PromptsModel.cpp
11 | ${CMAKE_SOURCE_DIR}/plugins/LightDM/UsersModel.cpp
12 | ${CMAKE_SOURCE_DIR}/plugins/Utils/unitysortfilterproxymodelqml.cpp
13 | AccountsService.cpp
14 | plugin.cpp
15 | )
16 |
17 | qt5_use_modules(MockAccountsService-qml DBus Qml)
18 |
19 | target_link_libraries(MockAccountsService-qml
20 | MockLightDM
21 | )
22 |
23 | add_unity8_mock(AccountsService 0.1 AccountsService
24 | TARGETS MockAccountsService-qml
25 | )
26 |
--------------------------------------------------------------------------------
/tests/mocks/AccountsService/qmldir:
--------------------------------------------------------------------------------
1 | module AccountsService
2 | plugin MockAccountsService-qml
3 | typeinfo AccountsService.qmltypes
4 |
--------------------------------------------------------------------------------
/tests/mocks/Biometryd/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | set(MOCK_BIOMETRYD_SOURCES
2 | plugin.cpp
3 | MockBiometryd.cpp
4 | MockDevice.cpp
5 | MockIdentifier.cpp
6 | MockObserver.cpp
7 | MockOperation.cpp
8 | )
9 |
10 | add_library(MockBiometryd MODULE ${MOCK_BIOMETRYD_SOURCES})
11 |
12 | qt5_use_modules(MockBiometryd Qml Quick Core)
13 |
14 | add_unity8_mock(Biometryd 0.0 Biometryd TARGETS MockBiometryd)
15 |
--------------------------------------------------------------------------------
/tests/mocks/Biometryd/MockDevice.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2016 Canonical, Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | */
16 |
17 | #include "MockDevice.h"
18 | #include "MockIdentifier.h"
19 |
20 | MockDevice::MockDevice(QObject *parent)
21 | : QObject(parent)
22 | , m_identifier(new MockIdentifier(this))
23 | {
24 | }
25 |
26 | MockIdentifier *MockDevice::identifier() const
27 | {
28 | return m_identifier;
29 | }
30 |
--------------------------------------------------------------------------------
/tests/mocks/Biometryd/MockIdentifier.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2016 Canonical, Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | */
16 |
17 | #include "MockIdentifier.h"
18 | #include "MockOperation.h"
19 |
20 | MockIdentifier::MockIdentifier(QObject *parent)
21 | : QObject(parent)
22 | {
23 | }
24 |
25 | MockOperation *MockIdentifier::identifyUser()
26 | {
27 | return new MockOperation(this);
28 | }
29 |
--------------------------------------------------------------------------------
/tests/mocks/Biometryd/MockObserver.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2016 Canonical, Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | */
16 |
17 | #include "MockObserver.h"
18 |
19 | MockObserver::MockObserver(QObject *parent)
20 | : QObject(parent)
21 | {
22 | }
23 |
--------------------------------------------------------------------------------
/tests/mocks/Biometryd/qmldir:
--------------------------------------------------------------------------------
1 | module Biometryd
2 | plugin MockBiometryd
3 | typeinfo Biometryd.qmltypes
4 |
--------------------------------------------------------------------------------
/tests/mocks/Cursor/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_unity8_mock(Cursor 1.1 Cursor)
2 |
--------------------------------------------------------------------------------
/tests/mocks/Cursor/qmldir:
--------------------------------------------------------------------------------
1 | module Cursor
2 | Cursor 1.1 Cursor.qml
3 |
--------------------------------------------------------------------------------
/tests/mocks/GSettings.1.0/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | include_directories(
2 | ${CMAKE_CURRENT_BINARY_DIR}
3 | ${Qt5Core_INCLUDE_DIRS}
4 | ${Qt5Quick_INCLUDE_DIRS}
5 | )
6 |
7 | set(GSettingsQML_SOURCES
8 | fake_gsettings.cpp
9 | plugin.cpp
10 | )
11 |
12 | add_library(FakeGSettingsQml MODULE ${GSettingsQML_SOURCES})
13 | target_link_libraries(FakeGSettingsQml
14 | ${Qt5Core_LIBRARIES}
15 | ${Qt5Quick_LIBRARIES}
16 | )
17 |
18 | qt5_use_modules(FakeGSettingsQml Qml)
19 |
20 | add_unity8_mock(GSettings 1.0 GSettings.1.0 TARGETS FakeGSettingsQml)
21 |
--------------------------------------------------------------------------------
/tests/mocks/GSettings.1.0/qmldir:
--------------------------------------------------------------------------------
1 | module GSettings
2 | plugin FakeGSettingsQml
3 | typeinfo GSettings.qmltypes
4 |
--------------------------------------------------------------------------------
/tests/mocks/LightDMController/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_library(LightDMController MODULE
2 | plugin.cpp
3 | )
4 |
5 | target_include_directories(LightDMController PUBLIC
6 | ${CMAKE_SOURCE_DIR}/tests/mocks/liblightdm/
7 | )
8 |
9 | target_link_libraries(LightDMController
10 | MockLightDM
11 | )
12 |
13 | qt5_use_modules(LightDMController Qml)
14 |
15 | add_unity8_mock(LightDMController 0.1 LightDMController TARGETS LightDMController)
16 |
--------------------------------------------------------------------------------
/tests/mocks/LightDMController/plugin.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2016 Canonical, Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | */
16 |
17 | #pragma once
18 |
19 | #include
20 | #include
21 |
22 | class LightDMControllerPlugin : public QQmlExtensionPlugin
23 | {
24 | Q_OBJECT
25 | Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface")
26 |
27 | public:
28 | void registerTypes(const char *uri) override;
29 | };
30 |
--------------------------------------------------------------------------------
/tests/mocks/LightDMController/qmldir:
--------------------------------------------------------------------------------
1 | module LightDMController
2 | plugin LightDMController
3 |
--------------------------------------------------------------------------------
/tests/mocks/Lights/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_library(MockLights-qml MODULE
2 | plugin.cpp
3 | Lights.cpp
4 | )
5 |
6 | qt5_use_modules(MockLights-qml Qml Gui)
7 |
8 | add_unity8_mock(Lights 0.1 Lights TARGETS MockLights-qml)
9 |
--------------------------------------------------------------------------------
/tests/mocks/Lights/qmldir:
--------------------------------------------------------------------------------
1 | module Lights
2 | plugin MockLights-qml
3 | typeinfo Lights.qmltypes
4 |
--------------------------------------------------------------------------------
/tests/mocks/MeeGo/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory(QOfono)
2 |
--------------------------------------------------------------------------------
/tests/mocks/MeeGo/QOfono/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | set(MOCK_QOFONO_SOURCES
2 | plugin.cpp
3 | MockQOfono.cpp
4 | MockQOfonoManager.cpp
5 | )
6 |
7 | add_library(MockQOfono MODULE ${MOCK_QOFONO_SOURCES})
8 |
9 | qt5_use_modules(MockQOfono Qml Quick Core)
10 |
11 | add_unity8_mock(MeeGo.QOfono 0.2 MeeGo/QOfono TARGETS MockQOfono)
12 |
--------------------------------------------------------------------------------
/tests/mocks/MeeGo/QOfono/qmldir:
--------------------------------------------------------------------------------
1 | module MeeGo.QOfono
2 | plugin MockQOfono
3 | OfonoSimManager 0.2 MockOfonoSimManager.qml
4 |
--------------------------------------------------------------------------------
/tests/mocks/Powerd/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_definitions(-DSM_BUSNAME=sessionBus)
2 |
3 | add_library(MockPowerd-qml MODULE
4 | plugin.cpp
5 | Powerd.cpp
6 | )
7 |
8 | qt5_use_modules(MockPowerd-qml Qml)
9 |
10 | add_unity8_mock(Powerd 0.1 Powerd TARGETS MockPowerd-qml)
11 |
--------------------------------------------------------------------------------
/tests/mocks/Powerd/qmldir:
--------------------------------------------------------------------------------
1 | module Powerd
2 | plugin MockPowerd-qml
3 | typeinfo Powerd.qmltypes
4 |
--------------------------------------------------------------------------------
/tests/mocks/QMenuModel/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | include_directories(
2 | ${Qt5Core_INCLUDE_DIRS}
3 | ${Qt5Quick_INCLUDE_DIRS}
4 | )
5 |
6 | set(QMenuModelQml_SOURCES
7 | actiondata.h
8 | actionstateparser.cpp
9 | dbus-enums.h
10 | plugin.cpp
11 | unitymenumodel.cpp
12 | )
13 |
14 | add_library(QMenuModelQml SHARED ${QMenuModelQml_SOURCES})
15 | target_link_libraries(QMenuModelQml
16 | ${Qt5Core_LIBRARIES}
17 | ${Qt5Quick_LIBRARIES}
18 | )
19 |
20 | qt5_use_modules(QMenuModelQml Core Quick)
21 |
22 | set_target_properties(QMenuModelQml PROPERTIES
23 | OUTPUT_NAME qmenumodel
24 | VERSION 0)
25 |
26 | add_unity8_mock(QMenuModel 0.1 QMenuModel TARGETS QMenuModelQml)
27 |
--------------------------------------------------------------------------------
/tests/mocks/QMenuModel/UnityMenuAction.qml:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2013 Canonical, Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | *
16 | * Authors:
17 | * Nick Dedekind
18 | */
19 |
20 | import QtQuick 2.4
21 | import QMenuModel 0.1
22 |
23 | QtObject {
24 | property string name
25 | property UnityMenuModel model
26 | property int index
27 |
28 | readonly property var state: undefined
29 | readonly property bool valid: false
30 | }
31 |
--------------------------------------------------------------------------------
/tests/mocks/QMenuModel/actionstateparser.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2013 Canonical, Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | *
16 | * Authors: Nick Dedekind
17 | */
18 |
19 | #include "actionstateparser.h"
--------------------------------------------------------------------------------
/tests/mocks/QMenuModel/qmldir:
--------------------------------------------------------------------------------
1 | module QMenuModel
2 | plugin qmenumodel
3 | typeinfo QMenuModel.qmltypes
4 |
5 | QDBusActionGroup 0.1 QDBusActionGroup.qml
6 | UnityMenuAction 0.1 UnityMenuAction.qml
7 |
--------------------------------------------------------------------------------
/tests/mocks/QtMultimedia/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | include_directories(
2 | ${CMAKE_CURRENT_SOURCE_DIR}
3 | ${CMAKE_CURRENT_BINARY_DIR}
4 | )
5 |
6 | add_library(QtMultimedia-qml MODULE
7 | plugin.cpp
8 | mediaplayer.cpp
9 | videooutput.cpp
10 | declarativeplaylist.cpp
11 | )
12 |
13 | qt5_use_modules(QtMultimedia-qml Qml Quick)
14 |
15 | add_unity8_mock(QtMultimedia 5.0 QtMultimedia TARGETS QtMultimedia-qml)
16 |
--------------------------------------------------------------------------------
/tests/mocks/QtMultimedia/qmldir:
--------------------------------------------------------------------------------
1 | module QtMultimedia
2 | plugin QtMultimedia-qml
3 | typeinfo QtMultimedia.qmltypes
4 |
--------------------------------------------------------------------------------
/tests/mocks/SessionBroadcast/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_library(MockSessionBroadcast-qml MODULE
2 | plugin.cpp
3 | SessionBroadcast.cpp
4 | )
5 |
6 | qt5_use_modules(MockSessionBroadcast-qml Qml)
7 |
8 | add_unity8_mock(SessionBroadcast 0.1 SessionBroadcast TARGETS MockSessionBroadcast-qml)
9 |
--------------------------------------------------------------------------------
/tests/mocks/SessionBroadcast/qmldir:
--------------------------------------------------------------------------------
1 | module SessionBroadcast
2 | plugin MockSessionBroadcast-qml
3 |
--------------------------------------------------------------------------------
/tests/mocks/UInput/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_library(FakeUInput-qml MODULE
2 | plugin.cpp
3 | mockuinput.cpp
4 | )
5 |
6 | qt5_use_modules(FakeUInput-qml Qml)
7 | add_unity8_mock(UInput 0.1 UInput TARGETS FakeUInput-qml)
8 |
--------------------------------------------------------------------------------
/tests/mocks/UInput/plugin.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2015 Canonical Ltd.
3 | *
4 | * This program is free software: you can redistribute it and/or modify it
5 | * under the terms of the GNU General Public License version 3, as published
6 | * by the Free Software Foundation.
7 | *
8 | * This program is distributed in the hope that it will be useful, but
9 | * WITHOUT ANY WARRANTY; without even the implied warranties of
10 | * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
11 | * PURPOSE. See the GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License along
14 | * with this program. If not, see .
15 | */
16 |
17 | #include "plugin.h"
18 | #include "mockuinput.h"
19 |
20 | #include
21 |
22 | void MockUInputPlugin::registerTypes(const char *uri)
23 | {
24 | Q_ASSERT(uri == QLatin1String("UInput"));
25 | qmlRegisterType(uri, 0, 1, "UInput");
26 | }
27 |
--------------------------------------------------------------------------------
/tests/mocks/UInput/qmldir:
--------------------------------------------------------------------------------
1 | module UInput
2 | plugin FakeUInput-qml
3 |
--------------------------------------------------------------------------------
/tests/mocks/Ubuntu/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory(Connectivity)
2 | add_subdirectory(DownloadDaemonListener)
3 | add_subdirectory(SystemSettings)
4 | add_subdirectory(Telephony)
5 | add_subdirectory(Thumbnailer)
6 | add_subdirectory(Web)
7 |
--------------------------------------------------------------------------------
/tests/mocks/Ubuntu/Connectivity/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_library(connectivity-qml SHARED
2 | networking-status.cpp
3 | plugin.cpp
4 | )
5 | qt5_use_modules(connectivity-qml Qml)
6 |
7 | # copy qmldir file into build directory for shadow builds
8 | file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/qmldir"
9 | DESTINATION ${CMAKE_CURRENT_BINARY_DIR}
10 | )
11 |
--------------------------------------------------------------------------------
/tests/mocks/Ubuntu/Connectivity/qmldir:
--------------------------------------------------------------------------------
1 | module Ubuntu.Connectivity
2 | plugin connectivity-qml
3 |
--------------------------------------------------------------------------------
/tests/mocks/Ubuntu/DownloadDaemonListener/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | set(FakeUbuntuDownloadDaemonListenerQml_SOURCES
2 | plugin.cpp
3 | MockDownloadTracker.cpp
4 | )
5 |
6 | add_library(FakeUbuntuDownloadDaemonListenerQml MODULE ${FakeUbuntuDownloadDaemonListenerQml_SOURCES})
7 |
8 | qt5_use_modules(FakeUbuntuDownloadDaemonListenerQml Core Quick)
9 |
10 | add_unity8_mock(Ubuntu.DownloadDaemonListener 0.1 Ubuntu/DownloadDaemonListener TARGETS FakeUbuntuDownloadDaemonListenerQml)
11 |
--------------------------------------------------------------------------------
/tests/mocks/Ubuntu/DownloadDaemonListener/plugin.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2013 Canonical, Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | */
16 |
17 | #include "plugin.h"
18 | #include "MockDownloadTracker.h"
19 |
20 | #include
21 | #include
22 |
23 |
24 | void FakeUbuntuDownloadDaemonListenerQmlPlugin::registerTypes(const char *uri)
25 | {
26 | qmlRegisterType(uri, 0, 1, "DownloadTracker");
27 | }
28 |
--------------------------------------------------------------------------------
/tests/mocks/Ubuntu/DownloadDaemonListener/qmldir:
--------------------------------------------------------------------------------
1 | module Ubuntu.DownloadDaemonListener
2 | plugin FakeUbuntuDownloadDaemonListenerQml
3 | typeinfo DownloadDaemonListener.qmltypes
4 |
--------------------------------------------------------------------------------
/tests/mocks/Ubuntu/SystemSettings/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory(LanguagePlugin)
2 | add_subdirectory(SecurityPrivacy)
3 | add_subdirectory(TimeDate)
4 | add_subdirectory(Diagnostics)
5 |
--------------------------------------------------------------------------------
/tests/mocks/Ubuntu/SystemSettings/Diagnostics/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_unity8_mock(Ubuntu.SystemSettings.Diagnostics 1.0 Ubuntu/SystemSettings/Diagnostics)
2 |
--------------------------------------------------------------------------------
/tests/mocks/Ubuntu/SystemSettings/Diagnostics/MockDiagnostics.qml:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2015 Canonical, Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | */
16 |
17 | import QtQuick 2.4
18 |
19 | Item {
20 | property bool reportCrashes: true
21 | function setReportCrashes(report) {
22 | reportCrashes = report;
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/tests/mocks/Ubuntu/SystemSettings/Diagnostics/qmldir:
--------------------------------------------------------------------------------
1 | module Ubuntu.SystemSettings.Diagnostics
2 | UbuntuDiagnostics 1.0 MockDiagnostics.qml
3 |
--------------------------------------------------------------------------------
/tests/mocks/Ubuntu/SystemSettings/LanguagePlugin/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_unity8_mock(Ubuntu.SystemSettings.LanguagePlugin 1.0 Ubuntu/SystemSettings/LanguagePlugin)
2 |
--------------------------------------------------------------------------------
/tests/mocks/Ubuntu/SystemSettings/LanguagePlugin/MockKeyboardPlugin.qml:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2016 Canonical, Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | */
16 |
17 | import QtQuick 2.4
18 |
19 | Item {
20 | function setCurrentLayout(language) {}
21 | }
22 |
--------------------------------------------------------------------------------
/tests/mocks/Ubuntu/SystemSettings/LanguagePlugin/qmldir:
--------------------------------------------------------------------------------
1 | module Ubuntu.SystemSettings.LanguagePlugin
2 | UbuntuLanguagePlugin 1.0 MockLanguagePlugin.qml
3 | OnScreenKeyboardPlugin 1.0 MockKeyboardPlugin.qml
4 |
--------------------------------------------------------------------------------
/tests/mocks/Ubuntu/SystemSettings/SecurityPrivacy/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | set(MOCK_SECURITYPRIVACY_SOURCES
2 | plugin.cpp
3 | MockSecurityPrivacy.cpp
4 | )
5 |
6 | add_library(MockSecurityPrivacy MODULE ${MOCK_SECURITYPRIVACY_SOURCES})
7 |
8 | qt5_use_modules(MockSecurityPrivacy Qml Quick Core)
9 |
10 | add_unity8_mock(Ubuntu.SystemSettings.SecurityPrivacy 1.0 Ubuntu/SystemSettings/SecurityPrivacy TARGETS MockSecurityPrivacy)
11 |
--------------------------------------------------------------------------------
/tests/mocks/Ubuntu/SystemSettings/SecurityPrivacy/plugin.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2014 Canonical, Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | */
16 |
17 | #include "plugin.h"
18 | #include "MockSecurityPrivacy.h"
19 |
20 | #include
21 |
22 | void BackendPlugin::registerTypes(const char *uri)
23 | {
24 | Q_ASSERT(uri == QLatin1String("Ubuntu.SystemSettings.SecurityPrivacy"));
25 | qmlRegisterType(uri, 1, 0, "UbuntuSecurityPrivacyPanel");
26 | }
27 |
--------------------------------------------------------------------------------
/tests/mocks/Ubuntu/SystemSettings/SecurityPrivacy/qmldir:
--------------------------------------------------------------------------------
1 | module Ubuntu.SystemSettings.SecurityPrivacy
2 | plugin MockSecurityPrivacy
3 |
--------------------------------------------------------------------------------
/tests/mocks/Ubuntu/SystemSettings/TimeDate/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_unity8_mock(Ubuntu.SystemSettings.TimeDate 1.1 Ubuntu/SystemSettings/TimeDate)
2 |
--------------------------------------------------------------------------------
/tests/mocks/Ubuntu/SystemSettings/TimeDate/qmldir:
--------------------------------------------------------------------------------
1 | module Ubuntu.SystemSettings.TimeDate
2 | UbuntuTimeDatePanel 1.1 MockTimeDate.qml
3 |
--------------------------------------------------------------------------------
/tests/mocks/Ubuntu/Telephony/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | set(FakeUbuntuTelephonyQml_SOURCES
2 | plugin.cpp
3 | ContactWatcherData.cpp
4 | MockCallEntry.cpp
5 | MockCallManager.cpp
6 | MockContactWatcher.cpp
7 | MockTelepathyHelper.cpp
8 | )
9 |
10 | add_library(FakeUbuntuTelephonyQml MODULE ${FakeUbuntuTelephonyQml_SOURCES})
11 |
12 | qt5_use_modules(FakeUbuntuTelephonyQml Core Quick)
13 |
14 | add_unity8_mock(Ubuntu.Telephony 0.1 Ubuntu/Telephony TARGETS FakeUbuntuTelephonyQml)
15 |
--------------------------------------------------------------------------------
/tests/mocks/Ubuntu/Telephony/qmldir:
--------------------------------------------------------------------------------
1 | module Ubuntu.Telephony
2 | plugin FakeUbuntuTelephonyQml
3 |
--------------------------------------------------------------------------------
/tests/mocks/Ubuntu/Thumbnailer/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_unity8_mock(Ubuntu.Thumbnailer 0.1 Ubuntu/Thumbnailer)
2 |
--------------------------------------------------------------------------------
/tests/mocks/Ubuntu/Thumbnailer/qmldir:
--------------------------------------------------------------------------------
1 | module Ubuntu.Thumbnailer
2 | typeinfo Thumbnailer.qmltypes
3 |
4 | Dummy 0.1 Dummy.qml
5 |
--------------------------------------------------------------------------------
/tests/mocks/Ubuntu/Web/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_unity8_mock(Ubuntu.Web 0.2 Ubuntu/Web)
2 |
--------------------------------------------------------------------------------
/tests/mocks/Ubuntu/Web/WebView.qml:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2015 Canonical, Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | *
16 | */
17 |
18 | import QtQuick 2.4
19 |
20 | Item {
21 | property url url
22 | property int loadProgress: 0
23 |
24 | onUrlChanged: loadProgress = 100
25 | }
26 |
--------------------------------------------------------------------------------
/tests/mocks/Ubuntu/Web/qmldir:
--------------------------------------------------------------------------------
1 | module Ubuntu.Web
2 | typeinfo Web.qmltypes
3 |
4 | WebView 0.2 WebView.qml
5 |
--------------------------------------------------------------------------------
/tests/mocks/Unity/Application/qmldir:
--------------------------------------------------------------------------------
1 | module Unity.Application
2 | plugin FakeUnityApplicationQml
3 | typeinfo Application.qmltypes
4 |
--------------------------------------------------------------------------------
/tests/mocks/Unity/Application/resources/screenshots/browser@12.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/mocks/Unity/Application/resources/screenshots/browser@12.png
--------------------------------------------------------------------------------
/tests/mocks/Unity/Application/resources/screenshots/camera@12.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/mocks/Unity/Application/resources/screenshots/camera@12.png
--------------------------------------------------------------------------------
/tests/mocks/Unity/Application/resources/screenshots/dialer@12.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/mocks/Unity/Application/resources/screenshots/dialer@12.png
--------------------------------------------------------------------------------
/tests/mocks/Unity/Application/resources/screenshots/facebook@12.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/mocks/Unity/Application/resources/screenshots/facebook@12.png
--------------------------------------------------------------------------------
/tests/mocks/Unity/Application/resources/screenshots/gallery@12.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/mocks/Unity/Application/resources/screenshots/gallery@12.png
--------------------------------------------------------------------------------
/tests/mocks/Unity/Application/resources/screenshots/libreoffice@12.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/mocks/Unity/Application/resources/screenshots/libreoffice@12.png
--------------------------------------------------------------------------------
/tests/mocks/Unity/Application/resources/screenshots/map@12.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/mocks/Unity/Application/resources/screenshots/map@12.png
--------------------------------------------------------------------------------
/tests/mocks/Unity/Application/resources/screenshots/music@12.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/mocks/Unity/Application/resources/screenshots/music@12.png
--------------------------------------------------------------------------------
/tests/mocks/Unity/Application/resources/screenshots/twitter@12.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/mocks/Unity/Application/resources/screenshots/twitter@12.png
--------------------------------------------------------------------------------
/tests/mocks/Unity/Application/resources/screenshots/unity8-dash@12.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/mocks/Unity/Application/resources/screenshots/unity8-dash@12.png
--------------------------------------------------------------------------------
/tests/mocks/Unity/Application/resources/screenshots/vkb_portrait.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/mocks/Unity/Application/resources/screenshots/vkb_portrait.png
--------------------------------------------------------------------------------
/tests/mocks/Unity/Application/resources/surfaces.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | Kate.qml
4 | KateDialog.qml
5 | KateMenu.qml
6 | VirtualKeyboard.qml
7 | MirSurfaceItem.qml
8 | vkb_portrait.png
9 | screenshots/browser@12.png
10 | screenshots/camera@12.png
11 | screenshots/dialer@12.png
12 | screenshots/facebook@12.png
13 | screenshots/gallery@12.png
14 | screenshots/gmail-webapp.svg
15 | screenshots/map@12.png
16 | screenshots/music@12.png
17 | screenshots/twitter@12.png
18 | screenshots/ubuntu-weather-app.svg
19 | screenshots/unity8-dash@12.png
20 | screenshots/vkb_portrait.png
21 | screenshots/libreoffice@12.png
22 |
23 |
24 |
--------------------------------------------------------------------------------
/tests/mocks/Unity/Application/resources/vkb_portrait.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/mocks/Unity/Application/resources/vkb_portrait.png
--------------------------------------------------------------------------------
/tests/mocks/Unity/ApplicationMenu/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | find_package(Qt5DBus REQUIRED)
2 |
3 | include_directories(
4 | ${CMAKE_SOURCE_DIR}/plugins/Unity/ApplicationMenu
5 | ${CMAKE_CURRENT_SOURCE_DIR}
6 | ${CMAKE_CURRENT_BINARY_DIR}
7 | )
8 |
9 | set(FakeApplicationMenu_SRCS
10 | ${CMAKE_SOURCE_DIR}/plugins/Unity/ApplicationMenu/applicationmenuregistry.cpp
11 | mockapplicationmenuregistry.cpp
12 | plugin.cpp)
13 |
14 | add_library(FakeApplicationMenu-qml MODULE ${FakeApplicationMenu_SRCS})
15 |
16 | qt5_use_modules(FakeApplicationMenu-qml Qml DBus)
17 |
18 | add_unity8_mock(Unity.ApplicationMenu 1.0 Unity/ApplicationMenu PREFIX mocks TARGETS FakeApplicationMenu-qml)
19 |
--------------------------------------------------------------------------------
/tests/mocks/Unity/ApplicationMenu/qmldir:
--------------------------------------------------------------------------------
1 | module Unity.ApplicationMenu
2 | plugin FakeApplicationMenu-qml
3 | typeinfo ApplicationMenu.qmltypes
4 |
--------------------------------------------------------------------------------
/tests/mocks/Unity/Connectivity/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | set(MOCK_CONNECTIVITY_SOURCES
2 | plugin.cpp
3 | MockConnectivity.cpp
4 | )
5 |
6 | add_library(MockConnectivity MODULE ${MOCK_CONNECTIVITY_SOURCES})
7 |
8 | qt5_use_modules(MockConnectivity Qml Quick Core)
9 |
10 | add_unity8_mock(Unity.Connectivity 0.1 Unity/Connectivity TARGETS MockConnectivity)
11 |
--------------------------------------------------------------------------------
/tests/mocks/Unity/Connectivity/MockConnectivity.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2014 Canonical, Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | */
16 |
17 | #include "MockConnectivity.h"
18 |
19 | MockConnectivity::MockConnectivity(QObject *parent)
20 | : QObject(parent)
21 | {
22 | }
23 |
24 | void MockConnectivity::unlockAllModems()
25 | {
26 | Q_EMIT unlockingAllModems();
27 | }
28 |
--------------------------------------------------------------------------------
/tests/mocks/Unity/Connectivity/qmldir:
--------------------------------------------------------------------------------
1 | module Unity.Connectivity
2 | plugin MockConnectivity
3 | typeinfo Connectivity.qmltypes
4 |
--------------------------------------------------------------------------------
/tests/mocks/Unity/DashCommunicator/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | include_directories(
2 | ${CMAKE_CURRENT_SOURCE_DIR}
3 | )
4 |
5 | set(QMLDASHCOMMUNICATORPLUGIN_SRC
6 | plugin.cpp
7 | dashcommunicatorservice.cpp
8 | dashcommunicator.cpp
9 | )
10 |
11 | add_library(MockDashCommunicator-qml MODULE
12 | ${QMLDASHCOMMUNICATORPLUGIN_SRC}
13 | )
14 |
15 | qt5_use_modules(MockDashCommunicator-qml DBus Qml)
16 |
17 | # export the qmldir and qmltypes files
18 | add_unity8_mock(Unity.DashCommunicator 0.1 Unity/DashCommunicator TARGETS MockDashCommunicator-qml)
19 |
--------------------------------------------------------------------------------
/tests/mocks/Unity/DashCommunicator/qmldir:
--------------------------------------------------------------------------------
1 | module Unity.DashCommunicator
2 | plugin MockDashCommunicator-qml
3 | typeinfo DashCommunicator.qmltypes
4 |
--------------------------------------------------------------------------------
/tests/mocks/Unity/Indicators/qmldir:
--------------------------------------------------------------------------------
1 | module Unity.Indicators
2 | plugin IndicatorsFakeQml
3 | typeinfo Indicators.qmltypes
4 |
5 | ActionRootState 0.1 ActionRootState.qml
6 | IndicatorsModel 0.1 IndicatorsModel.qml
7 | ModelActionRootState 0.1 ModelActionRootState.qml
8 |
--------------------------------------------------------------------------------
/tests/mocks/Unity/InputInfo/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # TODO: This is a copy of the plugin in plugins/Unity/InputInfo which in
2 | # turn is a copy of the WIP upstream InputInfo API. This needs to be updated
3 | # and brought in sync if our snapshot is updated.
4 | # Long term goal is to merge the InputInfo API upstream.
5 |
6 | find_package(Qt5Core REQUIRED)
7 | find_package(Qt5Quick REQUIRED)
8 |
9 | include_directories(
10 | ${CMAKE_CURRENT_SOURCE_DIR}
11 | ${CMAKE_CURRENT_BINARY_DIR}
12 | ${CMAKE_SOURCE_DIR}/plugins/Unity/InputInfo/
13 | )
14 |
15 | add_definitions(-DUNITY_MOCKS)
16 |
17 | set(MockInputInfo_SOURCES
18 | plugin.cpp
19 | qinputdeviceinfo_mock.cpp
20 | mockcontroller.cpp
21 | ${CMAKE_SOURCE_DIR}/plugins/Unity/InputInfo/qinputinfo.cpp
22 | ${CMAKE_SOURCE_DIR}/plugins/Unity/InputInfo/qdeclarativeinputdevicemodel.cpp
23 | )
24 |
25 | add_library(MockInputInfo SHARED
26 | ${MockInputInfo_SOURCES}
27 | )
28 |
29 | qt5_use_modules(MockInputInfo Core Qml Quick)
30 |
31 | add_unity8_mock(Unity.InputInfo 0.1 Unity/InputInfo TARGETS MockInputInfo)
32 |
--------------------------------------------------------------------------------
/tests/mocks/Unity/InputInfo/qmldir:
--------------------------------------------------------------------------------
1 | module Unity.InputInfo
2 | plugin MockInputInfo
3 |
--------------------------------------------------------------------------------
/tests/mocks/Unity/Launcher/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | include_directories(
2 | ${CMAKE_CURRENT_SOURCE_DIR}
3 | ${CMAKE_SOURCE_DIR}/plugins/Unity/Launcher/
4 | )
5 |
6 | set(MockLauncherModel_SOURCES
7 | ${APPLICATION_API_INCLUDEDIR}/unity/shell/application/ApplicationManagerInterface.h
8 | ${LAUNCHER_API_INCLUDEDIR}/unity/shell/launcher/LauncherItemInterface.h
9 | ${LAUNCHER_API_INCLUDEDIR}/unity/shell/launcher/LauncherModelInterface.h
10 | ${LAUNCHER_API_INCLUDEDIR}/unity/shell/launcher/QuickListModelInterface.h
11 | ${LAUNCHER_API_INCLUDEDIR}/unity/shell/launcher/AppDrawerModelInterface.h
12 | plugin.cpp
13 | MockLauncherModel.cpp
14 | MockLauncherItem.cpp
15 | MockQuickListModel.cpp
16 | MockAppDrawerModel.cpp
17 | ${CMAKE_SOURCE_DIR}/plugins/Utils/applicationsfiltermodel.cpp
18 | )
19 |
20 | add_library(MockLauncherPlugin MODULE ${MockLauncherModel_SOURCES})
21 |
22 | qt5_use_modules(MockLauncherPlugin Core Quick)
23 |
24 | add_unity8_mock(Unity.Launcher 0.1 Unity/Launcher TARGETS MockLauncherPlugin)
25 |
--------------------------------------------------------------------------------
/tests/mocks/Unity/Launcher/qmldir:
--------------------------------------------------------------------------------
1 | module Unity.Launcher
2 | plugin MockLauncherPlugin
3 | typeinfo Launcher.qmltypes
4 |
--------------------------------------------------------------------------------
/tests/mocks/Unity/Notifications/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | include_directories(
2 | ${CMAKE_CURRENT_SOURCE_DIR}
3 | )
4 |
5 | set(MockNotificationsPlugin_SOURCES
6 | plugin.cpp
7 | MockNotification.cpp
8 | MockNotificationModel.cpp
9 | MockActionModel.cpp
10 | )
11 |
12 | add_library(MockNotificationsPlugin MODULE ${MockNotificationsPlugin_SOURCES})
13 |
14 | qt5_use_modules(MockNotificationsPlugin Core Quick)
15 |
16 | add_unity8_mock(Unity.Notifications 1.0 Unity/Notifications TARGETS MockNotificationsPlugin)
17 |
--------------------------------------------------------------------------------
/tests/mocks/Unity/Notifications/qmldir:
--------------------------------------------------------------------------------
1 | module Unity.Notifications
2 | plugin MockNotificationsPlugin
3 | typeinfo Notifications.qmltypes
4 |
5 |
--------------------------------------------------------------------------------
/tests/mocks/Unity/Platform/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_unity8_mock(Unity.Platform 1.0 Unity/Platform)
2 |
--------------------------------------------------------------------------------
/tests/mocks/Unity/Platform/MockPlatform.qml:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2017 Canonical, Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | */
16 |
17 | pragma Singleton
18 |
19 | import QtQuick 2.4
20 |
21 | QtObject {
22 | property string chassis: "desktop"
23 | property bool isPC: true
24 | property bool isMultiSession: true
25 | }
26 |
--------------------------------------------------------------------------------
/tests/mocks/Unity/Platform/qmldir:
--------------------------------------------------------------------------------
1 | module Unity.Platform
2 | singleton Platform 1.0 MockPlatform.qml
3 |
--------------------------------------------------------------------------------
/tests/mocks/Unity/Screens/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | include_directories(
2 | ${CMAKE_CURRENT_SOURCE_DIR}
3 | )
4 |
5 | set(MockScreens_SOURCES
6 | plugin.cpp
7 | screens.cpp
8 | )
9 |
10 | add_library(MockScreensPlugin MODULE ${MockScreens_SOURCES})
11 |
12 | qt5_use_modules(MockScreensPlugin Gui Qml)
13 |
14 | add_unity8_mock(Unity.Screens 0.1 Unity/Screens PREFIX mocks TARGETS MockScreensPlugin)
15 |
--------------------------------------------------------------------------------
/tests/mocks/Unity/Screens/plugin.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2015 Canonical, Ltd.
3 | *
4 | * This program is free software: you can redistribute it and/or modify it under
5 | * the terms of the GNU Lesser General Public License version 3, as published by
6 | * the Free Software Foundation.
7 | *
8 | * This program is distributed in the hope that it will be useful, but WITHOUT
9 | * ANY WARRANTY; without even the implied warranties of MERCHANTABILITY,
10 | * SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 | * Lesser General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU Lesser General Public License
14 | * along with this program. If not, see .
15 | */
16 |
17 | #include
18 | #include
19 |
20 | class UnityScreensPlugin : public QQmlExtensionPlugin {
21 | Q_OBJECT
22 | Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface/1.0")
23 | public:
24 | void registerTypes(const char* uri) override;
25 | };
26 |
--------------------------------------------------------------------------------
/tests/mocks/Unity/Screens/qmldir:
--------------------------------------------------------------------------------
1 | module Unity.Screens
2 | plugin MockScreensPlugin
3 |
--------------------------------------------------------------------------------
/tests/mocks/Unity/qmldir:
--------------------------------------------------------------------------------
1 | module Unity
2 | plugin FakeUnityQml
3 | typeinfo Unity.qmltypes
4 |
--------------------------------------------------------------------------------
/tests/mocks/Utils/EdgeBarrierSettings.qml:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2015 Canonical, Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | */
16 |
17 | pragma Singleton
18 | import QtQuick 2.4
19 |
20 | QtObject {
21 | readonly property real pushThreshold: units.gu(8)
22 | }
23 |
--------------------------------------------------------------------------------
/tests/mocks/Utils/WindowInputMonitor.qml:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2015 Canonical, Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | */
16 |
17 | import QtQuick 2.4
18 |
19 | QtObject {
20 | signal homeKeyActivated()
21 | signal touchBegun()
22 | signal touchEnded(point pos)
23 | }
24 |
--------------------------------------------------------------------------------
/tests/mocks/Utils/constants.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2015-2016 Canonical Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU Lesser General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU Lesser General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU Lesser General Public License
14 | * along with this program. If not, see .
15 | */
16 |
17 | #include "constants.h"
18 |
19 | Constants::Constants(QObject *parent)
20 | : QObject(parent)
21 | {
22 | m_indicatorValueTimeout = 5000;
23 | m_defaultWallpaper = "/usr/share/backgrounds/warty-final-ubuntu.png";
24 | }
25 |
--------------------------------------------------------------------------------
/tests/mocks/Utils/qmldir:
--------------------------------------------------------------------------------
1 | module Utils
2 | plugin FakeUtils-qml
3 | typeinfo Utils.qmltypes
4 | Style 0.1 Style.js
5 | WindowInputMonitor 0.1 WindowInputMonitor.qml
6 | singleton EdgeBarrierSettings 0.1 EdgeBarrierSettings.qml
7 |
--------------------------------------------------------------------------------
/tests/mocks/Wizard/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | pkg_search_module(GD3 REQUIRED gnome-desktop-3.0)
2 |
3 | include_directories(
4 | ${GD3_INCLUDE_DIRS} ${GLIB_INCLUDE_DIRS} ${GEONAMES_INCLUDE_DIRS}
5 | ${CMAKE_SOURCE_DIR}/plugins/Wizard
6 | )
7 |
8 | add_library(MockWizard-qml MODULE
9 | mockplugin.cpp
10 | MockSystem.cpp
11 | ${CMAKE_SOURCE_DIR}/plugins/Wizard/PageList.cpp
12 | ${CMAKE_SOURCE_DIR}/plugins/Wizard/timezonemodel.cpp
13 | ${CMAKE_SOURCE_DIR}/plugins/Wizard/LocalePlugin.cpp
14 | ${CMAKE_SOURCE_DIR}/plugins/Wizard/Status.cpp
15 | ${CMAKE_SOURCE_DIR}/plugins/Wizard/keyboardLayoutsModel.cpp
16 | )
17 |
18 | qt5_use_modules(MockWizard-qml DBus Qml)
19 | target_link_libraries(MockWizard-qml ${GD3_LDFLAGS} ${GLIB_LDFLAGS} ${GEONAMES_LDFLAGS})
20 | add_unity8_mock(Wizard 0.1 Wizard TARGETS MockWizard-qml)
21 |
--------------------------------------------------------------------------------
/tests/mocks/Wizard/qmldir:
--------------------------------------------------------------------------------
1 | module Wizard
2 | plugin MockWizard-qml
3 | typeinfo Wizard.qmltypes
4 |
--------------------------------------------------------------------------------
/tests/mocks/data/applications/webbrowser-app.desktop:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/mocks/data/applications/webbrowser-app.desktop
--------------------------------------------------------------------------------
/tests/mocks/data/unity/indicators/com.canonical.indicator.mock:
--------------------------------------------------------------------------------
1 | [Indicator Service]
2 | Name=indicator-mock
3 | ObjectPath=/com/canonical/indicator/mock
4 | Position=0
5 |
6 | [phone]
7 | ObjectPath=/com/canonical/indicator/mock/desktop
8 |
9 | [desktop]
10 | ObjectPath=/com/canonical/indicator/mock/desktop
11 |
--------------------------------------------------------------------------------
/tests/mocks/indicator-service/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | project(mock-indicator-service)
2 |
3 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99")
4 |
5 | include_directories(
6 | ${CMAKE_CURRENT_SOURCE_DIR}
7 | ${GIO_INCLUDE_DIRS}
8 | )
9 |
10 | add_executable(${MOCK_INDICATOR_SERVICE_APP}
11 | mock-indicator-service.c
12 | )
13 |
14 | target_link_libraries(${MOCK_INDICATOR_SERVICE_APP} ${GIO_LDFLAGS})
15 |
16 | set_target_properties(${MOCK_INDICATOR_SERVICE_APP} PROPERTIES COMPILE_FLAGS -fPIC)
17 |
18 | install(TARGETS ${MOCK_INDICATOR_SERVICE_APP}
19 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
20 |
--------------------------------------------------------------------------------
/tests/mocks/liblightdm/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | set(MockLightDM_SOURCES
2 | MockController.cpp
3 | MockGreeter.cpp
4 | MockSessionsModel.cpp
5 | MockUsersModel.cpp
6 | )
7 |
8 | add_library(MockLightDM SHARED ${MockLightDM_SOURCES})
9 |
10 | qt5_use_modules(MockLightDM DBus Gui)
11 |
12 | set_target_properties(MockLightDM PROPERTIES
13 | OUTPUT_NAME lightdm-qt5-3
14 | SOVERSION 0)
15 |
16 | install(TARGETS MockLightDM
17 | DESTINATION ${SHELL_INSTALL_QML}/mocks/liblightdm
18 | )
19 |
--------------------------------------------------------------------------------
/tests/mocks/liblightdm/demo/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | pkg_check_modules(LIBUSERMETRICSOUTPUT REQUIRED libusermetricsoutput-1)
2 |
3 | set(LibLightDM_SOURCES
4 | ../Greeter.cpp
5 | ../UsersModel.cpp
6 | GreeterPrivate.cpp
7 | UsersModelPrivate.cpp
8 | ${CMAKE_SOURCE_DIR}/plugins/Utils/qvariantlistmodel.cpp
9 | )
10 |
11 | add_library(MockLightDM-demo STATIC ${LibLightDM_SOURCES})
12 |
13 | include_directories(
14 | ${LIBUSERMETRICSOUTPUT_INCLUDE_DIRS}
15 | )
16 |
17 | target_link_libraries(MockLightDM-demo
18 | ${LIBUSERMETRICSOUTPUT_LDFLAGS}
19 | )
20 |
21 | qt5_use_modules(MockLightDM-demo Gui)
22 |
--------------------------------------------------------------------------------
/tests/mocks/liblightdm/qmldir:
--------------------------------------------------------------------------------
1 | module LightDM
2 | plugin MockLightDM-qml
3 | typeinfo LightDM.qmltypes
4 |
--------------------------------------------------------------------------------
/tests/mocks/libusermetrics/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | set(mock_SOURCES
2 | ColorTheme.cpp
3 | UserMetrics.cpp
4 | ${CMAKE_SOURCE_DIR}/plugins/Utils/qvariantlistmodel.cpp
5 | )
6 |
7 | add_library(MockUserMetrics SHARED ${mock_SOURCES})
8 |
9 | qt5_use_modules(MockUserMetrics Gui)
10 |
11 | include_directories(
12 | ${CMAKE_SOURCE_DIR}/plugins/Utils
13 | ${CMAKE_CURRENT_BINARY_DIR}
14 | )
15 |
16 | set_target_properties(MockUserMetrics PROPERTIES
17 | OUTPUT_NAME usermetricsoutput
18 | VERSION 1)
19 |
20 | install(TARGETS MockUserMetrics
21 | DESTINATION ${SHELL_INSTALL_QML}/mocks/libusermetrics
22 | )
23 |
--------------------------------------------------------------------------------
/tests/plugins/AccountsService/UscServer.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2016 Canonical Ltd.
3 | *
4 | * This program is free software: you can redistribute it and/or modify it
5 | * under the terms of the GNU General Public License version 3, as published
6 | * by the Free Software Foundation.
7 | *
8 | * This program is distributed in the hope that it will be useful, but
9 | * WITHOUT ANY WARRANTY; without even the implied warranties of
10 | * MERCHANTABILITY, SATISFACTORY QUALITY or FITNESS FOR A PARTICULAR
11 | * PURPOSE. See the GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * version 3 along with this program. If not, see
15 | *
16 | */
17 |
18 | #include "UscServer.h"
19 |
20 | UscServer::UscServer(QObject *parent)
21 | : QObject(parent)
22 | {
23 | }
24 |
25 | void UscServer::setMousePrimaryButton(int button)
26 | {
27 | Q_EMIT setMousePrimaryButtonCalled(button);
28 | }
29 |
--------------------------------------------------------------------------------
/tests/plugins/AccountsService/types.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2016 Canonical Ltd.
3 | *
4 | * This program is free software: you can redistribute it and/or modify it
5 | * under the terms of the GNU General Public License version 3, as published
6 | * by the Free Software Foundation.
7 | *
8 | * This program is distributed in the hope that it will be useful, but
9 | * WITHOUT ANY WARRANTY; without even the implied warranties of
10 | * MERCHANTABILITY, SATISFACTORY QUALITY or FITNESS FOR A PARTICULAR
11 | * PURPOSE. See the GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * version 3 along with this program. If not, see
15 | *
16 | */
17 |
18 | #ifndef UNITY_ASMOCKTYPES_H
19 | #define UNITY_ASMOCKTYPES_H
20 |
21 | using StringMap = QMap;
22 | using StringMapList = QList;
23 | Q_DECLARE_METATYPE(StringMapList)
24 |
25 | #endif
26 |
--------------------------------------------------------------------------------
/tests/plugins/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory(AccountsService)
2 | add_subdirectory(Cursor)
3 | add_subdirectory(Dash)
4 | add_subdirectory(GlobalShortcut)
5 | add_subdirectory(Greeter)
6 | add_subdirectory(ImageCache)
7 | add_subdirectory(LightDM)
8 | add_subdirectory(SessionBroadcast)
9 | add_subdirectory(Ubuntu)
10 | add_subdirectory(Unity)
11 | add_subdirectory(Utils)
12 | add_subdirectory(WindowManager)
13 | add_subdirectory(Wizard)
14 |
--------------------------------------------------------------------------------
/tests/plugins/Cursor/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | include(QmlTest)
2 |
3 | set(UNITY_IMPORT_PATHS
4 | ${CMAKE_BINARY_DIR}/tests/utils/modules
5 | ${UNITY_PLUGINPATH}
6 | )
7 |
8 | add_manual_qml_test(. Cursor IMPORT_PATHS ${UNITY_IMPORT_PATHS})
9 |
--------------------------------------------------------------------------------
/tests/plugins/Dash/cardcreator/1.tst:
--------------------------------------------------------------------------------
1 | template: {"card-layout":"vertical","card-size":"small","category-layout":"grid","collapsed-rows":2}
2 | components: {"art":{"aspect-ratio":1.6,"field":"art"},"title":{"field":"title"},"attributes":{}}
3 | artShapeStyle: flat
4 | result: 1.res
5 |
--------------------------------------------------------------------------------
/tests/plugins/Dash/cardcreator/10.tst:
--------------------------------------------------------------------------------
1 | template: {"card-background":{"elements":["#E9E9E9"],"type":"color"},"card-layout":"vertical","card-size":"medium","category-layout":"grid","collapsed-rows":2, "card-background": { "type": "color", "elements": [ "\\", ": 3; } Item { } function moo () { \"" ] } }
2 | components: {"art":{"aspect-ratio":1},"background":{"field":"background"},"mascot":{"field":"icon"},"subtitle":{"field":"author"},"title":{"field":"title"},"attributes":{}}
3 | artShapeStyle: shadow
4 | result: 10.res
--------------------------------------------------------------------------------
/tests/plugins/Dash/cardcreator/11.tst:
--------------------------------------------------------------------------------
1 | template: {"card-background":{"elements":["#E9E9E9"],"type":"color"},"card-layout":"vertical","card-size":"medium","category-layout":"grid","collapsed-rows":2 }
2 | components: {"art":{"aspect-ratio":1,"field":"art","fallback":"\\"},"background":{"field":"background"},"mascot":{"field":"icon","fallback":"\""},"subtitle":{"field":"author"},"title":{"field":"title"},"attributes":{}}
3 | artShapeStyle: flat
4 | result: 11.res
--------------------------------------------------------------------------------
/tests/plugins/Dash/cardcreator/12.tst:
--------------------------------------------------------------------------------
1 | template: {"card-layout":"vertical","card-size":"small","category-layout":"grid","collapsed-rows":2}
2 | components: {"art":{"aspect-ratio":0.75,"field":"art"},"subtitle":{"field":"price"},"title":{"field":"title"},"attributes":{},"social-actions":{}}
3 | artShapeStyle: flat
4 | result: 12.res
5 |
--------------------------------------------------------------------------------
/tests/plugins/Dash/cardcreator/2.tst:
--------------------------------------------------------------------------------
1 | template: {"card-background":{"elements":["#E9E9E9"],"type":"color"},"card-layout":"vertical","card-size":"medium","category-layout":"grid","collapsed-rows":2}
2 | components: {"art":{"aspect-ratio":1},"background":{"field":"background"},"mascot":{"field":"icon"},"subtitle":{"field":"author"},"title":{"field":"title"},"attributes":{}}
3 | artShapeStyle: icon
4 | result: 2.res
5 |
--------------------------------------------------------------------------------
/tests/plugins/Dash/cardcreator/3.tst:
--------------------------------------------------------------------------------
1 | template: {"card-layout":"vertical","card-size":"small","category-layout":"grid","collapsed-rows":2}
2 | components: {"art":{"aspect-ratio":0.75,"field":"art","fallback":"IHAVE\\\"ESCAPED\\\"QUOTES\\\""},"subtitle":{"field":"price"},"title":{"field":"title"},"attributes":{}}
3 | artShapeStyle: icon
4 | result: 3.res
5 |
--------------------------------------------------------------------------------
/tests/plugins/Dash/cardcreator/4.tst:
--------------------------------------------------------------------------------
1 | template: {"card-layout":"horizontal","card-size":"large","category-layout":"grid","collapsed-rows":2}
2 | components: {"art":{"aspect-ratio":1},"mascot":{"field":"mascot"},"subtitle":{"field":"domain"},"title":{"field":"title"},"attributes":{}}
3 | artShapeStyle: flat
4 | result: 4.res
5 |
--------------------------------------------------------------------------------
/tests/plugins/Dash/cardcreator/5.tst:
--------------------------------------------------------------------------------
1 | template: {"non-interactive":true,"card-layout":"vertical","card-size":"medium","category-layout":"carousel","collapsed-rows":2,"overlay":true}
2 | components: {"art":{"aspect-ratio":1,"field":"art","conciergeMode":true},"subtitle":{"field":"artist"},"title":{"field":"title"},"attributes":{}}
3 | artShapeStyle: shadow
4 | result: 5.res
5 |
--------------------------------------------------------------------------------
/tests/plugins/Dash/cardcreator/6.tst:
--------------------------------------------------------------------------------
1 | template: {"card-background":"http://assets.ubuntu.com/sites/ubuntu/latest/u/img/logos/logo-ubuntu-grey.png","card-layout":"vertical","card-size":"medium","category-layout":"grid","collapsed-rows":2}
2 | components: {"art":{"aspect-ratio":1},"background":{"field":"background"},"subtitle":{"field":"author"},"title":{"field":"title"},"emblem":{"field":"source"},"attributes":{}}
3 | artShapeStyle: flat
4 | result: 6.res
5 |
--------------------------------------------------------------------------------
/tests/plugins/Dash/cardcreator/7.tst:
--------------------------------------------------------------------------------
1 | template: {"card-background":{"elements":["#E9E9E9","#E9AAE9"],"type":"color"},"card-layout":"vertical","card-size":"medium","category-layout":"grid","collapsed-rows":2}
2 | components: {"art":{"aspect-ratio":1},"background":{"field":"background"},"mascot":{"field":"icon"},"subtitle":{"field":"author"},"title":{"field":"title"},"attributes":{"field":"attributes","max-count":2}}
3 | artShapeStyle: icon
4 | result: 7.res
5 |
--------------------------------------------------------------------------------
/tests/plugins/Dash/cardcreator/8.tst:
--------------------------------------------------------------------------------
1 | template: {"card-background":{"elements":["#E9E9E9","#E9AAE9"],"type":"color"},"card-layout":"vertical","card-size":"medium","category-layout":"grid","collapsed-rows":2}
2 | components: {"background":{"field":"background"},"mascot":{"field":"icon"},"title":{"field":"title"},"attributes":{}}
3 | artShapeStyle: flat
4 | result: 8.res
5 |
--------------------------------------------------------------------------------
/tests/plugins/Dash/cardcreator/9.tst:
--------------------------------------------------------------------------------
1 | template: {"card-layout":"horizontal","card-size":"medium","category-layout":"grid","collapsed-rows":2,"quick-preview-type": "audio"}
2 | components: {"art":{"aspect-ratio":1},"subtitle":{"field":"author"},"title":{"field":"title"}, "quickPreviewData": "quickPreviewData"}
3 | artShapeStyle: flat
4 | result: 9.res
5 |
--------------------------------------------------------------------------------
/tests/plugins/GlobalShortcut/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | include_directories(
2 | ${CMAKE_SOURCE_DIR}/plugins/GlobalShortcut
3 | ${CMAKE_CURRENT_BINARY_DIR}
4 | )
5 |
6 | add_definitions(-DTEST_DIR="plugins/GlobalShortcut")
7 |
8 | add_executable(GlobalShortcutTestExec GlobalShortcutTest.cpp ${CMAKE_SOURCE_DIR}/plugins/GlobalShortcut/globalshortcut.cpp)
9 | qt5_use_modules(GlobalShortcutTestExec Test Quick)
10 | target_link_libraries(GlobalShortcutTestExec ${Qt5Quick_LIBRARIES} GlobalShortcut-qml)
11 | install(TARGETS GlobalShortcutTestExec
12 | DESTINATION "${SHELL_PRIVATE_LIBDIR}/tests/plugins/GlobalShortcut"
13 | )
14 | install(FILES shortcut.qml
15 | DESTINATION "${SHELL_APP_DIR}/tests/plugins/GlobalShortcut"
16 | )
17 | add_unity8_uitest(GlobalShortcut GlobalShortcutTestExec
18 | DEPENDS GlobalShortcut-qml
19 | ENVIRONMENT LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/plugins/GlobalShortcut
20 | )
21 |
--------------------------------------------------------------------------------
/tests/plugins/Greeter/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory(Unity)
2 |
--------------------------------------------------------------------------------
/tests/plugins/Greeter/Unity/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory(Launcher)
2 |
--------------------------------------------------------------------------------
/tests/plugins/ImageCache/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | include_directories(
2 | ${CMAKE_CURRENT_BINARY_DIR}
3 | )
4 |
5 | include_directories(
6 | SYSTEM
7 | ${Qt5Quick_PRIVATE_INCLUDE_DIRS}
8 | )
9 |
10 | add_definitions(-DCURRENT_SOURCE_DIR="${CMAKE_CURRENT_SOURCE_DIR}")
11 | add_definitions(-DTEST_DIR="plugins/ImageCache")
12 | remove_definitions(-DQT_NO_KEYWORDS)
13 |
14 | add_executable(ImageCacheTestExec
15 | test.cpp
16 | )
17 | qt5_use_modules(ImageCacheTestExec Core Quick Test)
18 | add_unity8_uitest(ImageCache ImageCacheTestExec
19 | DEPENDS ImageCache-qml
20 | IMPORT_PATHS ${UNITY_PLUGINPATH}
21 | )
22 | install(TARGETS ImageCacheTestExec
23 | DESTINATION "${SHELL_PRIVATE_LIBDIR}/tests/plugins/ImageCache"
24 | )
25 | install(FILES test.qml
26 | DESTINATION "${SHELL_APP_DIR}/tests/plugins/ImageCache"
27 | )
28 | install(DIRECTORY graphics
29 | DESTINATION "${SHELL_APP_DIR}/tests/plugins/ImageCache"
30 | )
31 |
--------------------------------------------------------------------------------
/tests/plugins/ImageCache/graphics/wide.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/plugins/ImageCache/graphics/wide.jpg
--------------------------------------------------------------------------------
/tests/plugins/ImageCache/test.qml:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2016 Canonical Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | */
16 |
17 | import QtQuick 2.4
18 | import ImageCache 0.1
19 |
20 | Image {
21 | width: 400
22 | height: 400
23 | }
24 |
--------------------------------------------------------------------------------
/tests/plugins/LightDM/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory(IntegratedLightDM)
2 |
--------------------------------------------------------------------------------
/tests/plugins/LightDM/IntegratedLightDM/greeter.qml:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2013,2015-2016 Canonical Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | */
16 |
17 | import QtQuick 2.4
18 | import LightDM.FullLightDM 0.1 as LightDM
19 |
20 | Item {
21 | property var greeter: LightDM.Greeter
22 | }
23 |
--------------------------------------------------------------------------------
/tests/plugins/SessionBroadcast/interfaces.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/tests/plugins/Ubuntu/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory(Gestures)
2 |
--------------------------------------------------------------------------------
/tests/plugins/Ubuntu/Gestures/empty.qml:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2014 Canonical, Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | */
16 |
17 | import QtQuick 2.4
18 | import Ubuntu.Gestures 0.1
19 |
20 | Item {
21 | width: 720; height: 720
22 | }
23 |
--------------------------------------------------------------------------------
/tests/plugins/Ubuntu/Gestures/touchGateExample.qml:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2014 Canonical, Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | */
16 |
17 | import QtQuick 2.4
18 | import Ubuntu.Gestures 0.1
19 |
20 | Rectangle {
21 | width: 720; height: 720
22 |
23 | TouchGate {
24 | anchors.fill: parent
25 | objectName: "touchGate"
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/tests/plugins/Unity/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory(Indicators)
2 | add_subdirectory(Launcher)
3 | add_subdirectory(Platform)
4 | add_subdirectory(Session)
5 |
--------------------------------------------------------------------------------
/tests/plugins/Unity/Launcher/applications/abs-icon.desktop:
--------------------------------------------------------------------------------
1 | [Desktop Entry]
2 | Type=Application
3 | Name=Absolute Icon
4 | Icon=/path/to/icon.png
5 |
--------------------------------------------------------------------------------
/tests/plugins/Unity/Launcher/applications/click-icon.desktop:
--------------------------------------------------------------------------------
1 | [Desktop Entry]
2 | Type=Application
3 | Name=Click Package Icon
4 | Icon=click-icon.svg
5 | Path=/path/to/some/click/app
6 |
--------------------------------------------------------------------------------
/tests/plugins/Unity/Launcher/applications/click-icon.svg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/plugins/Unity/Launcher/applications/click-icon.svg
--------------------------------------------------------------------------------
/tests/plugins/Unity/Launcher/applications/no-name.desktop:
--------------------------------------------------------------------------------
1 | [Desktop Entry]
2 | Type=Application
3 | Icon=no-name
4 |
--------------------------------------------------------------------------------
/tests/plugins/Unity/Launcher/applications/rel-icon.desktop:
--------------------------------------------------------------------------------
1 | [Desktop Entry]
2 | Type=Application
3 | Name=Relative Icon
4 | Icon=rel-icon.svg
5 |
--------------------------------------------------------------------------------
/tests/plugins/Unity/Launcher/applications/rel-icon.svg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/plugins/Unity/Launcher/applications/rel-icon.svg
--------------------------------------------------------------------------------
/tests/plugins/Unity/Platform/CMakeLists.txt:
--------------------------------------------------------------------------------
1 |
2 | include_directories(
3 | ${Qt5Core_INCLUDE_DIRS}
4 | ${Qt5DBus_INCLUDE_DIRS}
5 | ${Qt5Test_INCLUDE_DIRS}
6 | ${QTDBUSTEST_INCLUDE_DIRS}
7 | ${CMAKE_CURRENT_BINARY_DIR}
8 | ${CMAKE_SOURCE_DIR}/plugins/Unity/Platform
9 | )
10 |
11 | add_executable(platformtest
12 | platformtest.cpp
13 | ${CMAKE_SOURCE_DIR}/plugins/Unity/Platform/platform.cpp
14 | )
15 |
16 | target_link_libraries(platformtest
17 | Qt5::Core
18 | Qt5::DBus
19 | Qt5::Test
20 | ${QTDBUSTEST_LDFLAGS}
21 | )
22 |
23 |
24 | install(TARGETS platformtest
25 | DESTINATION "${SHELL_PRIVATE_LIBDIR}/tests/plugins/Unity/Platform"
26 | )
27 |
28 | add_unity8_unittest(Platform qdbus-simple-test-runner
29 | ARGS $
30 | )
31 |
--------------------------------------------------------------------------------
/tests/plugins/Unity/Session/LightDMServer.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2016 Canonical Ltd.
3 | *
4 | * This program is free software: you can redistribute it and/or modify it
5 | * under the terms of the GNU General Public License version 3, as published
6 | * by the Free Software Foundation.
7 | *
8 | * This program is distributed in the hope that it will be useful, but
9 | * WITHOUT ANY WARRANTY; without even the implied warranties of
10 | * MERCHANTABILITY, SATISFACTORY QUALITY or FITNESS FOR A PARTICULAR
11 | * PURPOSE. See the GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * version 3 along with this program. If not, see
15 | *
16 | */
17 |
18 | #include "LightDMServer.h"
19 |
20 | LightDMServer::LightDMServer(QObject *logind, QObject *parent)
21 | : QObject(parent)
22 | , m_logind(logind)
23 | {
24 | }
25 |
26 | void LightDMServer::Lock()
27 | {
28 | QMetaObject::invokeMethod(m_logind, "Lock");
29 | }
30 |
--------------------------------------------------------------------------------
/tests/plugins/Wizard/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | include_directories(
2 | ${CMAKE_CURRENT_BINARY_DIR}
3 | ${CMAKE_SOURCE_DIR}/plugins/Wizard
4 | )
5 |
6 | add_executable(tst-wizard-pagelist
7 | tst_pagelist.cpp
8 | ${CMAKE_SOURCE_DIR}/plugins/Wizard/PageList.cpp
9 | )
10 | qt5_use_modules(tst-wizard-pagelist Core Qml Test)
11 | install(TARGETS tst-wizard-pagelist
12 | DESTINATION "${SHELL_PRIVATE_LIBDIR}/tests/plugins/Wizard"
13 | )
14 | add_unity8_unittest(WizardPageList tst-wizard-pagelist ENVIRONMENT WIZARD_TESTING=1)
15 |
16 | add_executable(tst-wizard-system
17 | tst_system.cpp
18 | ${CMAKE_SOURCE_DIR}/plugins/Wizard/System.cpp
19 | )
20 | qt5_use_modules(tst-wizard-system Core DBus Qml Test)
21 | install(TARGETS tst-wizard-system
22 | DESTINATION "${SHELL_PRIVATE_LIBDIR}/tests/plugins/Wizard"
23 | )
24 | add_unity8_unittest(WizardSystem tst-wizard-system)
25 |
--------------------------------------------------------------------------------
/tests/qmltests/Components/tst_EdgeDragEvaluator.qml:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2015 Canonical, Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | */
16 |
17 | import QtQuick 2.4
18 | import "../../../qml/Components"
19 |
20 | Item {
21 | width: units.gu(70)
22 | height: units.gu(70)
23 |
24 | EdgeDragEvaluator {
25 | objectName: "edgeDragEvaluator"
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/tests/qmltests/Components/tst_LazyImage/portrait.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/qmltests/Components/tst_LazyImage/portrait.png
--------------------------------------------------------------------------------
/tests/qmltests/Components/tst_LazyImage/square.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/qmltests/Components/tst_LazyImage/square.png
--------------------------------------------------------------------------------
/tests/qmltests/Components/tst_LazyImage/wide.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/qmltests/Components/tst_LazyImage/wide.png
--------------------------------------------------------------------------------
/tests/qmltests/Dash/Previews/MockPreviewWidget.qml:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2014 Canonical Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU Lesser General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU Lesser General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU Lesser General Public License
14 | * along with this program. If not, see .
15 | *
16 | */
17 |
18 | import QtQuick 2.4
19 | import "../../../../qml/Dash/Previews"
20 |
21 | PreviewWidget {
22 | objectName: "mockPreviewWidget"
23 |
24 | function trigger() {
25 | triggered("mockWidget", "mockAction", {"mock": "data"})
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/tests/qmltests/Dash/artwork/avatar@12.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/qmltests/Dash/artwork/avatar@12.png
--------------------------------------------------------------------------------
/tests/qmltests/Dash/artwork/background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/qmltests/Dash/artwork/background.png
--------------------------------------------------------------------------------
/tests/qmltests/Dash/artwork/checkers.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/qmltests/Dash/artwork/checkers.png
--------------------------------------------------------------------------------
/tests/qmltests/Dash/artwork/emblem.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/qmltests/Dash/artwork/emblem.png
--------------------------------------------------------------------------------
/tests/qmltests/Dash/artwork/music-player-design.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/qmltests/Dash/artwork/music-player-design.png
--------------------------------------------------------------------------------
/tests/qmltests/UnityLogo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/unity8-team/unity8/4ae4ff90e588ec0529d93378ac3815cfaf1ad760/tests/qmltests/UnityLogo.png
--------------------------------------------------------------------------------
/tests/qmltests/Wizard/licenses/en_US.html:
--------------------------------------------------------------------------------
1 | en_US
2 |
--------------------------------------------------------------------------------
/tests/qmltests/Wizard/licenses/fr_CA.html:
--------------------------------------------------------------------------------
1 | fr_CA
2 |
--------------------------------------------------------------------------------
/tests/qmltests/Wizard/licenses/fr_FR.html:
--------------------------------------------------------------------------------
1 | fr_FR
2 |
--------------------------------------------------------------------------------
/tests/qmltests/modules/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory(Unity)
2 |
--------------------------------------------------------------------------------
/tests/qmltests/modules/Unity/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory(Indicators)
2 |
--------------------------------------------------------------------------------
/tests/qmltests/utils/Unity/Test/MockObjectForInstanceOfTest.qml:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2013 Canonical, Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | */
16 |
17 | import QtQuick 2.4
18 |
19 | Rectangle {
20 | property int dummy
21 | }
22 |
--------------------------------------------------------------------------------
/tests/qmltests/utils/Unity/Test/MockObjectForInstanceOfTestChild.qml:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2013 Canonical, Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | */
16 |
17 | import QtQuick 2.4
18 |
19 | MockObjectForInstanceOfTest {
20 | property int dummy2
21 | }
22 |
--------------------------------------------------------------------------------
/tests/scripts/README:
--------------------------------------------------------------------------------
1 | This directory holds a few handy shell-scripts to simplify runtime-testing of DBus-APIs (requires qdbus-qt5 to be installed).
2 |
3 | launcher-icon related:
4 | * list-launcher-icons.sh - get all icons of unity8-launcher
5 | * alert-launcher-icon.sh - trigger alert/wiggle of unfocused launcher-icon
6 | * get-progress.sh - get progress-value of a launcher-icon
7 | * set-progress.sh - set progress-value of a launcher-icon
8 | * set-count.sh - set the count of a launcher-icon
9 | * set-count-visible.sh - set the count-visible flag of a launcher-icon
10 |
--------------------------------------------------------------------------------
/tests/scripts/alert-launcher-icon.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #
4 | # Copyright (C) 2017 Canonical Ltd
5 | #
6 | # This program is free software: you can redistribute it and/or modify
7 | # it under the terms of the GNU General Public License version 3 as
8 | # published by the Free Software Foundation.
9 | #
10 | # This program is distributed in the hope that it will be useful,
11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | # GNU General Public License for more details.
14 | #
15 | # You should have received a copy of the GNU General Public License
16 | # along with this program. If not, see .
17 | #
18 |
19 | qdbus com.canonical.Unity.Launcher /com/canonical/Unity/Launcher/$1 com.canonical.Unity.Launcher.Item.Alert
20 |
--------------------------------------------------------------------------------
/tests/scripts/get-progress.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #
4 | # Copyright (C) 2017 Canonical Ltd
5 | #
6 | # This program is free software: you can redistribute it and/or modify
7 | # it under the terms of the GNU General Public License version 3 as
8 | # published by the Free Software Foundation.
9 | #
10 | # This program is distributed in the hope that it will be useful,
11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | # GNU General Public License for more details.
14 | #
15 | # You should have received a copy of the GNU General Public License
16 | # along with this program. If not, see .
17 | #
18 |
19 | qdbus com.canonical.Unity.Launcher /com/canonical/Unity/Launcher/$1 org.freedesktop.DBus.Properties.Get com.canonical.Unity.Launcher.Item progress
20 |
--------------------------------------------------------------------------------
/tests/scripts/list-launcher-icons.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #
4 | # Copyright (C) 2017 Canonical Ltd
5 | #
6 | # This program is free software: you can redistribute it and/or modify
7 | # it under the terms of the GNU General Public License version 3 as
8 | # published by the Free Software Foundation.
9 | #
10 | # This program is distributed in the hope that it will be useful,
11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | # GNU General Public License for more details.
14 | #
15 | # You should have received a copy of the GNU General Public License
16 | # along with this program. If not, see .
17 | #
18 |
19 | qdbus com.canonical.Unity | grep Launcher | cut -f6 -d/
20 |
--------------------------------------------------------------------------------
/tests/scripts/set-count-visible.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #
4 | # Copyright (C) 2017 Canonical Ltd
5 | #
6 | # This program is free software: you can redistribute it and/or modify
7 | # it under the terms of the GNU General Public License version 3 as
8 | # published by the Free Software Foundation.
9 | #
10 | # This program is distributed in the hope that it will be useful,
11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | # GNU General Public License for more details.
14 | #
15 | # You should have received a copy of the GNU General Public License
16 | # along with this program. If not, see .
17 | #
18 |
19 | qdbus com.canonical.Unity.Launcher /com/canonical/Unity/Launcher/$1 org.freedesktop.DBus.Properties.Set com.canonical.Unity.Launcher.Item countVisible $2
20 |
--------------------------------------------------------------------------------
/tests/scripts/set-count.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #
4 | # Copyright (C) 2017 Canonical Ltd
5 | #
6 | # This program is free software: you can redistribute it and/or modify
7 | # it under the terms of the GNU General Public License version 3 as
8 | # published by the Free Software Foundation.
9 | #
10 | # This program is distributed in the hope that it will be useful,
11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | # GNU General Public License for more details.
14 | #
15 | # You should have received a copy of the GNU General Public License
16 | # along with this program. If not, see .
17 | #
18 |
19 | qdbus com.canonical.Unity.Launcher /com/canonical/Unity/Launcher/$1 org.freedesktop.DBus.Properties.Set com.canonical.Unity.Launcher.Item count $2
20 |
--------------------------------------------------------------------------------
/tests/scripts/set-progress.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #
4 | # Copyright (C) 2017 Canonical Ltd
5 | #
6 | # This program is free software: you can redistribute it and/or modify
7 | # it under the terms of the GNU General Public License version 3 as
8 | # published by the Free Software Foundation.
9 | #
10 | # This program is distributed in the hope that it will be useful,
11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | # GNU General Public License for more details.
14 | #
15 | # You should have received a copy of the GNU General Public License
16 | # along with this program. If not, see .
17 | #
18 |
19 | qdbus com.canonical.Unity.Launcher /com/canonical/Unity/Launcher/$1 org.freedesktop.DBus.Properties.Set com.canonical.Unity.Launcher.Item progress $2
20 |
--------------------------------------------------------------------------------
/tests/uqmlscene/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_executable(uqmlscene
2 | ${shellapplication_MOC_SRCS}
3 | main.cpp
4 | ${CMAKE_SOURCE_DIR}/src/DebuggingController.cpp
5 | )
6 |
7 | qt5_use_modules(uqmlscene Qml Quick Test DBus)
8 | pkg_check_modules(XCB REQUIRED xcb)
9 |
10 | include_directories(
11 | SYSTEM
12 | ${Qt5Quick_PRIVATE_INCLUDE_DIRS}
13 | ${Qt5Gui_PRIVATE_INCLUDE_DIRS}
14 | )
15 |
16 | include_directories(
17 | ${CMAKE_CURRENT_BINARY_DIR}
18 | ${CMAKE_SOURCE_DIR}/src
19 | ${CMAKE_SOURCE_DIR}/libs/UbuntuGestures
20 | ${libunity8-private_SOURCE_DIR}
21 | )
22 |
23 | if (NOT "${XCB_INCLUDE_DIRS}" STREQUAL "")
24 | set_target_properties(uqmlscene PROPERTIES INCLUDE_DIRECTORIES ${XCB_INCLUDE_DIRS})
25 | endif()
26 |
27 | target_link_libraries(uqmlscene
28 | ${Qt5Qml_LIBRARIES}
29 | ${Qt5Quick_LIBRARIES}
30 | ${XCB_LDFLAGS}
31 | UbuntuGestures
32 | unity8-private
33 | )
34 |
35 | install(TARGETS uqmlscene
36 | RUNTIME DESTINATION ${SHELL_PRIVATE_LIBDIR}
37 | )
38 |
--------------------------------------------------------------------------------
/tests/uqmlscene/README:
--------------------------------------------------------------------------------
1 | Qt's qmlscene tool with the following modifications:
2 | - Added MouseTouchAdaptor. That way we can interact with touch-only components
3 | - Added TouchRegistry. So that DirectionalDragArea, TouchGate and others can negotiate touch ownership etc.
4 |
--------------------------------------------------------------------------------
/tests/utils/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory(modules)
2 |
--------------------------------------------------------------------------------
/tests/utils/modules/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory(Unity)
2 |
--------------------------------------------------------------------------------
/tests/utils/modules/Unity/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory(Test)
2 |
--------------------------------------------------------------------------------
/tests/utils/modules/Unity/Test/qmldir:
--------------------------------------------------------------------------------
1 | module Unity.Test
2 | plugin UnityTestQml
3 | typeinfo Test.qmltypes
4 |
5 | UnityTestCase 0.1 UnityTestCase.qml
6 | StageTestCase 0.1 StageTestCase.qml
7 | MouseTouchEmulationCheckbox 0.1 MouseTouchEmulationCheckbox.qml
8 |
--------------------------------------------------------------------------------
/tests/whitespace/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | #
2 | # Test that all source files, cmakefiles, etc. do not contain trailing whitespace.
3 | #
4 |
5 | add_test(Whitespace ${CMAKE_CURRENT_SOURCE_DIR}/check_whitespace.py ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR})
6 |
--------------------------------------------------------------------------------
/tools/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory(indicatorsclient)
2 | add_subdirectory(menutool)
3 | add_subdirectory(scopetool)
4 |
5 | install(FILES unlock-device DESTINATION ${SHELL_APP_DIR})
6 |
--------------------------------------------------------------------------------
/tools/indicatorsclient/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | project(indicators_client)
2 |
3 | set(INDICATORS_CLIENT_SRC
4 | main.cpp
5 | indicatorsclient.cpp
6 | )
7 |
8 | set(INDICATORS_CLIENT_HEADERS
9 | indicatorsclient.h
10 | )
11 | add_executable(${INDICATORS_CLIENT_APP}
12 | ${INDICATORS_CLIENT_SRC}
13 | ${INDICATORS_CLIENT_HEADERS}
14 | )
15 |
16 | qt5_use_modules(${INDICATORS_CLIENT_APP} Core Widgets Quick)
17 |
18 | install(TARGETS ${INDICATORS_CLIENT_APP}
19 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
20 |
--------------------------------------------------------------------------------
/tools/indicatorsclient/main.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2013 Canonical Ltd.
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU Lesser General Public License as published by
6 | * the Free Software Foundation; version 3.
7 | *
8 | * This program is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU Lesser General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU Lesser General Public License
14 | * along with this program. If not, see .
15 | *
16 | * Authors:
17 | * Renato Araujo Oliveira Filho
18 | */
19 |
20 | #include "indicatorsclient.h"
21 |
22 | int main(int argc, char** argv)
23 | {
24 | IndicatorsClient client(argc, argv);
25 | return client.run();
26 | }
27 |
--------------------------------------------------------------------------------
/tools/menutool/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_executable(menutool
2 | menutool.cpp
3 | )
4 |
5 | qt5_use_modules(menutool Qml Quick)
6 |
--------------------------------------------------------------------------------
/tools/menutool/README:
--------------------------------------------------------------------------------
1 | This tool can be used to browse the menus of another application
2 |
3 | How to use:
4 | * Start application that exports menus
5 | e.g. QT_QPA_PLATFORMTHEME=ubuntuappmenu kate
6 | * Figure out which is the dbus address
7 | * This is a bit tricky, but using qdbusviewer to see the addresses
8 | that appear when starting the app and looking for one that
9 | contains com/Ubuntu/Menu/0 should be enough
10 | * Start tool passing the dbus address
11 | builddir/menutool/menutool :1.293
12 |
--------------------------------------------------------------------------------
/tools/scopetool/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_executable(${SCOPE_TOOL}
2 | scopetool.cpp
3 | registry-tracker.cpp
4 | ../../src/UnixSignalHandler.cpp
5 | )
6 |
7 | qt5_use_modules(${SCOPE_TOOL} Qml Quick)
8 |
9 | # install binaries
10 | install(TARGETS ${SCOPE_TOOL}
11 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
12 | )
13 |
--------------------------------------------------------------------------------