aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [controls] scalability fixes5.10Lukáš Tinkl2018-04-063-26/+26
| | | | | | | | | | improve scaling, add support for scalable images as well this should cover all our controls except ListItem* Change-Id: I050d65230dc15427b7066a156f362a48b3e1a929 Reviewed-by: Daniel d'Andrada <daniel.dandrada@luxoft.com> Reviewed-by: Bramastyo Harimukti Santoso <bramastyo.harimukti.santoso@pelagicore.com>
* s/AppUIScreen/PrimaryWindowDaniel d'Andrada2018-04-0612-19/+26
| | | | | | | | | It's a window and not a screen afterall. Also fits better with the existing SecondaryWindow component. Updated and improved its documentation a bit as well. Change-Id: I3ba9899c3c9e466453ab8fea26da18166c740f54 Reviewed-by: Lukáš Tinkl <ltinkl@luxoft.com>
* [sysui] Display some startup timingsDaniel d'Andrada2018-04-069-0/+255
| | | | | | | Task-number: QTAUTO-952 Change-Id: I4d265d35035b4134ba1ed03e0b4aa75afb03ed69 Reviewed-by: Lukáš Tinkl <ltinkl@luxoft.com> Reviewed-by: Bramastyo Harimukti Santoso <bramastyo.harimukti.santoso@pelagicore.com>
* [sysui] Performance monitorAnatoly Kozlov2018-04-0613-102/+111
| | | | | | | | | | - Add logos of the companies working on the project - Add detailed information about every running application Task-number: QTAUTO-953 Change-Id: If758f8120708cc9c42e337b0e548a32d13c5f129 Reviewed-by: Daniel d'Andrada <daniel.dandrada@luxoft.com> Reviewed-by: Bramastyo Harimukti Santoso <bramastyo.harimukti.santoso@pelagicore.com>
* [sysui] replace Tool with a styled ToolButton plus XDG icon themingLukáš Tinkl2018-04-05219-532/+1359
| | | | | | Task-number: QTAUTO-563 Change-Id: I66c505249eac010741c547699076312dfaccbc8f Reviewed-by: Daniel d'Andrada <daniel.dandrada@luxoft.com>
* Rename Style.gfx2() to Style.gfx()Daniel d'Andrada2018-04-0536-54/+54
| | | | | | | | | Drop that "2" suffix in the function name. There's no reason for it anymore There used to be an unused gfx() function in the past. But that was already removed. Change-Id: I6b3709cad3e0c76868f1ab4363a502561da3e258 Reviewed-by: Bramastyo Harimukti Santoso <bramastyo.harimukti.santoso@pelagicore.com>
* [sysui] Fix dark theme version of widget maximize buttonDaniel d'Andrada2018-04-043-5/+5
| | | | | Change-Id: I71aaf7d6ab7a5108f022219d398f970a9778f528 Reviewed-by: Lukáš Tinkl <ltinkl@luxoft.com>
* [sysui] Set a window's performanceMonitorEnabled initial valueDaniel d'Andrada2018-04-041-0/+2
| | | | | | | | | Say you enable FPS on app foo. Then you kill app foo and launch it again. Without this patch that foo app won't show FPS until you switch its FPS display off and then back to on again. Change-Id: I23b0aed526ef09a43d1b2c4f9e820106bba8d03c Reviewed-by: Lukáš Tinkl <ltinkl@luxoft.com>
* [sysui] Support any pixel density in sysui/homeMilla Heikkilä2018-04-044-20/+24
| | | | | | Task-number: AUTOSUITE-262 Change-Id: Id1ffef9961cfcae10fe8addc1095f35b5ac81234 Reviewed-by: Daniel d'Andrada <daniel.dandrada@luxoft.com>
* [musicapp] Make MusicApp support any pixel densityAlexandra Betouni2018-04-0411-109/+96
| | | | | | | | | | | * Also replaced AbstractButton with Tool for play button in MusicControls.qml so that the play/pause symbols (and the background) are aligned with the sizes of the other tools (next and previous) Task-number: AUTOSUITE-242 Change-Id: Ie89ff24cd24bcc0fe856b4ba8311966434e71e79 Reviewed-by: Daniel d'Andrada <daniel.dandrada@luxoft.com>
* [sysui] Fix divider width in AddWidget popupMilla Heikkilä2018-04-041-1/+1
| | | | | | Change-Id: I9e4677ad08ad9b5fab42189b8d9fc39244f03178 Reviewed-by: Bramastyo Harimukti Santoso <bramastyo.harimukti.santoso@pelagicore.com> Reviewed-by: Daniel d'Andrada <daniel.dandrada@luxoft.com>
* [controls] Add Qt Quick Controls 2 icon support to Button componentLukáš Tinkl2018-04-0335-108/+235
| | | | | | | | | | | - Add example usage to Sheets app - Use icon.name for icons in Climate - scalability fixes in Climate Task-number: QTAUTO-881 Change-Id: Ia5abdbded06a111eaefe452bd93713cd895cc160 Reviewed-by: Daniel d'Andrada <daniel.dandrada@luxoft.com> Reviewed-by: Bramastyo Harimukti Santoso <bramastyo.harimukti.santoso@pelagicore.com>
* [settings] Support any pixel densityMilla Heikkilä2018-04-035-20/+34
| | | | | | | Task-number: AUTOSUITE-258 Change-Id: Id43c0ad2379d21b1503f460e4c1021e755b29abe Reviewed-by: Lukáš Tinkl <ltinkl@luxoft.com> Reviewed-by: Bramastyo Harimukti Santoso <bramastyo.harimukti.santoso@pelagicore.com>
* [mapapp] Refactor the applicationBramastyo Harimukti2018-04-0357-318/+305
| | | | | | | | | - rename to map application instead, since we dropped HERE map completely there is no need to use qtlocation map anymore to avoid any confusion. - clean-up left logics from the MapView and move them to the store. Change-Id: I3732f4f35467a1a5e2f88d8a80e623e1031d69ad Reviewed-by: Lukáš Tinkl <ltinkl@luxoft.com>
* Show an FPS overlay on any application windowDaniel d'Andrada2018-03-3016-28/+234
| | | | | Change-Id: Ic536b9a732e8072234e4c4f1751853c5f416f222 Reviewed-by: Lukáš Tinkl <ltinkl@luxoft.com>
* [sysui] Fix QML warnings in the slider styleAnatoly Kozlov2018-03-301-2/+4
| | | | | | | | - Fix a QML warning of using the image of the handle when it's not loaded Change-Id: I3bdbd8eb0d95fd9bc300bf4f1208c7433ee461de Reviewed-by: Bramastyo Harimukti Santoso <bramastyo.harimukti.santoso@pelagicore.com> Reviewed-by: Lukáš Tinkl <ltinkl@luxoft.com>
* [sysui] Use NeptuneStyle.dp() instead of Style.*span() in The LauncherAnatoly Kozlov2018-03-303-25/+26
| | | | | | Change-Id: Ibbd109d54c0b50e30daeeb0db9a67d42e589743c Reviewed-by: Bramastyo Harimukti Santoso <bramastyo.harimukti.santoso@pelagicore.com> Reviewed-by: Lukáš Tinkl <ltinkl@luxoft.com>
* [sysui] Set the initial scale value of client windowsDaniel d'Andrada2018-03-301-4/+11
| | | | | Change-Id: I9e01e734bc067d003acccea9bccb172dfc2b5f7c Reviewed-by: Lukáš Tinkl <ltinkl@luxoft.com>
* [sysui] IntentsInterface - Small update in documentationAlexandra Betouni2018-03-291-2/+2
| | | | | | Change-Id: I1accd047610bc0c8d56dd68c64f159755a07141b Reviewed-by: Daniel d'Andrada <daniel.dandrada@luxoft.com> Reviewed-by: Bramastyo Harimukti Santoso <bramastyo.harimukti.santoso@pelagicore.com>
* [vehicle functions] Remove a custom sliderAnatoly Kozlov2018-03-292-95/+2
| | | | | | | | - In order to use standard components RoofSlider has been replaced with Slider Change-Id: I46540e6bc202b63e55445d11273ad206ea6b2428 Reviewed-by: Daniel d'Andrada <daniel.dandrada@luxoft.com>
* [calendar] Replace deprecated Style.*span() with NeptuneStyle.dp()Anatoly Kozlov2018-03-298-60/+62
| | | | | | | | | - Replace the deprecated Style.*span() functions with the new NeptuneStyle.dp() in The Calendar application Task-number: AUTOSUITE-244 Change-Id: I965bf139ae4868de9af69e570bfad73ba453bedc Reviewed-by: Daniel d'Andrada <daniel.dandrada@luxoft.com>
* [maps] fix scalability issuesLukáš Tinkl2018-03-2912-83/+102
| | | | | | Task-number: AUTOSUITE-245 Change-Id: Iec04893e49627fe2d91a7724729a898adc522742 Reviewed-by: Daniel d'Andrada <daniel.dandrada@luxoft.com>
* [calendar] Fix warnings in the calendar widgetAnatoly Kozlov2018-03-281-4/+4
| | | | | | | | | | - Weather related properties in The Calendar app have default values to avoid warnings before weather data is generated. Task-number: AUTOSUITE-247 Change-Id: I9f124a73d7cafbf4a0ebc76aab6be54e3f3cbc94 Reviewed-by: Daniel d'Andrada <daniel.dandrada@luxoft.com> Reviewed-by: Bramastyo Harimukti Santoso <bramastyo.harimukti.santoso@pelagicore.com>
* [sysui] Adding Intents interfaceAlexandra Betouni2018-03-284-1/+144
| | | | | | | | | | | | An Intent is an object which is used to request an application or any other UI element (eg. a popup) to just open or open in a certain state from wherever in the system. Adding interface to later on implement pending use cases. Task-number: QTAUTO-935 Change-Id: I509f304ddaf9f69296842fbeae22c6b8525971db Reviewed-by: Daniel d'Andrada <daniel.dandrada@luxoft.com>
* [maps] add a "show my location" buttonLukáš Tinkl2018-03-283-0/+25
| | | | | | Task-number: QTAUTO-960 Change-Id: Ic90daf1382788e7b7521662c7fa5f17fbce5b22b Reviewed-by: Bramastyo Harimukti Santoso <bramastyo.harimukti.santoso@pelagicore.com>
* [sysui] Fix scaling for the exposed rectangleAnatoly Kozlov2018-03-282-2/+2
| | | | | | Task-number: AUTOSUITE-253 Change-Id: Ic6643422bbef0d6d4fb3890f70d2db596d3b6e00 Reviewed-by: Daniel d'Andrada <daniel.dandrada@luxoft.com>
* [sysui] Performance overlayDaniel d'Andrada2018-03-2723-36/+847
| | | | | | | | Add switches in the About dialog to enable performance overlays in the center console and instrument cluster windows. Change-Id: I9a1b35585028b2c9f1ee8bdd71b8ef38f58a1bd9 Reviewed-by: Lukáš Tinkl <ltinkl@luxoft.com>
* [controls] Exposing clicked signal for ToolsColumnAlexandra Betouni2018-03-271-0/+2
| | | | | | | | | | | | | | | * In intents use case onCurrentTextChanged cannot be used as if for instance if radio is pressed to be opened from within music app, when going back to music app, the radio text will still be the tools column currentText and thus if the user presses it again nothing will happen until the currentText changes again. An onClicked signal needs to be used in this case. Change-Id: I693bd0c3058705b64765afeb1597d5d247152dfc Reviewed-by: Daniel d'Andrada <daniel.dandrada@luxoft.com> Reviewed-by: Bramastyo Harimukti Santoso <bramastyo.harimukti.santoso@pelagicore.com>
* [mapapp] Refactor the application to use the new architectureBramastyo Harimukti2018-03-2724-233/+704
| | | | | | Task-number: QTAUTO-883 Change-Id: I350d66179e6fe1281f075c91d4548af02f38a177 Reviewed-by: Lukáš Tinkl <ltinkl@luxoft.com>
* [sysui] Move the modal overlay into its own componentDaniel d'Andrada2018-03-263-43/+84
| | | | | | | | | And remove the unnecessary background Image while at it. This was needed in the past by looks like it's no longer the case as Display has this background image internally. Change-Id: I911e97cbbdec86910b5c8b9cb9d7a42efa10db75 Reviewed-by: Lukáš Tinkl <ltinkl@luxoft.com>
* [sysui] Add missing import in ApplicationFrameDaniel d'Andrada2018-03-261-0/+1
| | | | | | | Otherwise NeptuneStyle won't be found Change-Id: I92e2a355593b57882e649254fd713dfc3ad088cc Reviewed-by: Lukáš Tinkl <ltinkl@luxoft.com>
* [phone] scalability fixesLukáš Tinkl2018-03-269-61/+63
| | | | | | | | | ports the hardcoded pixel values and Style.hspan/vspan to NeptuneStyle.dp() method Task-number: AUTOSUITE-248 Change-Id: Ibe84a51d1db38264292a09c83faea26f66baedbb Reviewed-by: Daniel d'Andrada <daniel.dandrada@luxoft.com>
* [sysui] Don't redraw the blurred popup background unnecessarilyDaniel d'Andrada2018-03-261-1/+9
| | | | | | | | Redrawing the blurred background is expensive and if done while the popup is animating the slow down will be quite noticeable. Change-Id: Ibc43d4b1d187e7e0edf83e4a338361d2fbdd082a Reviewed-by: Lukáš Tinkl <ltinkl@luxoft.com>
* [sysui] Refactor NeptunePopup animationsDaniel d'Andrada2018-03-262-28/+21
| | | | | | | | | Get rid of openLeft() and redundant or repeated animation code. Also replaced the affected Style.*span() code with the NeptuneStyle.dp() equivalent. Change-Id: Id4e085e795d4fa5e06d790000b225a81111af014 Reviewed-by: Lukáš Tinkl <ltinkl@luxoft.com>
* [style] Make TabBar support any pixel densityDaniel d'Andrada2018-03-262-3/+5
| | | | | Change-Id: Iaa0437eee97bd5130338186523cd1753b742482b Reviewed-by: Lukáš Tinkl <ltinkl@luxoft.com>
* [style] Make Switch support any pixel densityDaniel d'Andrada2018-03-231-9/+9
| | | | | Change-Id: I1225eb054e7c3243946cd3553baf3248f4d0b018 Reviewed-by: Lukáš Tinkl <ltinkl@luxoft.com>
* [controls] Specify an implicit size for ScalableBorderImageDaniel d'Andrada2018-03-231-0/+3
| | | | | | | | Otherwise it would shrivel if you didn't specify both width and height when using it. Change-Id: If1d54a0d412a084540a5244f71b717ef01af212b Reviewed-by: Lukáš Tinkl <ltinkl@luxoft.com>
* [Instrument Cluster] Add support NeptuneStyle.accentColorAnatoly Kozlov2018-03-232-3/+3
| | | | | | | | | - The Instrument Cluster supports NeptuneStyle.accentColor Task-number: AUTOSUITE-240 Change-Id: Ice1308038cceafafcc355df5543424ae4b6c42e0 Reviewed-by: Lukáš Tinkl <ltinkl@luxoft.com> Reviewed-by: Daniel d'Andrada <daniel.dandrada@luxoft.com>
* [neptunestyle] fix rounding errors/warnings reported by clangLukáš Tinkl2018-03-231-16/+16
| | | | | Change-Id: I7122c9951b63fc765eb25bbfbac99a19eb5231fc Reviewed-by: Daniel d'Andrada <daniel.dandrada@luxoft.com>
* [sysui] Enlarge touch areas of home and app grid buttonsDaniel d'Andrada2018-03-231-4/+4
| | | | | | | They were way too small Change-Id: I675faee14cff814e13959a4a575f05ab59eed745 Reviewed-by: Lukáš Tinkl <ltinkl@luxoft.com>
* [vehicle] Move from ADS materials to PBRNikita Krupitskas2018-03-238-71/+373
| | | | | Change-Id: I065f37abcdb2bc50ef5a7128f5984f85a3f2a62d Reviewed-by: Daniel d'Andrada <daniel.dandrada@luxoft.com>
* [sysui] Add a new Slider styleAnatoly Kozlov2018-03-226-23/+166
| | | | | | | | | - Add a new slider style - Add examples in The Sheet app Task-number: QTAUTO-926 Change-Id: I544cb8ce8068ee83823dcfb64814a767ba70852f Reviewed-by: Daniel d'Andrada <daniel.dandrada@luxoft.com>
* [sysui] NeptuneStyle.dp() instead of multiplying by NeptuneStyle.scaleDaniel d'Andrada2018-03-2217-115/+147
| | | | | | | | | The function leads to better readable code, is easier to use and also comes with rounding to nearest integer to avoid aliasing artifacts Change-Id: Id2fb46cd5125bbb98178a17a5d557a0b1cea1fb1 Reviewed-by: Bramastyo Harimukti Santoso <bramastyo.harimukti.santoso@pelagicore.com> Reviewed-by: Lukáš Tinkl <ltinkl@luxoft.com>
* [sysui] Pass NeptuneStyle.scale down to application windowsDaniel d'Andrada2018-03-217-10/+49
| | | | | Change-Id: I7a2d49a48e51f83080902bfb035179cd40fb8409 Reviewed-by: Bramastyo Harimukti Santoso <bramastyo.harimukti.santoso@pelagicore.com>
* [style] Remove unsupported window size configuration optionsDaniel d'Andrada2018-03-218-87/+2
| | | | | | | | | Our center console UI has a fixed 9/16 aspect ratio with a target resolution of 1080x1920, although any other resolution is supported (but through scaling assets) Change-Id: I0475b8eed3da6426a192854ab74c4865b48ec6ce Reviewed-by: Lukáš Tinkl <ltinkl@luxoft.com>
* [maps] fix header and its erratic movementLukáš Tinkl2018-03-213-12/+3
| | | | | | | | | | | | - the header background now correctly spans the whole thing - the search button is moved to the left a bit, in order not to covert the "expand" button in the widget topright corner - animations synched and cooled down to prevent motion sickness ;) (esp. with 3D mode on) Task-number: QTAUTO-925 Change-Id: Ie7ce83bc1a0aeb4174209671cc0347753d09d8af Reviewed-by: Daniel d'Andrada <daniel.dandrada@luxoft.com>
* [sysui] fix the popup close button hit areaLukáš Tinkl2018-03-211-8/+7
| | | | | | | regression from porting to proper scaling Change-Id: If4a6ef4b31870681c555435c2496d9ec36539e59 Reviewed-by: Daniel d'Andrada <daniel.dandrada@luxoft.com>
* [phoneapp] Remove voicemail and message from ToolsColumnBramastyo Harimukti2018-03-218-82/+0
| | | | | | | According to designer, voicemail and message is not needed. Change-Id: If63ef78f20fad99a66693084be5de024d178c6b6 Reviewed-by: Lukáš Tinkl <ltinkl@luxoft.com>
* [phoneapp] Fixed warning for undefined callTimerAlexandra Betouni2018-03-212-1/+2
| | | | | | Change-Id: Ia5d39e9b3402ae35c39110cb7aae1c14122735f7 Reviewed-by: Daniel d'Andrada <daniel.dandrada@luxoft.com> Reviewed-by: Bramastyo Harimukti Santoso <bramastyo.harimukti.santoso@pelagicore.com>
* [sysui] Make home UI support any pixel densityDaniel d'Andrada2018-03-212-21/+30
| | | | | Change-Id: Ic135496490638eb4d082fb0fad921ab3bebda85c Reviewed-by: Lukáš Tinkl <ltinkl@luxoft.com>