summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Forward-port the improvement in passphrase error handlingVille Voutilainen2018-03-285-0/+25
| | | | | | Task-number: QTBUG-66280 Change-Id: I1c26e19907be99119bf9409c7269471c15b57bf8 Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* Use connman with bluetooth only if networksettings are availableSami Nurmenniemi2017-12-193-3/+21
| | | | | | | Task-number: QTBUG-64693 Change-Id: Id2ce5342a0749d123a499c6c519d5ae2e6c3cae9 Reviewed-by: Sami Nurmenniemi <sami.nurmenniemi@qt.io> Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* Merge remote-tracking branch 'origin/5.10' into devMikko Gronoff2017-12-1964-103/+392
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * origin/5.10: Merge remote-tracking branch 'origin/5.9' into 5.10 Fix compilation with namespaces Import only available modules Update license headers Verify that Qtdbus module is available tests: add tests.pro for CI Doc: Bump version to 5.9.3 Conflicts: src/bluetoothsettings/discoverymodel.cpp src/localesettings/localefiltermodel.cpp src/localesettings/localemodel.cpp src/timedatesettings/timezonefiltermodel.cpp Change-Id: Iabf7f372c634abea2734c97d748b3e836394ddb1
| * Fix compilation with namespacesSami Nurmenniemi2017-11-2454-25/+232
| | | | | | | | | | | | | | Task-number: QTBUG-64693 Change-Id: I35487b54271f031077c0f96a90eb47f0683caa77 Reviewed-by: Samuli Piippo <samuli.piippo@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
| * Import only available modulesSami Nurmenniemi2017-11-241-5/+6
| | | | | | | | | | | | | | Task-number: QTBUG-64693 Change-Id: I7b86e45f748ddb267c70ffa81948ccaeedb64b7f Reviewed-by: Samuli Piippo <samuli.piippo@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
| * Update license headersSami Nurmenniemi2017-11-248-68/+145
| | | | | | | | | | | | | | | | | | | | Documentation files now use qtbase/header.FDL and scripts qtbase/header.GPL licenses. Task-number: QTBUG-64693 Change-Id: I2c0f6fe8ece7434f9dc68c1a185532ae6eb023fa Reviewed-by: Samuli Piippo <samuli.piippo@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
| * Verify that Qtdbus module is availableSamuli Piippo2017-11-241-4/+7
| | | | | | | | | | | | | | Task-number: QTBUG-64693 Change-Id: I7660016274bf177c2be4c119cd17d3ccf2352167 Reviewed-by: Sami Nurmenniemi <sami.nurmenniemi@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* | Don't start scanning if interface is not poweredSami Nurmenniemi2017-11-221-1/+4
| | | | | | | | | | | | | | | | | | This fixes "no carrier" prints when opening settings menu Task-number: QTBUG-64230 Change-Id: Ic01b50cfa5d337a66d064babca9e2aa4e9f87a00 Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* | Fix bluetooth settingsSami Nurmenniemi2017-11-224-8/+31
| | | | | | | | | | | | | | | | | | | | | | | | - Hide "Scanning" text if bluetooth is powered off during scanning - Don't create duplicate entries of devices when scanning again - List devices in alphabetically sorted order - Don't initiate new scan if it's already going on Task-number: QTBUG-60084 Change-Id: I009d66694e3bcfe7419a5f5e01bfd253d7aa4cc8 Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* | Fix errors from region select viewSami Nurmenniemi2017-11-221-7/+3
| | | | | | | | | | | | | | Task-number: QTBUG-60082 Change-Id: If943bc6dcc2a095b32a77dfca3f1d6166219008c Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* | Fix manual date & time settingSami Nurmenniemi2017-11-222-35/+36
| | | | | | | | | | | | | | | | | | | | | | - Set button now returns back to general date & time settings - Manual date initial values are taken from current date - Cleaned up error prints Task-number: QTBUG-60082 Change-Id: I2787c41378a1534cf96a4ef60910a3fc2a45c24e Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* | More user friendly handling of WiFi passphraseSami Nurmenniemi2017-11-225-62/+108
| | | | | | | | | | | | | | Task-number: QTBUG-64230 Change-Id: I9de0f5668b419e322a3b0466f2e30a6f957e617e Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* | Fix cancel button on WiFi passphrase screenSami Nurmenniemi2017-11-223-99/+55
| | | | | | | | | | | | | | Task-number: QTBUG-64230 Change-Id: I3859293f2d9422be9a253143544470f39be937ea Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* | Bluetooth on/off switch now enables/disables bluetooth deviceSami Nurmenniemi2017-11-226-2/+16
| | | | | | | | | | | | | | Task-number: QTBUG-64230 Change-Id: I151933f74f459f245822a5986b009d686ce6fdfd Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* | Add Wi-Fi enable button to network settingsSami Nurmenniemi2017-11-229-12/+126
| | | | | | | | | | | | | | Task-number: QTBUG-64230 Change-Id: I2aad07fb98a45997b116fc9a06924ba8be3dff2a Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* | Fix random crashes due to missing importSami Nurmenniemi2017-11-221-0/+1
| | | | | | | | | | | | | | Task-number: QTBUG-63091 Change-Id: Ic85db742b782e66bae843e5f039c82d46e6aca24 Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* | Move theme color definitions to one placeSami Nurmenniemi2017-11-2212-41/+41
| | | | | | | | | | | | | | Task-number: QTBUG-60084 Change-Id: Ie80c9ebc26bd7925c7f0f67404878818675c0f06 Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* | Unify primary button appearanceSami Nurmenniemi2017-11-2210-18/+0
| | | | | | | | | | | | | | Task-number: QTBUG-60083 Change-Id: Ic432b63d5321a11ae6dbb15e99d159a62eab2eb7 Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* | Fix border image drawing for corner cut buttonsSami Nurmenniemi2017-11-222-12/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Three corrections: - Previously border was drawn along the border of the rectangle. This caused half of the pen to remain outside of the rectangle and border looked strange. - The default border width should be 2 - Pressed button should show darker screen borders Task-number: QTBUG-60083 Change-Id: I1677a252bd3fd14b69389bfa568787a1e8c15676 Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* | Prevent bluetooth crashes for devices without bluetooth service in dbusSami Nurmenniemi2017-11-222-0/+4
| | | | | | | | | | | | | | Task-number: QTBUG-63091 Change-Id: I2428e411c593783cb6142df46b863a00648b7bed Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* | Disable usage of LocaleManager.localeSami Nurmenniemi2017-11-223-12/+6
| | | | | | | | | | | | | | | | | | | | It uses dbus for querying from a service that might not exist. If that is the case, ui hangs for 20s. See QTBUG-63598. Task-number: QTBUG-63091 Change-Id: I4b8a8355d7e4fcbd943e87277ffea412510f3926 Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* | Fix locale settings uiSami Nurmenniemi2017-11-223-83/+36
| | | | | | | | | | | | | | Task-number: QTBUG-63091 Change-Id: I6847d4e6e29c712ae3051924fd8c3f1364675fe8 Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* | Fix CustomComboBoxSami Nurmenniemi2017-11-223-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | It's not possible to calculate popup height from the ComboBox y coordinate, it does not work with columns and rows. Height must be set by the user of the component who can calculate it correctly. Added itemsVisible property for quick height selection. Task-number: QTBUG-63091 Change-Id: I3f1a86545b7df58f453b98ce2e1f3a7bce9cc732 Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* | Fix date & time setting screensSami Nurmenniemi2017-11-224-383/+269
| | | | | | | | | | | | | | Task-number: QTBUG-63091 Change-Id: Id2dbd54f74bcf7fed0577e7ad3dadce1e2748f78 Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* | Unify fonts and layouts between settings pagesSami Nurmenniemi2017-11-223-10/+29
| | | | | | | | | | | | | | Task-number: QTBUG-63091 Change-Id: I2d4741f1d0ff23cb26a2cce7593c4fc7f5f8ec16 Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* | Improve network settingsSami Nurmenniemi2017-11-222-31/+12
| | | | | | | | | | | | | | | | | | | | Remove dynamically opening details, they don't work with several "Wired" networks. Task-number: QTBUG-63091 Change-Id: I740c7ef3ef3c367892a4534ff3bb4cb05c06f29a Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* | Fix power menu button widthsSami Nurmenniemi2017-11-221-2/+2
| | | | | | | | | | | | | | Task-number: QTBUG-63091 Change-Id: I2b6fc64b625e46a8a4c7cd4a194ddc087428ccee Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* | Fix display settings layoutSami Nurmenniemi2017-11-222-75/+70
| | | | | | | | | | | | | | Task-number: QTBUG-63091 Change-Id: I7dcde1e2ac0e20edddf54c8a7f3d7cd049ead39b Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* | Move QtButtonImageProvider from QtLauncherDemo to QtDeviceUtilitiesSami Nurmenniemi2017-11-2219-12/+261
| | | | | | | | | | | | | | Task-number: QTBUG-63091 Change-Id: I54211671174bc04cb07302e0b6001dca2f29d5d4 Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* | Settings-plugin updateLasse Räihä2017-11-2214-554/+608
| | | | | | | | | | | | | | Task-number: QTBUG-63091 Change-Id: I116e768704f61c54d393ff00416ef03cc1885c0b Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* | Update API and settings UIJuho Annunen2017-11-2256-559/+2293
|/ | | | | | | | | Implemented new UI design for Settings and minor changes to API Task-number: QTBUG-63091 Change-Id: Id72e20b53bc33ca0a3068d1e9b664fc5836a1cda Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* Add a wifi exampleVille Voutilainen2017-09-074-2/+109
| | | | | | | | | | | | | | The WiFi tutorial linked to NetworkSettings module and NetworkSettingsManager QML type. Added a section Tutorial and Example Code to a module reference page. It contains a link to WiFi tutorial and provides the Settings UI Git repository as an additional example code for Qt Device Utilities. Task-number: QTBUG-56694 Change-Id: Ib6c6a446fd36530525d521e5d568ec154d58a63d Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* Introduce a placeholder for removed wired networksVille Voutilainen2017-08-049-1/+85
| | | | | | | | | | | Disable entering the wired network settings when none have been seen. When a wired network is cable-disconnected, leave a placeholder for it. When a new wired network is cable-connected, replace the placeholder with that. Task-number: QTBUG-60979 Change-Id: I8eeb20d25d765c7bb104ad2e698e4d0686c8dc2d Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* Display the current IP address for a wifi connectionVille Voutilainen2017-07-051-7/+14
| | | | | | | Task-number: QTBUG-60979 Change-Id: I0057aa65c4787c9eb59da67cb36590faf7aa33fe Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io>
* Set the method indexes for the comboboxes at a more suitable timeVille Voutilainen2017-07-041-3/+6
| | | | | | | | | | Setting the indexes in Component.onCompleted seems to happen too early. The service doesn't seem to be ready at that point. Hooking to the onServiceChanged signal and setting the indexes there works better. Task-number: QTBUG-60979 Change-Id: Idda882222662415367cd92122e7ed983e1bd9c4b Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Allow editing ipv4 settings in manual mode directly after savingVille Voutilainen2017-07-041-44/+55
| | | | | | | Task-number: QTBUG-60979 Change-Id: I9f2c2eddc50cfae2130dea4ec51360312ea343e5 Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Use both IPv4.Configuration and IPv4 for reading connman settingsVille Voutilainen2017-06-291-3/+12
| | | | | | Task-number: QTBUG-60979 Change-Id: Iac5659897391f2517704a8347c7ef8a77a6000e7 Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* Doc: Bump version to 5.9.1Topi Reinio2017-06-202-7/+8
| | | | | | | | | | | | | | | | Do this by making the main module version in .qmake.conf follow the corresponding Qt for Device Creation versioning. This allows $QT_VERSION et al. to be used in the doc configuration. Make the full version visible in documentation, to help distinguish between installed documentation sets with identical major/minor versions but different patch version. After this change, simply updating .qmake.conf is sufficient for subsequent version increments. Change-Id: Ib0a1ecb5a44d9f2530fa2df3b8daf7b3e541f884 Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* Set a default netmask and gateway if the user didn't provide themVille Voutilainen2017-06-142-2/+19
| | | | | | Task-number: QTBUG-60979 Change-Id: Icf0d23b080d7769c601b1835b182421dfb588638 Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* Remove qt config option from settingsuipluginMichael Winkelmann2017-06-021-1/+1
| | | | | | | | | Enabling the qt config option in this sub-project causes the QtQuickCompiler to fail on missing includes, since its required flags for Qt private includes are dropped. Change-Id: I8e673bcf1a01b65d64c78b01fa46ab4174b4d77a Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* Doc: Bump version to 5.9.0Mikko Gronoff2017-05-031-2/+2
| | | | | | Change-Id: I3cb1d82db78155fcf5d53d198bb212bb52a90823 Reviewed-by: Tarja Sundqvist <tarja.sundqvist@qt.io> Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* Fix issue when no Bluetooth device is availableTeemu Holappa2017-05-039-161/+302
| | | | | | | | | | Added async scan of the bluetooth adapter. Done some cleanup to the public class. Task-number: QTBUG-57676 Change-Id: Ia845f2f8c18fb8272160167482e5124c0b43fee7 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io> Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* Don't give connman user name as a network nameKari Oikarinen2017-04-109-50/+19
| | | | | | | | | | Don't give the network name as all, since it is not required for visible networks. Also adjust the API to remove the user name parameter that was never used (correctly). Task-number: QTBUG-57249 Change-Id: I0eb75db6eebcaa05661a9404b728ab8af831cf1d Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* Fix bad annotations of D-Bus signal argumentsKari Oikarinen2017-04-051-3/+3
| | | | | | | | The arguments are out arguments, not in arguments, so the previous annotations did not match. Change-Id: I2b96fba03a73391c139503c07a27357866b5798f Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* Remove duplicate D-Bus annotationKari Oikarinen2017-04-051-1/+0
| | | | | Change-Id: Idec7afe54ad9f1dc4877493c6bfaa17d88457a04 Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* Add plugins.qmltypes files to the QML pluginsKari Oikarinen2017-03-3011-55/+1050
| | | | | | Task-number: QTBUG-56864 Change-Id: Id618fca5c4c40e2d1d37a0a3dc45efe33b195dc5 Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* Use qml_plugin.prf for the QML pluginsKari Oikarinen2017-03-306-81/+23
| | | | | | | | That feature takes care of installing qmldir (and plugins.qmltypes if it exists) so the plugins doing it themselves is not necessary anymore. Change-Id: Ie157b153c90db8801a245df1bf0ff00df63b255d Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* Remove dead .pro fileKari Oikarinen2017-03-291-42/+0
| | | | | | | | It hasn't been used since f1d884b6dad5a93d7a3077b6b05d3ec7fcd9a6ea when the plugins were moved to be separate. Change-Id: I31bb55ac8c49b6a9ccfd42f9f4acab30a12feb7e Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* Fix qmake warningsJesus Fernandez2017-01-3133-8/+253
| | | | | | | Removes some "We mean it" and "QT_BEGIN_NAMESPACE" warnings. Change-Id: Ia00b00e4e064814a1cb0dd2ca85a4bd888d58d26 Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* Doc: Bump version to 5.8.0Mikko Gronoff2017-01-191-2/+2
| | | | | Change-Id: I7f29e0c11499833404d940a0d8faf11f4713aae9 Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>